Getting the Tokens
Getting an access token from Cotter's SDK is as easy as setting a variable to `true`.
{
...
"oauth_token": {
"access_token": "eyJhbGciOiJFUzI1sInR5cC...",
"auth_method": "TRUSTED_DEVICE", // authentication method used
"expires_in": 3600, // expiry in seconds
"id_token": "eyJhbGciOiJFUz...",
"refresh_token": "60:79hbLxl3aTjWWgCcIRnn...",
"token_type": "Bearer"
}
}Getting Tokens using the SDK
During Email/Phone VerificationDuring AuthenticationDuring enrolling Trusted DevicesGetting Tokens using HTTP Request
Using the Refresh TokenLast updated