#[non_exhaustive]pub struct OauthMetadata {Show 14 fields
pub issuer: String,
pub authorization_endpoint: String,
pub token_endpoint: String,
pub device_authorization_endpoint: Option<String>,
pub revocation_endpoint: Option<String>,
pub scopes_supported: Option<Vec<String>>,
pub response_types_supported: Option<Vec<String>>,
pub grant_types_supported: Option<Vec<String>>,
pub code_challenge_methods_supported: Option<Vec<String>>,
pub token_endpoint_auth_methods_supported: Option<Vec<String>>,
pub authorization_response_iss_parameter_supported: Option<bool>,
pub client_id_metadata_document_supported: Option<bool>,
pub registration_endpoint: Option<String>,
pub service_documentation: Option<String>,
}Expand description
The authorization server’s discovery document (RFC 8414).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.issuer: String§token_endpoint: String§revocation_endpoint: Option<String>§scopes_supported: Option<Vec<String>>§response_types_supported: Option<Vec<String>>§grant_types_supported: Option<Vec<String>>§code_challenge_methods_supported: Option<Vec<String>>§token_endpoint_auth_methods_supported: Option<Vec<String>>§client_id_metadata_document_supported: Option<bool>§registration_endpoint: Option<String>§service_documentation: Option<String>Trait Implementations§
Source§impl Clone for OauthMetadata
impl Clone for OauthMetadata
Source§impl Debug for OauthMetadata
impl Debug for OauthMetadata
Source§impl<'de> Deserialize<'de> for OauthMetadata
impl<'de> Deserialize<'de> for OauthMetadata
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 OauthMetadata
impl PartialEq for OauthMetadata
Source§impl Serialize for OauthMetadata
impl Serialize for OauthMetadata
impl StructuralPartialEq for OauthMetadata
Auto Trait Implementations§
impl Forget for OauthMetadata
impl Freeze for OauthMetadata
impl Move for OauthMetadata
impl RefUnwindSafe for OauthMetadata
impl Send for OauthMetadata
impl Sync for OauthMetadata
impl Unpin for OauthMetadata
impl UnsafeUnpin for OauthMetadata
impl UnwindSafe for OauthMetadata
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