pub struct AuthorizationServerMetadata {
pub issuer: String,
pub authorization_endpoint: String,
pub token_endpoint: String,
pub jwks_uri: Option<String>,
pub scopes_supported: Option<Vec<String>>,
pub response_types_supported: Vec<String>,
pub grant_types_supported: Option<Vec<String>>,
pub token_endpoint_auth_methods_supported: Option<Vec<String>>,
pub code_challenge_methods_supported: Option<Vec<String>>,
pub additional_metadata: HashMap<String, Value>,
}Expand description
Authorization server metadata (RFC 8414)
Fields§
§issuer: String§token_endpoint: String§jwks_uri: Option<String>§scopes_supported: Option<Vec<String>>§response_types_supported: Vec<String>§grant_types_supported: Option<Vec<String>>§token_endpoint_auth_methods_supported: Option<Vec<String>>§code_challenge_methods_supported: Option<Vec<String>>§additional_metadata: HashMap<String, Value>Trait Implementations§
Source§impl Clone for AuthorizationServerMetadata
impl Clone for AuthorizationServerMetadata
Source§fn clone(&self) -> AuthorizationServerMetadata
fn clone(&self) -> AuthorizationServerMetadata
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 AuthorizationServerMetadata
impl Debug for AuthorizationServerMetadata
Source§impl<'de> Deserialize<'de> for AuthorizationServerMetadata
impl<'de> Deserialize<'de> for AuthorizationServerMetadata
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthorizationServerMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthorizationServerMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AuthorizationServerMetadata
impl Serialize for AuthorizationServerMetadata
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 AuthorizationServerMetadata
impl RefUnwindSafe for AuthorizationServerMetadata
impl Send for AuthorizationServerMetadata
impl Sync for AuthorizationServerMetadata
impl Unpin for AuthorizationServerMetadata
impl UnwindSafe for AuthorizationServerMetadata
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