Struct aws_sdk_apigatewayv2::model::JwtConfiguration
source · #[non_exhaustive]pub struct JwtConfiguration { /* private fields */ }Expand description
Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.
Implementations§
source§impl JwtConfiguration
impl JwtConfiguration
sourcepub fn audience(&self) -> Option<&[String]>
pub fn audience(&self) -> Option<&[String]>
A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.
sourcepub fn issuer(&self) -> Option<&str>
pub fn issuer(&self) -> Option<&str>
The base domain of the identity provider that issues JSON Web Tokens. For example, an Amazon Cognito user pool has the following format: https://cognito-idp.
source§impl JwtConfiguration
impl JwtConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture JwtConfiguration.
Trait Implementations§
source§impl Clone for JwtConfiguration
impl Clone for JwtConfiguration
source§fn clone(&self) -> JwtConfiguration
fn clone(&self) -> JwtConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more