pub struct ClientRegistrationResponse {
pub client_id: String,
pub client_secret: Option<String>,
pub registration_access_token: Option<String>,
pub registration_client_uri: Option<String>,
pub client_id_issued_at: Option<i64>,
pub client_secret_expires_at: Option<i64>,
pub redirect_uris: Option<Vec<String>>,
pub response_types: Option<Vec<String>>,
pub grant_types: Option<Vec<String>>,
pub application_type: Option<ApplicationType>,
pub client_name: Option<String>,
pub scope: Option<String>,
}Expand description
Dynamic Client Registration Response (RFC 7591)
Fields§
§client_id: StringUnique client identifier (REQUIRED)
client_secret: Option<String>Client secret (OPTIONAL - not provided for public clients)
registration_access_token: Option<String>Registration access token for client configuration endpoint
registration_client_uri: Option<String>Client configuration endpoint
client_id_issued_at: Option<i64>Client ID issued at timestamp
client_secret_expires_at: Option<i64>Client secret expires at timestamp (REQUIRED if client_secret provided)
redirect_uris: Option<Vec<String>>Confirmed client metadata - redirect URIs
response_types: Option<Vec<String>>Confirmed response types
grant_types: Option<Vec<String>>Confirmed grant types
application_type: Option<ApplicationType>Confirmed application type
client_name: Option<String>Confirmed client name
scope: Option<String>Confirmed scope
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<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