pub struct AuthorizationServerMetadata {Show 13 fields
pub issuer: String,
pub authorization_endpoint: String,
pub token_endpoint: String,
pub registration_endpoint: String,
pub native_callback_endpoint: Option<String>,
pub native_poll_endpoint: Option<String>,
pub jwks_uri: String,
pub response_types_supported: Vec<String>,
pub grant_types_supported: Vec<String>,
pub code_challenge_methods_supported: Vec<String>,
pub token_endpoint_auth_methods_supported: Vec<String>,
pub authorization_response_iss_parameter_supported: bool,
pub client_id_metadata_document_supported: bool,
}Fields§
§issuer: String§token_endpoint: String§registration_endpoint: String§native_callback_endpoint: Option<String>§native_poll_endpoint: Option<String>§jwks_uri: String§response_types_supported: Vec<String>§grant_types_supported: Vec<String>§code_challenge_methods_supported: Vec<String>§token_endpoint_auth_methods_supported: Vec<String>RFC 9207 §2.3 — MUST be true whenever the authorization server includes
the iss parameter in authorization responses (soma-auth always does, in
authorize::callback). Always emitted, never conditional.
client_id_metadata_document_supported: boolAdvertises OAuth Client ID Metadata Document support at /authorize
(see crate::cimd). Always true — soma-auth supports CIMD
unconditionally alongside DCR.
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 (const: unstable) · 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<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 AuthorizationServerMetadata
impl PartialEq for AuthorizationServerMetadata
Source§fn eq(&self, other: &AuthorizationServerMetadata) -> bool
fn eq(&self, other: &AuthorizationServerMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AuthorizationServerMetadata
impl StructuralPartialEq for AuthorizationServerMetadata
Auto Trait Implementations§
impl Freeze for AuthorizationServerMetadata
impl RefUnwindSafe for AuthorizationServerMetadata
impl Send for AuthorizationServerMetadata
impl Sync for AuthorizationServerMetadata
impl Unpin for AuthorizationServerMetadata
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more