This repository has been archived by the owner on Jun 17, 2021. It is now read-only.
forked from auth0/Auth0.swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CredentialsManager function to clear and revoke the refresh token (au…
…th0#312) * Added CredentialsManager.clearAndRevokeToken(), superceding .clear() * Added deprecation notice above the old clear() method * Added an example of `clearAndRevokeToken` to the readme * Fixed unit tests They needed a sprinkling of `waitUntil` blocks so that the tests didn't trip over themselves with clearing credentials asynchronously while other tests were running. * Reverted changes to icons and storyboard * Removed the default case in favour of .success * Bumped timeout values inline with other waitUntil calls May fix timeout issue when running in CI environment * Bumped timeout for clearAndRevoke for multi manager tests * Reversed 'clear' deprecation, reverted tests * Tests have been reverted to a previous state where they used `clear` to remove credentials between tests, now that `clear` is no longer depcreated * Appropriate use of `waitUntil` has been restored into the tests so that they run properly * Renamed clearAndRevokeToken to revoke, updated README * Applied readme changes based on review feedback * Added more detail to doc comments for revoke method * Reworded test spec for clarity
- Loading branch information
Showing
4 changed files
with
119 additions
and
0 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
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
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