Skip to content

Commit ebb3ff1

Browse files
address comments
1 parent f9065df commit ebb3ff1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ let didStore = credentialsManager.store(credentials: credentials)
348348

349349
### Retrieve stored credentials
350350

351-
The credentials will be automatically renewed (if expired) using the refresh token.
351+
Retrieve the stored credentials from the Keychain. If the credentials have expired, they will be automatically renewed using the refresh token.
352352

353353
```swift
354354
credentialsManager.credentials { result in
@@ -378,6 +378,9 @@ do {
378378

379379
The stored credentials can be removed from the Keychain by using the `clear()` method.
380380

381+
> [!NOTE]
382+
> It is recommended to call `clear()` when the user logs out of the application to remove their credentials from the Keychain.
383+
381384
```swift
382385
let credentialsManager = CredentialsManager(authentication: Auth0.authentication())
383386
let didClear = credentialsManager.clear()

0 commit comments

Comments
 (0)