pub struct ClientDocument {
pub client_id: String,
pub client_secret: Option<String>,
pub client_id_issued_at: u64,
pub redirect_uris: Vec<String>,
pub client_name: Option<String>,
pub grant_types: Vec<String>,
pub response_types: Vec<String>,
pub token_endpoint_auth_method: String,
pub application_type: Option<String>,
pub scope: Option<String>,
pub client_id_document_url: Option<String>,
}Expand description
Registered client record (post-registration).
Fields§
§client_id: StringOpaque id or document URL.
client_secret: Option<String>None for public clients (token_endpoint_auth_method=none).
client_id_issued_at: u64Unix seconds of registration.
redirect_uris: Vec<String>Redirect URIs (at minimum 1 required for code flow).
client_name: Option<String>Free-form display name.
grant_types: Vec<String>Grant types this client is authorised to use.
response_types: Vec<String>Response types (Solid-OIDC always ["code"]).
token_endpoint_auth_method: StringAuth method at /token.
application_type: Option<String>Application type — "web" or "native".
scope: Option<String>Requested scope string.
client_id_document_url: Option<String>If this client was registered from a Client Identifier
Document, the URL at which the source document lives. Used
by /reg to return a deep link.
Trait Implementations§
Source§impl Clone for ClientDocument
impl Clone for ClientDocument
Source§fn clone(&self) -> ClientDocument
fn clone(&self) -> ClientDocument
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 ClientDocument
impl Debug for ClientDocument
Source§impl<'de> Deserialize<'de> for ClientDocument
impl<'de> Deserialize<'de> for ClientDocument
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 ClientDocument
impl RefUnwindSafe for ClientDocument
impl Send for ClientDocument
impl Sync for ClientDocument
impl Unpin for ClientDocument
impl UnsafeUnpin for ClientDocument
impl UnwindSafe for ClientDocument
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