guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
19 lines (18 loc) • 586 B
TypeScript
import { ApiBase } from '../../base/apiBase';
/**
* /v2/tokeninfo Api
*/
export declare class TokenInfoApi extends ApiBase {
/**
* Returns information about the supplied API key.
*/
get(): Promise<{
id: string;
name: string;
permissions: ("account" | "progression" | "wallet" | "wvw" | "characters" | "pvp" | "guilds" | "unlocks" | "builds" | "inventories" | "tradingpost")[];
type: "APIKey" | "Subtoken";
expires_at?: string | undefined;
issued_at?: string | undefined;
urls?: string[] | undefined;
}>;
}