Skip to content

Class: ApiUserControllerApi

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ApiUserControllerApi(configuration?)

Parameters

Name Type
configuration Configuration

Inherited from

BaseAPI.constructor

Properties

configuration

Protected configuration: Configuration

Inherited from

BaseAPI.configuration

Methods

getJsonPropertyAsString

getJsonPropertyAsString(requestParameters, initOverrides?): Promise<string>

Utility function to extract properties from JSON objects in language where this is cumbersome.

Parameters

Name Type
requestParameters GetJsonPropertyAsStringRequest
initOverrides? RequestInit

Returns

Promise<string>


getJsonPropertyAsStringRaw

getJsonPropertyAsStringRaw(requestParameters, initOverrides?): Promise<ApiResponse<string>>

Utility function to extract properties from JSON objects in language where this is cumbersome.

Parameters

Name Type
requestParameters GetJsonPropertyAsStringRequest
initOverrides? RequestInit

Returns

Promise<ApiResponse<string>>


getUserInfo

getUserInfo(initOverrides?): Promise<UserInfoDto>

Parameters

Name Type
initOverrides? RequestInit

Returns

Promise<UserInfoDto>


getUserInfoRaw

getUserInfoRaw(initOverrides?): Promise<ApiResponse<UserInfoDto>>

Parameters

Name Type
initOverrides? RequestInit

Returns

Promise<ApiResponse<UserInfoDto>>


request

Protected request(context, initOverrides?): Promise<Response>

Parameters

Name Type
context RequestOpts
initOverrides? RequestInit

Returns

Promise<Response>

Inherited from

BaseAPI.request


withMiddleware

withMiddleware<T>(this, ...middlewares): T

Type parameters

Name Type
T extends BaseAPI<T>

Parameters

Name Type
this T
...middlewares Middleware[]

Returns

T

Inherited from

BaseAPI.withMiddleware


withPostMiddleware

withPostMiddleware<T>(this, ...postMiddlewares): T

Type parameters

Name Type
T extends BaseAPI<T>

Parameters

Name Type
this T
...postMiddlewares (context: ResponseContext) => Promise<void

Returns

T

Inherited from

BaseAPI.withPostMiddleware


withPreMiddleware

withPreMiddleware<T>(this, ...preMiddlewares): T

Type parameters

Name Type
T extends BaseAPI<T>

Parameters

Name Type
this T
...preMiddlewares (context: RequestContext) => Promise<void

Returns

T

Inherited from

BaseAPI.withPreMiddleware