/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * Contact: hello@goauthentik.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * Identification challenge * @export * @interface IdentificationChallengeResponseRequest */ export interface IdentificationChallengeResponseRequest { /** * * @type {string} * @memberof IdentificationChallengeResponseRequest */ component?: string; /** * * @type {string} * @memberof IdentificationChallengeResponseRequest */ uidField: string; /** * * @type {string} * @memberof IdentificationChallengeResponseRequest */ password?: string | null; /** * * @type {string} * @memberof IdentificationChallengeResponseRequest */ captchaToken?: string | null; } /** * Check if a given object implements the IdentificationChallengeResponseRequest interface. */ export function instanceOfIdentificationChallengeResponseRequest(value: object): value is IdentificationChallengeResponseRequest { if (!('uidField' in value) || value['uidField'] === undefined) return false; return true; } export function IdentificationChallengeResponseRequestFromJSON(json: any): IdentificationChallengeResponseRequest { return IdentificationChallengeResponseRequestFromJSONTyped(json, false); } export function IdentificationChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentificationChallengeResponseRequest { if (json == null) { return json; } return { 'component': json['component'] == null ? undefined : json['component'], 'uidField': json['uid_field'], 'password': json['password'] == null ? undefined : json['password'], 'captchaToken': json['captcha_token'] == null ? undefined : json['captcha_token'], }; } export function IdentificationChallengeResponseRequestToJSON(json: any): IdentificationChallengeResponseRequest { return IdentificationChallengeResponseRequestToJSONTyped(json, false); } export function IdentificationChallengeResponseRequestToJSONTyped(value?: IdentificationChallengeResponseRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'component': value['component'], 'uid_field': value['uidField'], 'password': value['password'], 'captcha_token': value['captchaToken'], }; }