/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.0-rc1
 * 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.
 */


/**
 * 
 * @export
 */
export const AuthModeEnum = {
    Static: 'static',
    Prompt: 'prompt',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type AuthModeEnum = typeof AuthModeEnum[keyof typeof AuthModeEnum];


export function instanceOfAuthModeEnum(value: any): boolean {
    for (const key in AuthModeEnum) {
        if (Object.prototype.hasOwnProperty.call(AuthModeEnum, key)) {
            if (AuthModeEnum[key as keyof typeof AuthModeEnum] === value) {
                return true;
            }
        }
    }
    return false;
}

export function AuthModeEnumFromJSON(json: any): AuthModeEnum {
    return AuthModeEnumFromJSONTyped(json, false);
}

export function AuthModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthModeEnum {
    return json as AuthModeEnum;
}

export function AuthModeEnumToJSON(value?: AuthModeEnum | null): any {
    return value as any;
}

export function AuthModeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AuthModeEnum {
    return value as AuthModeEnum;
}

