pub struct AuthorizationServerMetadata {
pub issuer: String,
pub jwks_uri: String,
pub token_endpoint: Option<String>,
pub introspection_endpoint: Option<String>,
pub revocation_endpoint: Option<String>,
}Fields§
§issuer: String§jwks_uri: String§token_endpoint: Option<String>§introspection_endpoint: Option<String>§revocation_endpoint: Option<String>Implementations§
Source§impl AuthorizationServerMetadata
impl AuthorizationServerMetadata
pub fn validate( &self, expected_issuer: &str, settings: &FetchSettings, ) -> Result<(), AuthplaneError>
pub fn token_endpoint(&self) -> Result<&str, AuthplaneError>
pub fn introspection_endpoint(&self) -> Result<&str, AuthplaneError>
pub fn revocation_endpoint(&self) -> Result<&str, AuthplaneError>
Trait Implementations§
Source§impl Clone for AuthorizationServerMetadata
impl Clone for AuthorizationServerMetadata
Source§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
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