UNPKG

@bitzonegaming/roleplay-engine-sdk

Version:
14 lines (13 loc) 799 B
import { ApiOptions, EngineClient } from '../core/engine-client'; import { UserInfo } from './models/user-info'; export declare class UserInfoApi { private readonly client; constructor(client: EngineClient); /** * Returns the user information of the authenticated user, including account policies, username, and email.<br/>This endpoint performs server-level operations. The token does not need to be associated with any account or character.<br/><br/> This endpoint requires authorization, and supports following token types:<br/>🔓 [SSO Token]<br/>🔓 [Access Token]<br/>🔓 [Session Token] * @summary Get user info * @param {*} [options] Override http request option. * @throws {EngineError} */ getUserInfo(options?: ApiOptions): Promise<UserInfo>; }