pub struct ClientRegistrationRequest {Show 16 fields
pub redirect_uris: Option<Vec<String>>,
pub token_endpoint_auth_method: Option<String>,
pub grant_types: Option<Vec<String>>,
pub response_types: Option<Vec<String>>,
pub client_name: Option<String>,
pub client_uri: Option<String>,
pub logo_uri: Option<String>,
pub scope: Option<String>,
pub contacts: Option<Vec<String>>,
pub tos_uri: Option<String>,
pub policy_uri: Option<String>,
pub jwks_uri: Option<String>,
pub jwks: Option<Value>,
pub software_id: Option<String>,
pub software_version: Option<String>,
pub additional_metadata: HashMap<String, Value>,
}
Expand description
Client registration request as defined in RFC 7591
Fields§
§redirect_uris: Option<Vec<String>>
Array of redirect URIs
token_endpoint_auth_method: Option<String>
Token endpoint authentication method
grant_types: Option<Vec<String>>
Grant types that the client will use
response_types: Option<Vec<String>>
Response types that the client will use
client_name: Option<String>
Human-readable name of the client
client_uri: Option<String>
URL of the home page of the client
logo_uri: Option<String>
URL of the logo for the client
scope: Option<String>
Array of scope values that the client will use
contacts: Option<Vec<String>>
Array of contact information
tos_uri: Option<String>
URL of the terms of service
policy_uri: Option<String>
URL of the privacy policy
jwks_uri: Option<String>
URL for the client’s JSON Web Key Set
jwks: Option<Value>
Client’s JSON Web Key Set
software_id: Option<String>
Software identifier of the client
software_version: Option<String>
Software version of the client
additional_metadata: HashMap<String, Value>
Additional client metadata
Trait Implementations§
Source§impl Clone for ClientRegistrationRequest
impl Clone for ClientRegistrationRequest
Source§fn clone(&self) -> ClientRegistrationRequest
fn clone(&self) -> ClientRegistrationRequest
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 ClientRegistrationRequest
impl Debug for ClientRegistrationRequest
Source§impl<'de> Deserialize<'de> for ClientRegistrationRequest
impl<'de> Deserialize<'de> for ClientRegistrationRequest
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 ClientRegistrationRequest
impl RefUnwindSafe for ClientRegistrationRequest
impl Send for ClientRegistrationRequest
impl Sync for ClientRegistrationRequest
impl Unpin for ClientRegistrationRequest
impl UnwindSafe for ClientRegistrationRequest
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