/* 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 AlgEnum = {
    Rsa: 'rsa',
    Ecdsa: 'ecdsa',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type AlgEnum = typeof AlgEnum[keyof typeof AlgEnum];


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

export function AlgEnumFromJSON(json: any): AlgEnum {
    return AlgEnumFromJSONTyped(json, false);
}

export function AlgEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlgEnum {
    return json as AlgEnum;
}

export function AlgEnumToJSON(value?: AlgEnum | null): any {
    return value as any;
}

export function AlgEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AlgEnum {
    return value as AlgEnum;
}

