Struct google_pubsub1::api::OidcToken
source · pub struct OidcToken {
pub audience: Option<String>,
pub service_account_email: Option<String>,
}
Expand description
Contains information needed for generating an OpenID Connect token.
This type is not used in any activity, and only used as part of another schema.
Fields§
§audience: Option<String>
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.
service_account_email: Option<String>
Optional. Service account email used for generating the OIDC token. For more information on setting up authentication, see Push subscriptions.
Trait Implementations§
source§impl<'de> Deserialize<'de> for OidcToken
impl<'de> Deserialize<'de> for OidcToken
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for OidcToken
Auto Trait Implementations§
impl RefUnwindSafe for OidcToken
impl Send for OidcToken
impl Sync for OidcToken
impl Unpin for OidcToken
impl UnwindSafe for OidcToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more