EmailPasswordAuth reference API
The EmailPasswordAuth
component is used to wrap any component that requires authentication in an application.
Example:
import SuperTokens from "supertokens-auth-react";
class App extends React.Components {
render() {
return (
<EmailPasswordAuth>
<LoggedInComponents />
</EmailPasswordAuth>
);
}
}