Contents

userNeedsReauthentication(completion:)

Requests platform single sign-on to reauthenticate the current user.

Declaration

func userNeedsReauthentication(completion: @escaping  @Sendable ((any Error)?) -> Void)
func userNeedsReauthentication() async throws

Parameters

  • completion:

    The completion with the error, if any.

Discussion

Use this method to request reauthentication, such as when revoking or expiring tokens.

See Also

Performing authentication