Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation to remove mentions of iOS 12 #804

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Auth0/WebAuth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ public protocol WebAuth: Trackable, Loggable {
/// Using this method will disable single sign-on (SSO).
///
/// - Returns: The same `WebAuth` instance to allow method chaining.
/// - Requires: iOS 13+ or macOS. Has no effect on iOS 12.
/// - Important: You don't need to call ``WebAuth/clearSession(federated:callback:)-9yv61`` if you are using this
/// method on login, because there will be no shared cookie to remove.
/// - Note: Don't use this method along with ``provider(_:)``. Use either one or the other, because this
Expand Down
14 changes: 7 additions & 7 deletions FAQ.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Frequently Asked Questions

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

---

Expand Down Expand Up @@ -36,7 +36,7 @@ Auth0
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.

> **Note**
> `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.
> `useEphemeralSession()` relies on the `prefersEphemeralWebBrowserSession` configuration option of `ASWebAuthenticationSession`.

### Use `SFSafariViewController`

Expand Down
Loading