pub struct OpenIDConnectConfig {
pub auth_ttl: Option<i64>,
pub client_id: Option<String>,
pub iat_ttl: Option<i64>,
pub issuer: String,
}
Expand description
Describes an OpenID Connect configuration.
Fields§
§auth_ttl: Option<i64>
The number of milliseconds 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 the AWS AppSync can validate against multiple client identifiers at a time.
iat_ttl: Option<i64>
The number of milliseconds a token is valid after being issued to a user.
issuer: String
The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss
in the ID token.
Trait Implementations§
Source§impl Clone for OpenIDConnectConfig
impl Clone for OpenIDConnectConfig
Source§fn clone(&self) -> OpenIDConnectConfig
fn clone(&self) -> OpenIDConnectConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OpenIDConnectConfig
impl Debug for OpenIDConnectConfig
Source§impl Default for OpenIDConnectConfig
impl Default for OpenIDConnectConfig
Source§fn default() -> OpenIDConnectConfig
fn default() -> OpenIDConnectConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenIDConnectConfig
impl<'de> Deserialize<'de> for OpenIDConnectConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OpenIDConnectConfig
impl PartialEq for OpenIDConnectConfig
Source§impl Serialize for OpenIDConnectConfig
impl Serialize 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
Mutably borrows from an owned value. Read more