Appearance
Documentation / expo / getAccessToken
Function: getAccessToken()
getAccessToken():
Promise
<string
|null
>
Get the access token for the current user, if they are logged in. This method will refresh the user's access token if is nearing expiration or has expired.
Returns
Promise
<string
| null
>
The access token if the user is logged in, otherwise null
.