pub struct EnhancedCibaAuthRequest {Show 14 fields
pub auth_req_id: String,
pub client_id: String,
pub user_hint: UserIdentifierHint,
pub binding_message: Option<String>,
pub auth_context: Option<AuthenticationContext>,
pub scopes: Vec<String>,
pub mode: AuthenticationMode,
pub client_notification_endpoint: Option<String>,
pub expires_at: DateTime<Utc>,
pub created_at: DateTime<Utc>,
pub status: CibaRequestStatus,
pub session_id: Option<String>,
pub device_binding: Option<DeviceBinding>,
pub consent: Option<ConsentInfo>,
}Expand description
Enhanced CIBA authentication request
Fields§
§auth_req_id: StringUnique authentication request identifier
client_id: StringClient identifier
user_hint: UserIdentifierHintUser identifier or hint
binding_message: Option<String>Human-readable authentication context
auth_context: Option<AuthenticationContext>Advanced authentication context
scopes: Vec<String>Requested scopes
mode: AuthenticationModeAuthentication mode
client_notification_endpoint: Option<String>Client notification endpoint (for ping/push)
expires_at: DateTime<Utc>Request expiry time
created_at: DateTime<Utc>Request creation time
status: CibaRequestStatusCurrent request status
session_id: Option<String>Associated session ID
device_binding: Option<DeviceBinding>Device binding information
consent: Option<ConsentInfo>Consent information
Trait Implementations§
Source§impl Clone for EnhancedCibaAuthRequest
impl Clone for EnhancedCibaAuthRequest
Source§fn clone(&self) -> EnhancedCibaAuthRequest
fn clone(&self) -> EnhancedCibaAuthRequest
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 EnhancedCibaAuthRequest
impl Debug for EnhancedCibaAuthRequest
Source§impl<'de> Deserialize<'de> for EnhancedCibaAuthRequest
impl<'de> Deserialize<'de> for EnhancedCibaAuthRequest
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 EnhancedCibaAuthRequest
impl RefUnwindSafe for EnhancedCibaAuthRequest
impl Send for EnhancedCibaAuthRequest
impl Sync for EnhancedCibaAuthRequest
impl Unpin for EnhancedCibaAuthRequest
impl UnwindSafe for EnhancedCibaAuthRequest
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