UNPKG

@lamarcke/psn-api

Version:

A well-tested library that lets you get trophy, user, and game data from the PlayStation Network.

7 lines (6 loc) 355 B
import type { AuthTokensResponse } from "../models"; /** * @param accessCode Your access code, typically retrieved by using `exchangeNpssoForCode()`. * @returns An object containing an access token, refresh token, and expiry times for both. */ export declare const exchangeCodeForAccessToken: (accessCode: string) => Promise<AuthTokensResponse>;