psn-api
Version:
A well-tested library that lets you get trophy, user, and game data from the PlayStation Network.
14 lines (13 loc) • 433 B
TypeScript
export interface AuthTokensResponse {
/** Used to retrieve data from the PSN API. */
accessToken: string;
/** When the access token will expire. */
expiresIn: number;
idToken: string;
/** Used to retrieve a new access token when it expires. */
refreshToken: string;
/** When the refresh token will expire. */
refreshTokenExpiresIn: number;
scope: string;
tokenType: string;
}