Skip to content

Commit 96701ca

Browse files
authored
Update documentation to remove mentions of iOS 12 (#804)
1 parent 83feebb commit 96701ca

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Auth0/WebAuth.swift

-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ public protocol WebAuth: Trackable, Loggable {
131131
/// Using this method will disable single sign-on (SSO).
132132
///
133133
/// - Returns: The same `WebAuth` instance to allow method chaining.
134-
/// - Requires: iOS 13+ or macOS. Has no effect on iOS 12.
135134
/// - Important: You don't need to call ``WebAuth/clearSession(federated:callback:)-9yv61`` if you are using this
136135
/// method on login, because there will be no shared cookie to remove.
137136
/// - Note: Don't use this method along with ``provider(_:)``. Use either one or the other, because this

FAQ.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Frequently Asked Questions
22

3-
1. [How can I disable the _login_ alert box?](#1-how-can-i-disable-the-login-alert-box)
4-
- [Use ephemeral sessions](#use-ephemeral-sessions)
5-
- [Use `SFSafariViewController`](#use-sfsafariviewcontroller)
6-
2. [How can I disable the _logout_ alert box?](#2-how-can-i-disable-the-logout-alert-box)
7-
3. [How can I change the message in the alert box?](#3-how-can-i-change-the-message-in-the-alert-box)
8-
4. [How can I programmatically close the alert box?](#4-how-can-i-programmatically-close-the-alert-box)
3+
- [1. How can I disable the _login_ alert box?](#1-how-can-i-disable-the-login-alert-box)
4+
- [Use ephemeral sessions](#use-ephemeral-sessions)
5+
- [Use `SFSafariViewController`](#use-sfsafariviewcontroller)
6+
- [2. How can I disable the _logout_ alert box?](#2-how-can-i-disable-the-logout-alert-box)
7+
- [3. How can I change the message in the alert box?](#3-how-can-i-change-the-message-in-the-alert-box)
8+
- [4. How can I programmatically close the alert box?](#4-how-can-i-programmatically-close-the-alert-box)
99

1010
---
1111

@@ -36,7 +36,7 @@ Auth0
3636
Note that with `useEphemeralSession()` you don't need to call `clearSession(federated:)` at all. Just clearing the credentials from the app will suffice. What `clearSession(federated:)` does is clear the shared session cookie, so that in the next login call the user gets asked to log in again. But with `useEphemeralSession()` there will be no shared cookie to remove.
3737

3838
> **Note**
39-
> `useEphemeralSession()` relies on the `prefersEphemeralWebBrowserSession` configuration option of `ASWebAuthenticationSession`. This option is only available on [iOS 13+ and macOS](https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession/3237231-prefersephemeralwebbrowsersessio), so `useEphemeralSession()` will have no effect on iOS 12. To improve the experience for iOS 12 users, see the approach described below.
39+
> `useEphemeralSession()` relies on the `prefersEphemeralWebBrowserSession` configuration option of `ASWebAuthenticationSession`.
4040
4141
### Use `SFSafariViewController`
4242

0 commit comments

Comments
 (0)