Skip to main content

Function: verify_oauth_token()

function verify_oauth_token(req): Promise<IKeyValue>;

Defined in: src/index.ts:50

Verifies the validity of the OAuth Token from Google or Apple

Parameters

ParameterTypeDescription
reqHttpRequestThe HTTP request from the jwt4jwt endpoint

Returns

Promise<IKeyValue>

A new token object with the JWT, user information, and token information