Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class ProviderOAuthConfig.
ProviderOAuthConfig is the OAuth config for a provider.
Generated from protobuf message google.cloud.developerconnect.v1.ProviderOAuthConfig
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ system_provider_id |
int
Immutable. Developer Connect provided OAuth. |
↳ scopes |
array
Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again. |
getSystemProviderId
Immutable. Developer Connect provided OAuth.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type SystemProvider. |
hasSystemProviderId
setSystemProviderId
Immutable. Developer Connect provided OAuth.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type SystemProvider. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getScopes
Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setScopes
Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOauthProviderId
| Returns | |
|---|---|
| Type | Description |
string |
|