/* 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 ForceBindingEnum = {
    UrnOasisNamesTcSaml20BindingsHttpPost: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST",
    UrnOasisNamesTcSaml20BindingsHttpRedirect: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type ForceBindingEnum = (typeof ForceBindingEnum)[keyof typeof ForceBindingEnum];

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

export function ForceBindingEnumFromJSON(json: any): ForceBindingEnum {
    return ForceBindingEnumFromJSONTyped(json, false);
}

export function ForceBindingEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): ForceBindingEnum {
    return json as ForceBindingEnum;
}

export function ForceBindingEnumToJSON(value?: ForceBindingEnum | null): any {
    return value as any;
}

export function ForceBindingEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): ForceBindingEnum {
    return value as ForceBindingEnum;
}
