/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { TokenScope } from './TokenScope'; /** * * @export * @interface OauthRequest */ export interface OauthRequest { /** * Temporary auth code for oauth2 access * @type {string} * @memberof OauthRequest */ code?: string; /** * Temporary auth code verifier for oauth2 access * @type {string} * @memberof OauthRequest */ codeVerifier?: string; /** * Temporary auth state for oauth2 access * @type {string} * @memberof OauthRequest */ state: string; /** * Optional captcha token to verify that the user is not a bot * @type {string} * @memberof OauthRequest */ captchaToken?: string; /** * * @type {string} * @memberof OauthRequest */ sessionPublicKey?: string; /** * * @type {string} * @memberof OauthRequest */ ssoProviderId?: string; /** * Optional list of scopes to include in the elevated access token. * @type {Array} * @memberof OauthRequest */ requestedScopes?: Array; } export declare function OauthRequestFromJSON(json: any): OauthRequest; export declare function OauthRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OauthRequest; export declare function OauthRequestToJSON(value?: OauthRequest | null): any;