How to verify token ?
Hi,
Thanks for this great plugin ! 👍🙏
I have a question. How can I verify a (previously stored) token when my app starts ?
More details. After logged, I have an "access token" and a "refresh token". I store this both. When the app starts again, I want to verify if the token is still valid. If not I will as for a refresh token. So my question is how to verify the current token ?
Thanks,
Xavier
You can verify if the stored access token is valid by checking the "accessTokenExpirationDateTime" attribute.
Store the attribute to retrieve it later together with the access token and refresh token.
Thanks for your help in answering @PedroHenrique-42