UNPKG

onelnchr-mc-auth

Version:

Package to authenticate with minecraft. Fork of minecraft-auth by dommilosz which uses my own appID by default.

4 lines (3 loc) 416 B
export declare function HttpGet_BEARER(url: string, token: string, headers?: {}, objectResponse?: boolean): Promise<any>; export declare function HttpCustom_BEARER(method: string, url: string, token: string, body?: string, headers?: any, objectResponse?: boolean): Promise<any>; export declare function HttpPost_BEARER(url: string, data: string, token: string, headers?: {}, objectResponse?: boolean): Promise<any>;