Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LoginApi

LoginApi - object-oriented interface

export

Hierarchy

  • BaseAPI
    • LoginApi

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • Optional configuration: Configuration
    • basePath: string = ...
    • axios: AxiosInstance = ...

    Returns LoginApi

Properties

Protected axios

axios: AxiosInstance = ...

Protected basePath

basePath: string = ...

Protected configuration

configuration: undefined | Configuration

Methods

loginPost

  • Login to the Shifter. username and password are required. Return AccessToken and RefreshToken when the request succeeded.

    throws

    {RequiredError}

    memberof

    LoginApi

    Parameters

    Returns Promise<AxiosResponse<LoginPostResponse>>

loginPut

  • loginPut(request: InlineObject, options?: any): Promise<AxiosResponse<object>>
  • Refresh AccessToken by RefreshToken. Return new AccessToken when request succeeded.

    throws

    {RequiredError}

    memberof

    LoginApi

    Parameters

    Returns Promise<AxiosResponse<object>>

Generated using TypeDoc