pub struct AuthServerMetadata {
pub issuer: String,
pub token_endpoint: String,
pub device_authorization_endpoint: Option<String>,
pub registration_endpoint: Option<String>,
pub scopes_supported: Vec<String>,
}Expand description
RFC 8414 §2 — Authorization Server Metadata (subset we consume).
Fields§
§issuer: StringThe AS’s issuer identifier.
token_endpoint: StringRFC 6749 token endpoint (device_code + refresh_token grants).
RFC 8628 §4 device authorization endpoint.
registration_endpoint: Option<String>RFC 7591 dynamic client registration endpoint.
scopes_supported: Vec<String>Scopes the AS supports; used as a default when the config omits scopes.
Trait Implementations§
Source§impl Clone for AuthServerMetadata
impl Clone for AuthServerMetadata
Source§fn clone(&self) -> AuthServerMetadata
fn clone(&self) -> AuthServerMetadata
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 AuthServerMetadata
impl Debug for AuthServerMetadata
Source§impl<'de> Deserialize<'de> for AuthServerMetadata
impl<'de> Deserialize<'de> for AuthServerMetadata
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 AuthServerMetadata
impl RefUnwindSafe for AuthServerMetadata
impl Send for AuthServerMetadata
impl Sync for AuthServerMetadata
impl Unpin for AuthServerMetadata
impl UnsafeUnpin for AuthServerMetadata
impl UnwindSafe for AuthServerMetadata
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