pub struct OidcMetadata {Show 17 fields
pub issuer: String,
pub authorization_endpoint: String,
pub token_endpoint: String,
pub userinfo_endpoint: String,
pub registration_endpoint: String,
pub jwks_uri: String,
pub revocation_endpoint: String,
pub introspection_endpoint: String,
pub scopes_supported: Vec<String>,
pub response_types_supported: Vec<String>,
pub grant_types_supported: Vec<String>,
pub end_session_endpoint: Option<String>,
pub device_authorization_endpoint: Option<String>,
pub pushed_authorization_request_endpoint: Option<String>,
pub require_pushed_authorization_requests: Option<bool>,
pub dpop_signing_alg_values_supported: Option<Vec<String>>,
pub token_endpoint_auth_signing_alg_values_supported: Option<Vec<String>>,
}Fields§
§issuer: String§token_endpoint: String§userinfo_endpoint: String§registration_endpoint: String§jwks_uri: String§revocation_endpoint: String§introspection_endpoint: String§scopes_supported: Vec<String>§response_types_supported: Vec<String>§grant_types_supported: Vec<String>§end_session_endpoint: Option<String>OIDC RP-Initiated Logout: where to send the browser to end the session.
RFC 8628.
RFC 9126.
dpop_signing_alg_values_supported: Option<Vec<String>>RFC 9449: the proof algorithms the token endpoint accepts.
token_endpoint_auth_signing_alg_values_supported: Option<Vec<String>>Trait Implementations§
Source§impl Clone for OidcMetadata
impl Clone for OidcMetadata
Source§fn clone(&self) -> OidcMetadata
fn clone(&self) -> OidcMetadata
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 OidcMetadata
impl Debug for OidcMetadata
Source§impl<'de> Deserialize<'de> for OidcMetadata
impl<'de> Deserialize<'de> for OidcMetadata
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 OidcMetadata
impl RefUnwindSafe for OidcMetadata
impl Send for OidcMetadata
impl Sync for OidcMetadata
impl Unpin for OidcMetadata
impl UnsafeUnpin for OidcMetadata
impl UnwindSafe for OidcMetadata
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