Struct aws_sdk_appsync::model::OpenIdConnectConfig
source · [−]#[non_exhaustive]pub struct OpenIdConnectConfig {
pub issuer: Option<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: Option<String>
The 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: i64
The number of milliseconds that a token is valid after it's issued to a user.
auth_ttl: i64
The number of milliseconds that a token is valid after being authenticated.
Implementations
sourceimpl OpenIdConnectConfig
impl OpenIdConnectConfig
sourcepub fn issuer(&self) -> Option<&str>
pub fn issuer(&self) -> Option<&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.
sourceimpl OpenIdConnectConfig
impl OpenIdConnectConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OpenIdConnectConfig
Trait Implementations
sourceimpl Clone for OpenIdConnectConfig
impl Clone for OpenIdConnectConfig
sourcefn clone(&self) -> OpenIdConnectConfig
fn clone(&self) -> OpenIdConnectConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OpenIdConnectConfig
impl Debug for OpenIdConnectConfig
sourceimpl PartialEq<OpenIdConnectConfig> for OpenIdConnectConfig
impl PartialEq<OpenIdConnectConfig> for OpenIdConnectConfig
sourcefn eq(&self, other: &OpenIdConnectConfig) -> bool
fn eq(&self, other: &OpenIdConnectConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OpenIdConnectConfig) -> bool
fn ne(&self, other: &OpenIdConnectConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for OpenIdConnectConfig
Auto Trait Implementations
impl RefUnwindSafe for OpenIdConnectConfig
impl Send for OpenIdConnectConfig
impl Sync for OpenIdConnectConfig
impl Unpin for OpenIdConnectConfig
impl UnwindSafe for OpenIdConnectConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more