/**
 * Webitel API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 24.04.0
 * Contact: support@webitel.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { WebitelImApiGatewayV1Identity } from './webitel-im-api-gateway-v1-identity';
/**
 *
 * @export
 * @interface WebitelImApiGatewayV1TokenRequest
 */
export interface WebitelImApiGatewayV1TokenRequest {
    /**
     * The client identifier issued to the client during the registration process. REQUIRED, if the client is not authenticating with the authorization server. May be transmitted in header: [X-Webitel-Client].
     * @type {string}
     * @memberof WebitelImApiGatewayV1TokenRequest
     */
    client_id?: string;
    /**
     * REQUIRED. The client secret. The client MAY omit the parameter if the client secret is an empty string.  Including the client credentials in the request-body using the two parameters is NOT RECOMMENDED and SHOULD be limited to clients unable to directly utilize the HTTP Basic authentication scheme (or other password-based HTTP authentication schemes). The parameters can only be transmitted in the request-body and MUST NOT be included in the request URI.  Keep it a secret.
     * @type {string}
     * @memberof WebitelImApiGatewayV1TokenRequest
     */
    client_secret?: string;
    /**
     * Authorization code grant. REQUIRED. When grant_type is set to \"authorization_code\".
     * @type {string}
     * @memberof WebitelImApiGatewayV1TokenRequest
     */
    code?: string;
    /**
     *
     * @type {WebitelImApiGatewayV1Identity}
     * @memberof WebitelImApiGatewayV1TokenRequest
     */
    identity?: WebitelImApiGatewayV1Identity;
    /**
     * Refresh token string to obtain NEW access token. REQUIRED. When grant_type is set to \"refresh_token\".
     * @type {string}
     * @memberof WebitelImApiGatewayV1TokenRequest
     */
    refresh_token?: string;
    /**
     *
     * @type {Array<string>}
     * @memberof WebitelImApiGatewayV1TokenRequest
     */
    scope?: Array<string>;
    /**
     *
     * @type {string}
     * @memberof WebitelImApiGatewayV1TokenRequest
     */
    state?: string;
}
//# sourceMappingURL=webitel-im-api-gateway-v1-token-request.d.ts.map