pub struct UmaDiscoveryMetadata {
pub issuer: String,
pub token_endpoint: String,
pub resource_registration_endpoint: String,
pub permission_endpoint: String,
pub rpt_endpoint: String,
pub introspection_endpoint: String,
pub claims_interaction_endpoint: String,
pub grant_types_supported: Vec<String>,
pub token_endpoint_auth_methods_supported: Vec<String>,
pub uma_profiles_supported: Vec<String>,
}Expand description
UMA 2.0 Authorization Server discovery metadata (.well-known/uma2-configuration).
Defined by UMA 2.0 Grant for OAuth 2.0 Authorization, Section 2.
Fields§
§issuer: StringThe base URI of the UMA authorization server.
token_endpoint: StringProtection API Token (PAT) endpoint (OAuth 2.0 token endpoint).
resource_registration_endpoint: StringResource registration endpoint.
permission_endpoint: StringPermission endpoint (where resource servers register permission requests).
rpt_endpoint: StringRPT (Requesting Party Token) endpoint (same as token_endpoint).
introspection_endpoint: StringIntrospection endpoint for RPTs (RFC 7662).
claims_interaction_endpoint: StringClaims interaction endpoint for interactive claims gathering.
grant_types_supported: Vec<String>Supported UMA grant types.
token_endpoint_auth_methods_supported: Vec<String>Supported token endpoint authentication methods.
uma_profiles_supported: Vec<String>Supported UMA profiles.
Implementations§
Trait Implementations§
Source§impl Clone for UmaDiscoveryMetadata
impl Clone for UmaDiscoveryMetadata
Source§fn clone(&self) -> UmaDiscoveryMetadata
fn clone(&self) -> UmaDiscoveryMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 UmaDiscoveryMetadata
impl Debug for UmaDiscoveryMetadata
Source§impl<'de> Deserialize<'de> for UmaDiscoveryMetadata
impl<'de> Deserialize<'de> for UmaDiscoveryMetadata
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 UmaDiscoveryMetadata
impl RefUnwindSafe for UmaDiscoveryMetadata
impl Send for UmaDiscoveryMetadata
impl Sync for UmaDiscoveryMetadata
impl Unpin for UmaDiscoveryMetadata
impl UnsafeUnpin for UmaDiscoveryMetadata
impl UnwindSafe for UmaDiscoveryMetadata
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more