public sealed class OidcToken : IMessage<PushConfig.Types.OidcToken>, IEquatable<PushConfig.Types.OidcToken>, IDeepCloneable<PushConfig.Types.OidcToken>, IBufferMessage, IMessage
Contains information needed for generating an OpenID Connect token.
Inheritance
System.Object > PushConfig.Types.OidcTokenImplements
Google.Protobuf.IMessage<PushConfig.Types.OidcToken>, System.IEquatable<PushConfig.Types.OidcToken>, Google.Protobuf.IDeepCloneable<PushConfig.Types.OidcToken>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
OidcToken()
public OidcToken()
OidcToken(PushConfig.Types.OidcToken)
public OidcToken(PushConfig.Types.OidcToken other)
Parameter | |
---|---|
Name | Description |
other | PushConfig.Types.OidcToken |
Properties
Audience
public string Audience { get; set; }
Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.
Property Value | |
---|---|
Type | Description |
System.String |
ServiceAccountEmail
public string ServiceAccountEmail { get; set; }
Service account email to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.
Property Value | |
---|---|
Type | Description |
System.String |