pub struct ClientRegistrationResponse {Show 22 fields
pub client_id: String,
pub client_secret: Option<String>,
pub registration_access_token: String,
pub registration_client_uri: String,
pub client_id_issued_at: Option<i64>,
pub client_secret_expires_at: Option<i64>,
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 response as defined in RFC 7591
Fields§
§client_id: StringOAuth 2.0 client identifier
client_secret: Option<String>OAuth 2.0 client secret (optional)
registration_access_token: StringRegistration access token
registration_client_uri: StringRegistration client URI
client_id_issued_at: Option<i64>Time at which the client identifier was issued
client_secret_expires_at: Option<i64>Time at which the client secret will expire
redirect_uris: Option<Vec<String>>Registered redirect URIs
token_endpoint_auth_method: Option<String>Token endpoint authentication method
grant_types: Option<Vec<String>>Grant types
response_types: Option<Vec<String>>Response types
client_name: Option<String>Client name
client_uri: Option<String>Client URI
logo_uri: Option<String>Logo URI
scope: Option<String>Scope
contacts: Option<Vec<String>>Contacts
tos_uri: Option<String>Terms of service URI
policy_uri: Option<String>Policy URI
jwks_uri: Option<String>JWKS URI
jwks: Option<Value>JWKS
software_id: Option<String>Software ID
software_version: Option<String>Software version
additional_metadata: HashMap<String, Value>Additional metadata
Trait Implementations§
Source§impl Clone for ClientRegistrationResponse
impl Clone for ClientRegistrationResponse
Source§fn clone(&self) -> ClientRegistrationResponse
fn clone(&self) -> ClientRegistrationResponse
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 ClientRegistrationResponse
impl Debug for ClientRegistrationResponse
Source§impl<'de> Deserialize<'de> for ClientRegistrationResponse
impl<'de> Deserialize<'de> for ClientRegistrationResponse
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 ClientRegistrationResponse
impl RefUnwindSafe for ClientRegistrationResponse
impl Send for ClientRegistrationResponse
impl Sync for ClientRegistrationResponse
impl Unpin for ClientRegistrationResponse
impl UnwindSafe for ClientRegistrationResponse
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