Struct aws_sdk_appsync::types::OpenIdConnectConfig
source · #[non_exhaustive]pub struct OpenIdConnectConfig {
pub issuer: String,
pub client_id: Option<String>,
pub iat_ttl: i64,
pub auth_ttl: i64,
}Expand description
Describes an OpenID Connect (OIDC) configuration.
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: StringThe issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.
client_id: Option<String>The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.
iat_ttl: i64The number of milliseconds that a token is valid after it's issued to a user.
auth_ttl: i64The number of milliseconds that a token is valid after being authenticated.
Implementations§
source§impl OpenIdConnectConfig
impl OpenIdConnectConfig
sourcepub fn issuer(&self) -> &str
pub fn issuer(&self) -> &str
The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.
sourcepub fn client_id(&self) -> Option<&str>
pub fn client_id(&self) -> Option<&str>
The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.
source§impl OpenIdConnectConfig
impl OpenIdConnectConfig
sourcepub fn builder() -> OpenIdConnectConfigBuilder
pub fn builder() -> OpenIdConnectConfigBuilder
Creates a new builder-style object to manufacture OpenIdConnectConfig.
Trait Implementations§
source§impl Clone for OpenIdConnectConfig
impl Clone for OpenIdConnectConfig
source§fn clone(&self) -> OpenIdConnectConfig
fn clone(&self) -> OpenIdConnectConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OpenIdConnectConfig
impl Debug for OpenIdConnectConfig
source§impl PartialEq for OpenIdConnectConfig
impl PartialEq for OpenIdConnectConfig
impl StructuralPartialEq for OpenIdConnectConfig
Auto Trait Implementations§
impl Freeze for OpenIdConnectConfig
impl RefUnwindSafe for OpenIdConnectConfig
impl Send for OpenIdConnectConfig
impl Sync for OpenIdConnectConfig
impl Unpin for OpenIdConnectConfig
impl UnwindSafe for OpenIdConnectConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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