FunctionMultiFactorAuthentication

  • 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 />
    }

    function App() {
    return (
    <MfaProvider>
    <Component />
    </MfaProvider>
    )
    }

    const root = document.getElementById('root')
    if (root) {
    ReactDOM.render(<App />, root)
    }

    Parameters

    • props: Props

    Returns Element