pub struct Authentication {
pub account_authentication_modification_opt_out_of_security_prompts_on_sign_in: Option<bool>,
pub web_authentication_session_web_browser_support_capabilities: Option<WebAuthenticationSession>,
}Expand description
Authentication
Fields§
§account_authentication_modification_opt_out_of_security_prompts_on_sign_in: Option<bool>A Boolean value that indicates the system shouldn’t show security recommendation prompts when users sign in using the app.
Each system code must be a discrete value. The wild card value (0xFF) isn’t allowed.
§Availability
- iOS 14.0+
§Framework
- Authentication Services
web_authentication_session_web_browser_support_capabilities: Option<WebAuthenticationSession>A collection of keys that a browser app uses to declare its ability to handle authentication requests from other apps.
Add a dictionary for this key to your app’s Information Property List if your app is a web browser and it supports web authentication. In the dictionary, include the keys IsSupported and EphemeralBrowserSessionIsSupported to indicate your browser app’s capabilities. For more information, see Supporting Single Sign-On in a Web Browser App.
§Availability
- macOS 10.15+
§Framework
- Authentication Services
Trait Implementations§
Source§impl Clone for Authentication
impl Clone for Authentication
Source§fn clone(&self) -> Authentication
fn clone(&self) -> Authentication
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 Authentication
impl Debug for Authentication
Source§impl Default for Authentication
impl Default for Authentication
Source§fn default() -> Authentication
fn default() -> Authentication
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Authentication
impl<'de> Deserialize<'de> for Authentication
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 Authentication
impl PartialEq for Authentication
Source§impl Serialize for Authentication
impl Serialize for Authentication
impl Eq for Authentication
impl StructuralPartialEq for Authentication
Auto Trait Implementations§
impl Freeze for Authentication
impl RefUnwindSafe for Authentication
impl Send for Authentication
impl Sync for Authentication
impl Unpin for Authentication
impl UnwindSafe for Authentication
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.