pub struct AppleLoginChallenge {
pub type: ChallengeChoices,
pub flow_info: Option<Box<ContextualFlowInfo>>,
pub component: Option<String>,
pub response_errors: Option<HashMap<String, Vec<ErrorDetail>>>,
pub client_id: String,
pub scope: String,
pub redirect_uri: String,
pub state: String,
}Expand description
AppleLoginChallenge : Special challenge for apple-native authentication flow, which happens on the client.
Fields§
§type: ChallengeChoices§flow_info: Option<Box<ContextualFlowInfo>>§component: Option<String>§response_errors: Option<HashMap<String, Vec<ErrorDetail>>>§client_id: String§scope: String§redirect_uri: String§state: StringImplementations§
Source§impl AppleLoginChallenge
impl AppleLoginChallenge
Sourcepub fn new(
type: ChallengeChoices,
client_id: String,
scope: String,
redirect_uri: String,
state: String,
) -> AppleLoginChallenge
pub fn new( type: ChallengeChoices, client_id: String, scope: String, redirect_uri: String, state: String, ) -> AppleLoginChallenge
Special challenge for apple-native authentication flow, which happens on the client.
Trait Implementations§
Source§impl Clone for AppleLoginChallenge
impl Clone for AppleLoginChallenge
Source§fn clone(&self) -> AppleLoginChallenge
fn clone(&self) -> AppleLoginChallenge
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 AppleLoginChallenge
impl Debug for AppleLoginChallenge
Source§impl Default for AppleLoginChallenge
impl Default for AppleLoginChallenge
Source§fn default() -> AppleLoginChallenge
fn default() -> AppleLoginChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppleLoginChallenge
impl<'de> Deserialize<'de> for AppleLoginChallenge
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
Source§impl PartialEq for AppleLoginChallenge
impl PartialEq for AppleLoginChallenge
Source§impl Serialize for AppleLoginChallenge
impl Serialize for AppleLoginChallenge
impl StructuralPartialEq for AppleLoginChallenge
Auto Trait Implementations§
impl Freeze for AppleLoginChallenge
impl RefUnwindSafe for AppleLoginChallenge
impl Send for AppleLoginChallenge
impl Sync for AppleLoginChallenge
impl Unpin for AppleLoginChallenge
impl UnwindSafe for AppleLoginChallenge
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