public sealed class AuthConfig.Types.Oauth2ClientCredentialsConfig : IMessage<AuthConfig.Types.Oauth2ClientCredentialsConfig>, IEquatable<AuthConfig.Types.Oauth2ClientCredentialsConfig>, IDeepCloneable<AuthConfig.Types.Oauth2ClientCredentialsConfig>, IBufferMessage, IMessageReference documentation and code samples for the API hub v1 API class AuthConfig.Types.Oauth2ClientCredentialsConfig.
Parameters to support Oauth 2.0 client credentials grant authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
Implements
IMessageAuthConfigTypesOauth2ClientCredentialsConfig, IEquatableAuthConfigTypesOauth2ClientCredentialsConfig, IDeepCloneableAuthConfigTypesOauth2ClientCredentialsConfig, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
Oauth2ClientCredentialsConfig()
public Oauth2ClientCredentialsConfig()Oauth2ClientCredentialsConfig(Oauth2ClientCredentialsConfig)
public Oauth2ClientCredentialsConfig(AuthConfig.Types.Oauth2ClientCredentialsConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
AuthConfigTypesOauth2ClientCredentialsConfig |
Properties
ClientId
public string ClientId { get; set; }Required. The client identifier.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ClientSecret
public Secret ClientSecret { get; set; }Required. Secret version reference containing the client secret.
The secretmanager.versions.access permission should be
granted to the service account accessing the secret.
| Property Value | |
|---|---|
| Type | Description |
Secret |
|