/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.5.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 WebAuthnHintEnum = {
    SecurityKey: "security-key",
    ClientDevice: "client-device",
    Hybrid: "hybrid",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type WebAuthnHintEnum = (typeof WebAuthnHintEnum)[keyof typeof WebAuthnHintEnum];

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

export function WebAuthnHintEnumFromJSON(json: any): WebAuthnHintEnum {
    return WebAuthnHintEnumFromJSONTyped(json, false);
}

export function WebAuthnHintEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): WebAuthnHintEnum {
    return json as WebAuthnHintEnum;
}

export function WebAuthnHintEnumToJSON(value?: WebAuthnHintEnum | null): any {
    return value as any;
}

export function WebAuthnHintEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): WebAuthnHintEnum {
    return value as WebAuthnHintEnum;
}
