Show / Hide Table of Contents

Class GenerateIdTokenRequest

Inheritance
object
GenerateIdTokenRequest
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.IAMCredentials.v1.Data
Assembly: Google.Apis.IAMCredentials.v1.dll
Syntax
public class GenerateIdTokenRequest : IDirectResponseSchema

Properties

Audience

Required. The audience for the token, such as the API or account that this token grants access to.

Declaration
[JsonProperty("audience")]
public virtual string Audience { get; set; }
Property Value
Type Description
string

Delegates

The sequence of service accounts in a delegation chain. Each service account must be granted the roles/iam.serviceAccountTokenCreator role on its next service account in the chain. The last service account in the chain must be granted the roles/iam.serviceAccountTokenCreator role on the service account that is specified in the name field of the request. The delegates must have the following format: projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}. The - wildcard character is required; replacing it with a project ID is invalid.

Declaration
[JsonProperty("delegates")]
public virtual IList<string> Delegates { get; set; }
Property Value
Type Description
IList<string>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

IncludeEmail

Include the service account email in the token. If set to true, the token will contain email and email_verified claims.

Declaration
[JsonProperty("includeEmail")]
public virtual bool? IncludeEmail { get; set; }
Property Value
Type Description
bool?

OrganizationNumberIncluded

Include the organization number of the service account in the token. If set to true, the token will contain a google.organization_number claim. The value of the claim will be null if the service account isn't associated with an organization.

Declaration
[JsonProperty("organizationNumberIncluded")]
public virtual bool? OrganizationNumberIncluded { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX