async-xbox-live-api
Version:
Async library to enable you to interact with the xbox live api
7 lines (6 loc) • 495 B
TypeScript
import { AccessTokenResult, AuthResult, GetAuthResult, PreAuthResult } from '../types';
export declare const fetchPreAuthData: () => Promise<PreAuthResult>;
export declare const fetchInitialAccessToken: (options: PreAuthResult) => Promise<AccessTokenResult>;
export declare const authenticate: (options: AccessTokenResult) => Promise<AuthResult>;
export declare const authorize: (options: AuthResult) => Promise<GetAuthResult>;
export declare const validateTokenStillValid: () => Promise<void>;