API hub v1 API - Class AuthConfig.Types.Oauth2ClientCredentialsConfig (1.1.0)

public sealed class AuthConfig.Types.Oauth2ClientCredentialsConfig : IMessage<AuthConfig.Types.Oauth2ClientCredentialsConfig>, IEquatable<AuthConfig.Types.Oauth2ClientCredentialsConfig>, IDeepCloneable<AuthConfig.Types.Oauth2ClientCredentialsConfig>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > AuthConfig.Types.Oauth2ClientCredentialsConfig

Namespace

Google.Cloud.ApiHub.V1

Assembly

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