public class ProgrammaticExternalAccountCredential.Initializer : ExternalAccountCredential.InitializerInitializer for ProgrammaticExternalAccountCredential.
Inheritance
object > ServiceCredentialInitializer > ExternalAccountCredentialInitializer > ProgrammaticExternalAccountCredential.InitializerNamespace
Google.Apis.Auth.OAuth2Assembly
Google.Apis.Auth.dll
Constructors
Initializer(ProgrammaticExternalAccountCredential)
public Initializer(ProgrammaticExternalAccountCredential credential)Builds and initializer for ProgrammaticExternalAccountCredential from the given credential.
| Parameter | |
|---|---|
| Name | Description |
credential |
ProgrammaticExternalAccountCredential |
Initializer(Initializer)
public Initializer(ProgrammaticExternalAccountCredential.Initializer other)Builds and initializer for ProgrammaticExternalAccountCredential from the given initializer.
| Parameter | |
|---|---|
| Name | Description |
other |
ProgrammaticExternalAccountCredentialInitializer |
Initializer(string, string, string, ISubjectTokenProvider)
public Initializer(string tokenUrl, string audience, string subjectTokenType, ProgrammaticExternalAccountCredential.ISubjectTokenProvider subjectTokenProvider)Builds an initializer for ProgrammaticExternalAccountCredential.
| Parameters | |
|---|---|
| Name | Description |
tokenUrl |
stringThe STS token exchange endpoint. Must not be null or empty. |
audience |
stringThe 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. |
subjectTokenType |
stringThe STS subject token type based on the OAuth 2.0 token exchange specification. Must not be null or empty. |
subjectTokenProvider |
ProgrammaticExternalAccountCredentialISubjectTokenProviderThe provider of the third-party token that's included on the STS token exchange request. Must not be null. |
Properties
SubjectTokenProvider
public ProgrammaticExternalAccountCredential.ISubjectTokenProvider SubjectTokenProvider { get; }The provider of the third-party token that's included on the STS token exchange request. Will not be null.
| Property Value | |
|---|---|
| Type | Description |
ProgrammaticExternalAccountCredentialISubjectTokenProvider |
|