authnull-auth-js
v1.0.5
Published
Authenticate your application via single-factor and two-factor authentication.
Downloads
12
Maintainers
Readme
authnull-auth-js
Authenticate your application via single-factor and two-factor authentication.
Installation
You can install authnull-auth-js using npm:
npm install authnull-auth-js
Usage
To use authnull-auth-js, import the Authnull component and wrap your application with it:
import Authnull from "authnull-auth-js";
Use AuthnullComponent in your JSX to display Login:
return (
<div className="App">
return <Authnull token="*********" />; {/* Your other JSX content */}
</div>
);
Example
Here's a basic example of how to use authnull-auth-js:
import React from "react";
import Authnull from "authnull-auth-js";
function App() {
return <Authnull token="*********" />;
}
export default App;
License
This project is licensed under the MIT License - see the LICENSE file for details.