pub struct AuthAppClient {
pub id: i64,
pub client_id: String,
pub name: String,
pub redirect_uris: String,
pub confidential: bool,
pub auth_app_id: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
A public OAuth client registered against an AuthApp for the hosted Authorization Code + PKCE flow.
These are public clients: no client secret is issued, so security rests on
PKCE plus the redirect_uris allowlist. redirect_uris is a newline-
separated list. client_id is the public identifier (prefixed auc_) sent
in the /authorize request.
Fields§
§id: i64§client_id: String§name: String§redirect_uris: String§confidential: bool§auth_app_id: String§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for AuthAppClient
impl Clone for AuthAppClient
Source§fn clone(&self) -> AuthAppClient
fn clone(&self) -> AuthAppClient
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 AuthAppClient
impl Debug for AuthAppClient
Source§impl<'de> Deserialize<'de> for AuthAppClient
impl<'de> Deserialize<'de> for AuthAppClient
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 AuthAppClient
impl RefUnwindSafe for AuthAppClient
impl Send for AuthAppClient
impl Sync for AuthAppClient
impl Unpin for AuthAppClient
impl UnsafeUnpin for AuthAppClient
impl UnwindSafe for AuthAppClient
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