/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * 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 BackendsEnum = { AuthentikCoreAuthInbuiltBackend: 'authentik.core.auth.InbuiltBackend', AuthentikCoreAuthTokenBackend: 'authentik.core.auth.TokenBackend', AuthentikSourcesLdapAuthLdapBackend: 'authentik.sources.ldap.auth.LDAPBackend', AuthentikSourcesKerberosAuthKerberosBackend: 'authentik.sources.kerberos.auth.KerberosBackend', UnknownDefaultOpenApi: '11184809' } as const; export type BackendsEnum = typeof BackendsEnum[keyof typeof BackendsEnum]; export function instanceOfBackendsEnum(value: any): boolean { for (const key in BackendsEnum) { if (Object.prototype.hasOwnProperty.call(BackendsEnum, key)) { if (BackendsEnum[key as keyof typeof BackendsEnum] === value) { return true; } } } return false; } export function BackendsEnumFromJSON(json: any): BackendsEnum { return BackendsEnumFromJSONTyped(json, false); } export function BackendsEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackendsEnum { return json as BackendsEnum; } export function BackendsEnumToJSON(value?: BackendsEnum | null): any { return value as any; } export function BackendsEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): BackendsEnum { return value as BackendsEnum; }