pub struct OAuthAuthorizationServerMetadata {
pub agent_auth: Option<OAuthAuthorizationServerMetadataAgentAuth>,
pub authorization_servers: Vec<String>,
pub bearer_methods_supported: Vec<String>,
pub grant_types_supported: Vec<String>,
pub issuer: Option<String>,
pub resource: Option<String>,
pub revocation_endpoint: Option<String>,
pub scopes_supported: Vec<String>,
pub token_endpoint: Option<String>,
}Expand description
RFC 8414 Authorization Server Metadata plus the auth.md
profile-specific agent_auth block.
Fields§
§agent_auth: Option<OAuthAuthorizationServerMetadataAgentAuth>§bearer_methods_supported: Vec<String>§grant_types_supported: Vec<String>§issuer: Option<String>§resource: Option<String>§revocation_endpoint: Option<String>§scopes_supported: Vec<String>§token_endpoint: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for OAuthAuthorizationServerMetadata
impl<'de> Deserialize<'de> for OAuthAuthorizationServerMetadata
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 OAuthAuthorizationServerMetadata
impl RefUnwindSafe for OAuthAuthorizationServerMetadata
impl Send for OAuthAuthorizationServerMetadata
impl Sync for OAuthAuthorizationServerMetadata
impl Unpin for OAuthAuthorizationServerMetadata
impl UnsafeUnpin for OAuthAuthorizationServerMetadata
impl UnwindSafe for OAuthAuthorizationServerMetadata
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