mirror of
https://github.com/goauthentik/authentik
synced 2026-04-25 17:15:26 +02:00
55 lines
1.7 KiB
TypeScript
55 lines
1.7 KiB
TypeScript
/* 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 AuthenticatorAttachmentEnum = {
|
|
Platform: 'platform',
|
|
CrossPlatform: 'cross-platform',
|
|
UnknownDefaultOpenApi: '11184809'
|
|
} as const;
|
|
export type AuthenticatorAttachmentEnum = typeof AuthenticatorAttachmentEnum[keyof typeof AuthenticatorAttachmentEnum];
|
|
|
|
|
|
export function instanceOfAuthenticatorAttachmentEnum(value: any): boolean {
|
|
for (const key in AuthenticatorAttachmentEnum) {
|
|
if (Object.prototype.hasOwnProperty.call(AuthenticatorAttachmentEnum, key)) {
|
|
if (AuthenticatorAttachmentEnum[key as keyof typeof AuthenticatorAttachmentEnum] === value) {
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
export function AuthenticatorAttachmentEnumFromJSON(json: any): AuthenticatorAttachmentEnum {
|
|
return AuthenticatorAttachmentEnumFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function AuthenticatorAttachmentEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorAttachmentEnum {
|
|
return json as AuthenticatorAttachmentEnum;
|
|
}
|
|
|
|
export function AuthenticatorAttachmentEnumToJSON(value?: AuthenticatorAttachmentEnum | null): any {
|
|
return value as any;
|
|
}
|
|
|
|
export function AuthenticatorAttachmentEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AuthenticatorAttachmentEnum {
|
|
return value as AuthenticatorAttachmentEnum;
|
|
}
|
|
|