/* 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 SAMLLogoutMethods = {
    FrontchannelIframe: "frontchannel_iframe",
    FrontchannelNative: "frontchannel_native",
    Backchannel: "backchannel",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type SAMLLogoutMethods = (typeof SAMLLogoutMethods)[keyof typeof SAMLLogoutMethods];

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

export function SAMLLogoutMethodsFromJSON(json: any): SAMLLogoutMethods {
    return SAMLLogoutMethodsFromJSONTyped(json, false);
}

export function SAMLLogoutMethodsFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): SAMLLogoutMethods {
    return json as SAMLLogoutMethods;
}

export function SAMLLogoutMethodsToJSON(value?: SAMLLogoutMethods | null): any {
    return value as any;
}

export function SAMLLogoutMethodsToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): SAMLLogoutMethods {
    return value as SAMLLogoutMethods;
}
