pub struct AuthorizationServerMetadata {Show 13 fields
pub issuer: String,
pub authorization_endpoint: String,
pub token_endpoint: String,
pub registration_endpoint: Option<String>,
pub scopes_supported: Option<Vec<String>>,
pub response_types_supported: Vec<String>,
pub response_modes_supported: Option<Vec<String>>,
pub grant_types_supported: Option<Vec<String>>,
pub token_endpoint_auth_methods_supported: Option<Vec<String>>,
pub code_challenge_methods_supported: Option<Vec<String>>,
pub revocation_endpoint: Option<String>,
pub introspection_endpoint: Option<String>,
pub additional: HashMap<String, Value>,
}Expand description
Authorization Server Metadata as defined in RFC 8414
Fields§
§issuer: StringThe authorization server’s issuer identifier
URL of the authorization endpoint
token_endpoint: StringURL of the token endpoint
registration_endpoint: Option<String>URL of the registration endpoint for dynamic client registration
scopes_supported: Option<Vec<String>>JSON array containing a list of scopes
response_types_supported: Vec<String>JSON array containing a list of response types
response_modes_supported: Option<Vec<String>>JSON array containing a list of response modes
grant_types_supported: Option<Vec<String>>JSON array containing a list of grant types
token_endpoint_auth_methods_supported: Option<Vec<String>>JSON array containing a list of token endpoint authentication methods
code_challenge_methods_supported: Option<Vec<String>>JSON array containing a list of PKCE code challenge methods
revocation_endpoint: Option<String>URL of the revocation endpoint
introspection_endpoint: Option<String>URL of the introspection endpoint
additional: HashMap<String, Value>Additional metadata fields
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
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].