File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff 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
354354credentialsManager.credentials { result in
378378
379379The 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
382385let credentialsManager = CredentialsManager (authentication : Auth0.authentication ())
383386let didClear = credentialsManager.clear ()
You can’t perform that action at this time.
0 commit comments