pub struct DiscoveryDocument {Show 16 fields
pub issuer: String,
pub authorization_endpoint: String,
pub token_endpoint: String,
pub userinfo_endpoint: Option<String>,
pub jwks_uri: Option<String>,
pub registration_endpoint: Option<String>,
pub revocation_endpoint: Option<String>,
pub scopes_supported: Vec<String>,
pub response_types_supported: Vec<String>,
pub response_modes_supported: Option<Vec<String>>,
pub grant_types_supported: Vec<String>,
pub subject_types_supported: Vec<String>,
pub id_token_signing_alg_values_supported: Vec<String>,
pub token_endpoint_auth_methods_supported: Vec<String>,
pub claims_supported: Option<Vec<String>>,
pub code_challenge_methods_supported: Option<Vec<String>>,
}Expand description
OpenID Connect Discovery Document.
This is served at /.well-known/openid-configuration.
Fields§
§issuer: StringIssuer identifier URL.
Authorization endpoint URL.
token_endpoint: StringToken endpoint URL.
userinfo_endpoint: Option<String>UserInfo endpoint URL.
jwks_uri: Option<String>JWKs URI for public key retrieval.
registration_endpoint: Option<String>Registration endpoint URL.
revocation_endpoint: Option<String>Revocation endpoint URL.
scopes_supported: Vec<String>Supported scopes.
response_types_supported: Vec<String>Supported response types.
response_modes_supported: Option<Vec<String>>Supported response modes.
grant_types_supported: Vec<String>Supported grant types.
subject_types_supported: Vec<String>Supported subject types.
id_token_signing_alg_values_supported: Vec<String>Supported ID token signing algorithms.
token_endpoint_auth_methods_supported: Vec<String>Supported token endpoint auth methods.
claims_supported: Option<Vec<String>>Supported claims.
code_challenge_methods_supported: Option<Vec<String>>Supported code challenge methods.
Implementations§
Trait Implementations§
Source§impl Clone for DiscoveryDocument
impl Clone for DiscoveryDocument
Source§fn clone(&self) -> DiscoveryDocument
fn clone(&self) -> DiscoveryDocument
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 DiscoveryDocument
impl Debug for DiscoveryDocument
Source§impl<'de> Deserialize<'de> for DiscoveryDocument
impl<'de> Deserialize<'de> for DiscoveryDocument
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiscoveryDocument, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiscoveryDocument, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DiscoveryDocument
impl Serialize for DiscoveryDocument
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DiscoveryDocument
impl RefUnwindSafe for DiscoveryDocument
impl Send for DiscoveryDocument
impl Sync for DiscoveryDocument
impl Unpin for DiscoveryDocument
impl UnwindSafe for DiscoveryDocument
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).