pub struct ServerMetadata {
pub issuer: String,
pub token_endpoint: String,
pub grant_types_supported: Vec<String>,
pub response_types_supported: Vec<String>,
pub code_challenge_methods_supported: Vec<String>,
pub token_endpoint_auth_methods_supported: Vec<String>,
pub dpop_signing_alg_values_supported: Vec<String>,
}Expand description
The authorization server metadata of riff-server (RFC 8414).
Fields§
§issuer: String§token_endpoint: String§grant_types_supported: Vec<String>§response_types_supported: Vec<String>Empty: the server has no authorization endpoint (R83).
code_challenge_methods_supported: Vec<String>§token_endpoint_auth_methods_supported: Vec<String>Always ["none"]: riff is a public client.
dpop_signing_alg_values_supported: Vec<String>Always ["ES256"] (RFC 9449).
Trait Implementations§
Source§impl Clone for ServerMetadata
impl Clone for ServerMetadata
Source§fn clone(&self) -> ServerMetadata
fn clone(&self) -> ServerMetadata
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 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
Source§impl JsonSchema for ServerMetadata
impl JsonSchema for ServerMetadata
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ServerMetadata
impl PartialEq for ServerMetadata
Source§impl Serialize for ServerMetadata
impl Serialize for ServerMetadata
impl Eq for ServerMetadata
impl StructuralPartialEq for ServerMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.