authenticator-app.ts 592 B

123456789101112131415161718
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import { EnumTwoFactorAuthenticationMethod } from '#shared/graphql/types.ts'
  3. import type { TwoFactorPlugin } from '../types.ts'
  4. export default {
  5. name: EnumTwoFactorAuthenticationMethod.AuthenticatorApp,
  6. label: __('Authenticator App'),
  7. description: __(
  8. 'Get the security code from the authenticator app on your device.',
  9. ),
  10. order: 200,
  11. icon: '2fa-authenticator-app',
  12. loginOptions: {
  13. helpMessage: __('Enter the code from your two-factor authenticator app.'),
  14. },
  15. } satisfies TwoFactorPlugin