/* 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 AuthenticationEnum = {
    None: 'none',
    RequireAuthenticated: 'require_authenticated',
    RequireUnauthenticated: 'require_unauthenticated',
    RequireSuperuser: 'require_superuser',
    RequireRedirect: 'require_redirect',
    RequireOutpost: 'require_outpost',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type AuthenticationEnum = typeof AuthenticationEnum[keyof typeof AuthenticationEnum];


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

export function AuthenticationEnumFromJSON(json: any): AuthenticationEnum {
    return AuthenticationEnumFromJSONTyped(json, false);
}

export function AuthenticationEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticationEnum {
    return json as AuthenticationEnum;
}

export function AuthenticationEnumToJSON(value?: AuthenticationEnum | null): any {
    return value as any;
}

export function AuthenticationEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AuthenticationEnum {
    return value as AuthenticationEnum;
}

