/* 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 ProviderTypeEnum = { Apple: 'apple', Openidconnect: 'openidconnect', Azuread: 'azuread', Discord: 'discord', Facebook: 'facebook', Github: 'github', Gitlab: 'gitlab', Google: 'google', Mailcow: 'mailcow', Okta: 'okta', Patreon: 'patreon', Reddit: 'reddit', Twitch: 'twitch', Twitter: 'twitter', UnknownDefaultOpenApi: '11184809' } as const; export type ProviderTypeEnum = typeof ProviderTypeEnum[keyof typeof ProviderTypeEnum]; export function instanceOfProviderTypeEnum(value: any): boolean { for (const key in ProviderTypeEnum) { if (Object.prototype.hasOwnProperty.call(ProviderTypeEnum, key)) { if (ProviderTypeEnum[key as keyof typeof ProviderTypeEnum] === value) { return true; } } } return false; } export function ProviderTypeEnumFromJSON(json: any): ProviderTypeEnum { return ProviderTypeEnumFromJSONTyped(json, false); } export function ProviderTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderTypeEnum { return json as ProviderTypeEnum; } export function ProviderTypeEnumToJSON(value?: ProviderTypeEnum | null): any { return value as any; } export function ProviderTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): ProviderTypeEnum { return value as ProviderTypeEnum; }