OidcToken
import type { OidcToken } from "https://googleapis.deno.dev/v1/pubsub:v1.ts";
Contains information needed for generating an OpenID Connect token.
interface OidcToken {
audience?: string;
serviceAccountEmail?: string;
}§Properties
§
audience?: string
[src]Optional. 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.
§
serviceAccountEmail?: string
[src]Optional. Service account email used for generating the OIDC token. For more information on setting up authentication, see Push subscriptions.