Function isOAuthTokenResponse

  • Type guard for OAuth token response from the authorization server

    Parameters

    • json: unknown

    Returns json is {
        access_token: string;
        expires_in: number;
    }