offline_access
scope included, it will return a that can be used to request a new token without asking for credentials again.
accessToken
or idToken
properties from the Credentials instance. This is the preferred method to manage user credentials.
First import the Auth0
module:
import Auth0
Next present the page:
Result
containing either the credentials or an error.
SimpleKeychain
module:
import SimpleKeychain
Next create an instance and store the tokens you need. In this case, you will store the access_token
and refresh_token
in the Keychain after a successful authentication.