/** * Invicti Enterprise API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from './models'; import { BasicAuthenticationSettingApiModel } from './basicAuthenticationSettingApiModel'; import { FormAuthenticationSettingApiModel } from './formAuthenticationSettingApiModel'; import { NameValuePair } from './nameValuePair'; import { OAuth2SettingEndpoint } from './oAuth2SettingEndpoint'; import { ResponseFields } from './responseFields'; import { ThreeLeggedFields } from './threeLeggedFields'; /** * Provides an inputs for OAuth 2.0 Flow. */ export class OAuth2SettingApiModel { /** * Gets or sets the SerializedPolicyData. */ 'serializedPolicyData'?: string; 'flowType'?: OAuth2SettingApiModel.FlowTypeEnum; 'authenticationType'?: OAuth2SettingApiModel.AuthenticationTypeEnum; 'accessTokenEndpoint'?: OAuth2SettingEndpoint; 'authorizationCodeEndpoint'?: OAuth2SettingEndpoint; 'accessTokenItems'?: Array; 'authorizationCodeItems'?: Array; 'responseFields'?: ResponseFields; 'threeLeggedFields'?: ThreeLeggedFields; /** * Gets or sets the identifier. */ 'id'?: string; /** * Gets or sets the header authentication settings. */ 'headers'?: Array; 'formAuthenticationSetting'?: FormAuthenticationSettingApiModel; 'basicAuthenticationSetting'?: BasicAuthenticationSettingApiModel; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "serializedPolicyData", "baseName": "SerializedPolicyData", "type": "string" }, { "name": "flowType", "baseName": "FlowType", "type": "OAuth2SettingApiModel.FlowTypeEnum" }, { "name": "authenticationType", "baseName": "AuthenticationType", "type": "OAuth2SettingApiModel.AuthenticationTypeEnum" }, { "name": "accessTokenEndpoint", "baseName": "AccessTokenEndpoint", "type": "OAuth2SettingEndpoint" }, { "name": "authorizationCodeEndpoint", "baseName": "AuthorizationCodeEndpoint", "type": "OAuth2SettingEndpoint" }, { "name": "accessTokenItems", "baseName": "AccessTokenItems", "type": "Array" }, { "name": "authorizationCodeItems", "baseName": "AuthorizationCodeItems", "type": "Array" }, { "name": "responseFields", "baseName": "ResponseFields", "type": "ResponseFields" }, { "name": "threeLeggedFields", "baseName": "ThreeLeggedFields", "type": "ThreeLeggedFields" }, { "name": "id", "baseName": "Id", "type": "string" }, { "name": "headers", "baseName": "Headers", "type": "Array" }, { "name": "formAuthenticationSetting", "baseName": "FormAuthenticationSetting", "type": "FormAuthenticationSettingApiModel" }, { "name": "basicAuthenticationSetting", "baseName": "BasicAuthenticationSetting", "type": "BasicAuthenticationSettingApiModel" } ]; static getAttributeTypeMap() { return OAuth2SettingApiModel.attributeTypeMap; } } export namespace OAuth2SettingApiModel { export enum FlowTypeEnum { AuthorizationCode = 'AuthorizationCode', Implicit = 'Implicit', ResourceOwnerPasswordCredentials = 'ResourceOwnerPasswordCredentials', ClientCredentials = 'ClientCredentials', Custom = 'Custom' } export enum AuthenticationTypeEnum { None = 'None', Form = 'Form', Basic = 'Basic' } }