lunify.js
Version:
A basic api wrapper for the spotify api covering the oauth routes.
17 lines (16 loc) • 416 B
TypeScript
import { Lunify } from '../..';
export declare class CredentialsManager {
client: Lunify;
accessToken?: string;
tokenType?: string;
scope?: string;
expiresIn?: number;
expiresTimestamp?: number;
createdTimestamp?: number;
constructor(client: Lunify);
fetch(): Promise<this>;
/**
* Generates a authorization token header
*/
getAuthorization(): Promise<string>;
}