pub struct OpenIdConfiguration {Show 18 fields
pub authorization_endpoint: Option<String>,
pub backchannel_logout_supported: Option<bool>,
pub claims_supported: Option<Vec<String>>,
pub device_authorization_endpoint: Option<String>,
pub end_session_endpoint: Option<String>,
pub frontchannel_logout_supported: Option<bool>,
pub grant_types_supported: Option<Vec<String>>,
pub id_token_signing_alg_values_supported: Option<Vec<String>>,
pub issuer: Option<String>,
pub jwks_uri: Option<String>,
pub response_modes_supported: Option<Vec<String>>,
pub response_types_supported: Option<Vec<String>>,
pub scopes_supported: Option<Vec<String>>,
pub subject_types_supported: Option<Vec<String>>,
pub token_endpoint: Option<String>,
pub token_endpoint_auth_methods_supported: Option<Vec<String>>,
pub userinfo_endpoint: Option<String>,
pub userinfo_signing_alg_values_supported: Option<Vec<String>>,
}
Expand description
OpenIdConfiguration : OpenID Connect Configuration as described by the <a href="https:openid.netspecsopenid-connect-discovery-1_0.html#ProviderMetadata">OpenID Provider Metadata.
Fields§
§backchannel_logout_supported: Option<bool>
§claims_supported: Option<Vec<String>>
§end_session_endpoint: Option<String>
§frontchannel_logout_supported: Option<bool>
§grant_types_supported: Option<Vec<String>>
§id_token_signing_alg_values_supported: Option<Vec<String>>
§issuer: Option<String>
§jwks_uri: Option<String>
§response_modes_supported: Option<Vec<String>>
§response_types_supported: Option<Vec<String>>
§scopes_supported: Option<Vec<String>>
§subject_types_supported: Option<Vec<String>>
§token_endpoint: Option<String>
§token_endpoint_auth_methods_supported: Option<Vec<String>>
§userinfo_endpoint: Option<String>
§userinfo_signing_alg_values_supported: Option<Vec<String>>
Implementations§
Source§impl OpenIdConfiguration
impl OpenIdConfiguration
Sourcepub fn new() -> OpenIdConfiguration
pub fn new() -> OpenIdConfiguration
OpenID Connect Configuration as described by the <a href="https:openid.netspecsopenid-connect-discovery-1_0.html#ProviderMetadata">OpenID Provider Metadata.
Trait Implementations§
Source§impl Clone for OpenIdConfiguration
impl Clone for OpenIdConfiguration
Source§fn clone(&self) -> OpenIdConfiguration
fn clone(&self) -> OpenIdConfiguration
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 OpenIdConfiguration
impl Debug for OpenIdConfiguration
Source§impl Default for OpenIdConfiguration
impl Default for OpenIdConfiguration
Source§fn default() -> OpenIdConfiguration
fn default() -> OpenIdConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenIdConfiguration
impl<'de> Deserialize<'de> for OpenIdConfiguration
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 OpenIdConfiguration
impl PartialEq for OpenIdConfiguration
Source§impl Serialize for OpenIdConfiguration
impl Serialize for OpenIdConfiguration
impl StructuralPartialEq for OpenIdConfiguration
Auto Trait Implementations§
impl Freeze for OpenIdConfiguration
impl RefUnwindSafe for OpenIdConfiguration
impl Send for OpenIdConfiguration
impl Sync for OpenIdConfiguration
impl Unpin for OpenIdConfiguration
impl UnwindSafe for OpenIdConfiguration
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