-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SDK-2197] Support for PrefersEphemeralWebBrowserSession (#173)
Closes #157
- Loading branch information
1 parent
19cc8fe
commit abe9a63
Showing
4 changed files
with
63 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/Auth0.OidcClient.iOS/ASWebAuthenticationSessionOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace Auth0.OidcClient | ||
{ | ||
/// <summary> | ||
/// Specifies options that can be passed to <see cref="ASWebAuthenticationSessionBrowser"/> implementations. | ||
/// </summary> | ||
public class ASWebAuthenticationSessionOptions | ||
{ | ||
/// <summary> | ||
/// Specify whether or not EphemeralWebBrowserSessions should be preferred. Defaults to false. | ||
/// </summary> | ||
/// <remarks> | ||
/// Setting <see cref="PrefersEphemeralWebBrowserSession"/> to true will disable <see href="https://auth0.com/docs/sso">Single Sign On (SSO)</see> on iOS 13+. | ||
/// As a consequence of that, it will also prevent from showing the popup that's being used to ask consent for using Auth0 to sign in. | ||
/// </remarks> | ||
public bool PrefersEphemeralWebBrowserSession { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters