0.55.8 • Published 4 months ago

@startupjs/2fa-push-notification-provider v0.55.8

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

@startupjs/2fa-push-notification-provider

Provider for verification via @startupjs/push-notification.

Dependencies

@startupjs/2fa-manager >= 0.35.10,
@startupjs/push-notification >= 0.35.10

Installation

  yarn add @startupjs/2fa-push-notification-provider

IMPORTANT: To use this package, you need to include the @startupjs/push-notification package as specified in the documentation.

Using

You need to import the PushProvider component from @startupjs/2fa-push-notification-provider.

import { PushProvider } from '@startupjs/2fa-push-notification-provider'

Then you need to add PushProvider to theproviders array of initTwoFAManager. The second argument of the array is the options for the provider. Here you can set the optional codeMaxAge parameter, this time during which the code is considered valid. By default, codeMaxAge = 30000

initTwoFAManager(ee, {
  providers: [
    [PushProvider, { codeMaxAge: 'YOUR_TIME_IN_MS' }]
  ]
})
0.56.0-alpha.0

4 months ago

0.55.7

5 months ago

0.55.8

5 months ago

0.55.0-alpha.12

6 months ago

0.55.0-alpha.1

7 months ago

0.55.0

6 months ago

0.54.1

7 months ago

0.54.2

7 months ago

0.53.0

9 months ago

0.54.0

7 months ago

0.52.1

12 months ago

0.51.0

12 months ago

0.52.0

12 months ago

0.50.13

1 year ago

0.50.12

1 year ago

0.50.5

1 year ago

0.48.0

2 years ago

0.49.0

1 year ago

0.47.0

2 years ago

0.46.0

2 years ago

0.45.0

2 years ago

0.44.0

2 years ago

0.42.0

2 years ago

0.43.0

2 years ago

0.41.2

2 years ago

0.41.0

2 years ago

0.43.1

2 years ago

0.39.11

3 years ago

0.40.0

3 years ago

0.39.0

3 years ago

0.38.0

3 years ago

0.37.0

3 years ago

0.36.0

3 years ago