/**
*
* # Introduction The Rest API is the webservices that allow you to automatically manage the wallets and operations. Many DIRECTKIT functionalities are also available manually using the BACKOFFICE # Authentication This service strictly follow the chapter 4.4.2 "Access Token request" of the RFC 6749 "the Oauth2 2.0 Authorization Framework". This Api is consume by the client api, a restrict control on IP is applied.
The unique method exposed by this api allow customers to ask for a unique bearer access token. A bearer allow the customer to consume their api Rest without the need of sending their plain text login and password.
This method has these scenario:
- In case the bearer do not exist, the method create a new bearer.
- In case the bearer already exist, it return the actual bearer with the remaining time left.
- In case the bearer lifetime is over, this method create a new bearer and delete the previous one.
*
* The version of the OpenAPI document: 1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface Bearer
*/
export interface Bearer {
/**
*
* @type {string}
* @memberof Bearer
*/
tokenType: string;
/**
*
* @type {string}
* @memberof Bearer
*/
readonly accessToken: string;
/**
*
* @type {number}
* @memberof Bearer
*/
readonly expiresIn?: number;
}
/**
* Check if a given object implements the Bearer interface.
*/
export declare function instanceOfBearer(value: object): boolean;
export declare function BearerFromJSON(json: any): Bearer;
export declare function BearerFromJSONTyped(json: any, ignoreDiscriminator: boolean): Bearer;
export declare function BearerToJSON(value?: Bearer | null): any;