Session Management
Token Retrieval
If you need to manage your user's sessions, Ramper SDK exposes an idToken and a refreshToken. These tokens will be returned in a ramperCredential
property if issueIdToken
is set to true
in the init
function.
Token Verification
The idToken is a JWT can be verified with your App Secret obtained through the developer console. (use "import * as jwt from 'jsonwebtoken'")
Retrieving a new refreshToken if the existing refreshToken is still valid:
Last updated