Struct aws_sdk_ssoadmin::types::OidcJwtConfiguration
source · #[non_exhaustive]pub struct OidcJwtConfiguration {
pub issuer_url: String,
pub claim_attribute_path: String,
pub identity_store_attribute_path: String,
pub jwks_retrieval_option: JwksRetrievalOption,
}
Expand description
A structure that describes configuration settings for a trusted token issuer that supports OpenID Connect (OIDC) and JSON Web Tokens (JWTs).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.issuer_url: String
The URL that IAM Identity Center uses for OpenID Discovery. OpenID Discovery is used to obtain the information required to verify the tokens that the trusted token issuer generates.
claim_attribute_path: String
The path of the source attribute in the JWT from the trusted token issuer. The attribute mapped by this JMESPath expression is compared against the attribute mapped by IdentityStoreAttributePath
when a trusted token issuer token is exchanged for an IAM Identity Center token.
identity_store_attribute_path: String
The path of the destination attribute in a JWT from IAM Identity Center. The attribute mapped by this JMESPath expression is compared against the attribute mapped by ClaimAttributePath
when a trusted token issuer token is exchanged for an IAM Identity Center token.
jwks_retrieval_option: JwksRetrievalOption
The method that the trusted token issuer can use to retrieve the JSON Web Key Set used to verify a JWT.
Implementations§
source§impl OidcJwtConfiguration
impl OidcJwtConfiguration
sourcepub fn issuer_url(&self) -> &str
pub fn issuer_url(&self) -> &str
The URL that IAM Identity Center uses for OpenID Discovery. OpenID Discovery is used to obtain the information required to verify the tokens that the trusted token issuer generates.
sourcepub fn claim_attribute_path(&self) -> &str
pub fn claim_attribute_path(&self) -> &str
The path of the source attribute in the JWT from the trusted token issuer. The attribute mapped by this JMESPath expression is compared against the attribute mapped by IdentityStoreAttributePath
when a trusted token issuer token is exchanged for an IAM Identity Center token.
sourcepub fn identity_store_attribute_path(&self) -> &str
pub fn identity_store_attribute_path(&self) -> &str
The path of the destination attribute in a JWT from IAM Identity Center. The attribute mapped by this JMESPath expression is compared against the attribute mapped by ClaimAttributePath
when a trusted token issuer token is exchanged for an IAM Identity Center token.
sourcepub fn jwks_retrieval_option(&self) -> &JwksRetrievalOption
pub fn jwks_retrieval_option(&self) -> &JwksRetrievalOption
The method that the trusted token issuer can use to retrieve the JSON Web Key Set used to verify a JWT.
source§impl OidcJwtConfiguration
impl OidcJwtConfiguration
sourcepub fn builder() -> OidcJwtConfigurationBuilder
pub fn builder() -> OidcJwtConfigurationBuilder
Creates a new builder-style object to manufacture OidcJwtConfiguration
.
Trait Implementations§
source§impl Clone for OidcJwtConfiguration
impl Clone for OidcJwtConfiguration
source§fn clone(&self) -> OidcJwtConfiguration
fn clone(&self) -> OidcJwtConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OidcJwtConfiguration
impl Debug for OidcJwtConfiguration
source§impl PartialEq for OidcJwtConfiguration
impl PartialEq for OidcJwtConfiguration
source§fn eq(&self, other: &OidcJwtConfiguration) -> bool
fn eq(&self, other: &OidcJwtConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OidcJwtConfiguration
Auto Trait Implementations§
impl Freeze for OidcJwtConfiguration
impl RefUnwindSafe for OidcJwtConfiguration
impl Send for OidcJwtConfiguration
impl Sync for OidcJwtConfiguration
impl Unpin for OidcJwtConfiguration
impl UnwindSafe for OidcJwtConfiguration
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more