OidcToken class
Contains information needed for generating an OpenID Connect token. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
Constructors
-
OidcToken({Input<
String> ? audience, Input<String> ? serviceAccountEmail}) -
Creates a new OidcToken.
audienceAudience to be used when generating OIDC token. If not specified, the URI specified in target will be used. serviceAccountEmail Service account email to be used for generating OIDC token. The service account must be within the same project as the job. The caller must have iam.serviceAccounts.actAs permission for the service account.const -
OidcToken.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
audience
→ Input<
String> ? -
Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceAccountEmail
→ Input<
String> ? -
Service account email to be used for generating OIDC token. The service account must be within the same project as the job. The caller must have iam.serviceAccounts.actAs permission for the service account.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited