pub struct ProviderMetadata {
pub issuer: String,
pub authorization_endpoint: String,
pub token_endpoint: String,
pub jwks_uri: String,
pub userinfo_endpoint: Option<String>,
pub scopes_supported: Option<Vec<String>>,
pub response_types_supported: Option<Vec<String>>,
pub id_token_signing_alg_values_supported: Option<Vec<String>>,
}Expand description
Metadata for an OpenID Connect provider.
Fields§
§issuer: StringThe issuer URL
The authorization endpoint URL
token_endpoint: StringThe token endpoint URL
jwks_uri: StringThe JWKS URI
userinfo_endpoint: Option<String>The userinfo endpoint URL, if available
scopes_supported: Option<Vec<String>>Scopes supported by the provider
response_types_supported: Option<Vec<String>>Response types supported by the provider
id_token_signing_alg_values_supported: Option<Vec<String>>ID token signing algorithms supported by the provider
Implementations§
Trait Implementations§
Source§impl Clone for ProviderMetadata
impl Clone for ProviderMetadata
Source§fn clone(&self) -> ProviderMetadata
fn clone(&self) -> ProviderMetadata
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 ProviderMetadata
impl Debug for ProviderMetadata
Source§impl<'de> Deserialize<'de> for ProviderMetadata
impl<'de> Deserialize<'de> for ProviderMetadata
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
Auto Trait Implementations§
impl Freeze for ProviderMetadata
impl RefUnwindSafe for ProviderMetadata
impl Send for ProviderMetadata
impl Sync for ProviderMetadata
impl Unpin for ProviderMetadata
impl UnsafeUnpin for ProviderMetadata
impl UnwindSafe for ProviderMetadata
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