#[non_exhaustive]pub struct AwsAppSyncGraphQlApiOpenIdConnectConfigDetails {
pub auth_ttl: Option<i64>,
pub client_id: Option<String>,
pub iat_ttl: Option<i64>,
pub issuer: Option<String>,
}Expand description
Specifies the authorization configuration for using an OpenID Connect compliant service with your AppSync GraphQL API endpoint.
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.auth_ttl: Option<i64>The number of milliseconds that a token is valid after being authenticated.
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: Option<i64>The number of milliseconds that a token is valid after it's issued to a user.
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.
Implementations§
source§impl AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
impl AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
sourcepub fn auth_ttl(&self) -> Option<i64>
pub fn auth_ttl(&self) -> Option<i64>
The number of milliseconds that a token is valid after being authenticated.
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 AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
impl AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
sourcepub fn builder() -> AwsAppSyncGraphQlApiOpenIdConnectConfigDetailsBuilder
pub fn builder() -> AwsAppSyncGraphQlApiOpenIdConnectConfigDetailsBuilder
Creates a new builder-style object to manufacture AwsAppSyncGraphQlApiOpenIdConnectConfigDetails.
Trait Implementations§
source§impl Clone for AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
impl Clone for AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
source§fn clone(&self) -> AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
fn clone(&self) -> AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
impl PartialEq for AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
source§fn eq(&self, other: &AwsAppSyncGraphQlApiOpenIdConnectConfigDetails) -> bool
fn eq(&self, other: &AwsAppSyncGraphQlApiOpenIdConnectConfigDetails) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
Auto Trait Implementations§
impl Freeze for AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
impl RefUnwindSafe for AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
impl Send for AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
impl Sync for AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
impl Unpin for AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
impl UnwindSafe for AwsAppSyncGraphQlApiOpenIdConnectConfigDetails
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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