verifyAuthToken

verifyAuthToken is a method on the faucet object that verifies if an authentication token is still valid and not expired.

verifyAuthToken does not require authentication.

Examples

verifyAuthToken

const result = await ario.faucet.verifyAuthToken('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...');

Parameters

ParameterTypeDescriptionOptional
authTokenstringThe authentication token to verifyfalse

Output

{
  "valid": true
}

Was this page helpful?