Struct aws_sdk_apigatewayv2::types::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() -> JwtConfigurationBuilder
pub fn builder() -> JwtConfigurationBuilder
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 moresource§impl Debug for JwtConfiguration
impl Debug for JwtConfiguration
source§impl PartialEq<JwtConfiguration> for JwtConfiguration
impl PartialEq<JwtConfiguration> for JwtConfiguration
source§fn eq(&self, other: &JwtConfiguration) -> bool
fn eq(&self, other: &JwtConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JwtConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for JwtConfiguration
impl Send for JwtConfiguration
impl Sync for JwtConfiguration
impl Unpin for JwtConfiguration
impl UnwindSafe for JwtConfiguration
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