Show / Hide Table of Contents

Class ProgrammaticExternalAccountCredential.Initializer

Initializer for ProgrammaticExternalAccountCredential.

Inheritance
object
ServiceCredential.Initializer
ExternalAccountCredential.Initializer
ProgrammaticExternalAccountCredential.Initializer
Inherited Members
ExternalAccountCredential.Initializer.Audience
ExternalAccountCredential.Initializer.SubjectTokenType
ExternalAccountCredential.Initializer.ServiceAccountImpersonationUrl
ExternalAccountCredential.Initializer.WorkforcePoolUserProject
ExternalAccountCredential.Initializer.ClientId
ExternalAccountCredential.Initializer.ClientSecret
ExternalAccountCredential.Initializer.UniverseDomain
ServiceCredential.Initializer.TokenServerUrl
ServiceCredential.Initializer.Clock
ServiceCredential.Initializer.AccessMethod
ServiceCredential.Initializer.HttpClientFactory
ServiceCredential.Initializer.DefaultExponentialBackOffPolicy
ServiceCredential.Initializer.QuotaProject
ServiceCredential.Initializer.Scopes
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Auth.OAuth2
Assembly: Google.Apis.Auth.dll
Syntax
public class ProgrammaticExternalAccountCredential.Initializer : ExternalAccountCredential.Initializer

Constructors

Initializer(ProgrammaticExternalAccountCredential)

Builds and initializer for ProgrammaticExternalAccountCredential from the given credential.

Declaration
public Initializer(ProgrammaticExternalAccountCredential credential)
Parameters
Type Name Description
ProgrammaticExternalAccountCredential credential

Initializer(Initializer)

Builds and initializer for ProgrammaticExternalAccountCredential from the given initializer.

Declaration
public Initializer(ProgrammaticExternalAccountCredential.Initializer other)
Parameters
Type Name Description
ProgrammaticExternalAccountCredential.Initializer other

Initializer(string, string, string, ISubjectTokenProvider)

Builds an initializer for ProgrammaticExternalAccountCredential.

Declaration
public Initializer(string tokenUrl, string audience, string subjectTokenType, ProgrammaticExternalAccountCredential.ISubjectTokenProvider subjectTokenProvider)
Parameters
Type Name Description
string tokenUrl

The STS token exchange endpoint. Must not be null or empty.

string audience

The STS audience which contains the resource name for the workload identity pool and the provider identifier in that pool. Must not be null or empty.

string subjectTokenType

The STS subject token type based on the OAuth 2.0 token exchange specification. Must not be null or empty.

ProgrammaticExternalAccountCredential.ISubjectTokenProvider subjectTokenProvider

The provider of the third-party token that's included on the STS token exchange request. Must not be null.

Properties

SubjectTokenProvider

The provider of the third-party token that's included on the STS token exchange request. Will not be null.

Declaration
public ProgrammaticExternalAccountCredential.ISubjectTokenProvider SubjectTokenProvider { get; }
Property Value
Type Description
ProgrammaticExternalAccountCredential.ISubjectTokenProvider
In this article
Back to top Generated by DocFX