Struct apple_bundle::info_plist::app_services::WebAuthenticationSession [−][src]
pub struct WebAuthenticationSession {
pub is_supported: Option<bool>,
pub ephemeral_browser_session_is_supported: Option<bool>,
}Expand description
Web Authentication Session
Fields
is_supported: Option<bool>A Boolean that indicates whether the app acts as a browser that supports authentication sessions.
Set the corresponding value to YES to indicate that your browser app can handle authentication requests that other apps generate with ASWebAuthenticationSession. For details, see Supporting Single Sign-On in a Web Browser App.
Availability
- macOS 10.15+
Framework
- Authentication Services
ephemeral_browser_session_is_supported: Option<bool>A Boolean that indicates whether the app supports ephemeral browsing when conducting authentication sessions.
Set the corresponding value to YES to indicate that your browser app, when handling authentication requests, offers ephemeral browsing.
If you don’t provide the key, or if you set its value to NO and an app tries to conduct an ephemeral authentication session, the system warns the user. If do you declare support by setting the value to YES, be sure to respect the shouldUseEphemeralSession property on any incoming authentication requests, as described in Supporting Single Sign-On in a Web Browser App.
Note
It’s strongly recommended that your web browser support ephemeral sessions. Apps can specifically request this kind of session, and it’s important to honor the request.
Availability
- macOS 10.15+
Framework
- Authentication Services
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for WebAuthenticationSessionimpl Send for WebAuthenticationSessionimpl Sync for WebAuthenticationSessionimpl Unpin for WebAuthenticationSessionimpl UnwindSafe for WebAuthenticationSessionBlanket Implementations
Mutably borrows from an owned value. Read more