@oneblink/apps-react
    Preparing search index...

    Function MultiFactorAuthentication

    • React Component that provides a mechanism for app users to configure Multi Factor Authentication. <MfaProvider /> must be provided above this component in the component tree.

      import * as React from 'react'
      import {
      MfaProvider,
      MultiFactorAuthentication,
      } from '@oneblink/apps-react'

      function Component() {
      return <MultiFactorAuthentication mfaRequirement={undefined} />
      }

      function AppWithMfaRequirement({ mfaRequirement }) {
      return (
      <MfaProvider>
      <MultiFactorAuthentication mfaRequirement={mfaRequirement} />
      </MfaProvider>
      )
      }

      Parameters

      • props: Props
        • mfaRequirement

          The MFA methods allowed by your administrator for using this app. Pass undefined when the app has no MFA requirement. Users can still enable other methods, but will be warned when their configuration does not meet this requirement.

      Returns Element