#[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 ==
.