Struct aws_sdk_appsync::types::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§
source§impl 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.
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<OpenIdConnectConfig> for OpenIdConnectConfig
impl PartialEq<OpenIdConnectConfig> for OpenIdConnectConfig
source§fn eq(&self, other: &OpenIdConnectConfig) -> bool
fn eq(&self, other: &OpenIdConnectConfig) -> bool
self
and other
values to be equal, and is used
by ==
.