pub struct ServerMetadata {
pub issuer: String,
pub authorization_endpoint: String,
pub token_endpoint: String,
pub revocation_endpoint: String,
pub registration_endpoint: String,
pub scopes_supported: Vec<String>,
}Expand description
OAuth Authorization Server 元数据(RFC 8414)。
Fields§
§issuer: String§token_endpoint: String§revocation_endpoint: String§registration_endpoint: String§scopes_supported: Vec<String>Trait Implementations§
Source§impl Clone for ServerMetadata
impl Clone for ServerMetadata
Source§impl Debug for ServerMetadata
impl Debug for ServerMetadata
Source§impl<'de> Deserialize<'de> for ServerMetadata
impl<'de> Deserialize<'de> for ServerMetadata
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 ServerMetadata
impl RefUnwindSafe for ServerMetadata
impl Send for ServerMetadata
impl Sync for ServerMetadata
impl Unpin for ServerMetadata
impl UnsafeUnpin for ServerMetadata
impl UnwindSafe for ServerMetadata
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