Skip to content

Instantly share code, notes, and snippets.

@hendrixroa
Created March 3, 2023 20:49
Show Gist options
  • Save hendrixroa/3d74e3118158bab279ca5b3f64f2bfdf to your computer and use it in GitHub Desktop.
Save hendrixroa/3d74e3118158bab279ca5b3f64f2bfdf to your computer and use it in GitHub Desktop.
Snippet code to add authentication to a component
export default withAuthenticator(Swagger, true, [
<Greetings />,
<Loading />,
<SignIn />,
<RequireNewPassword/>,
<ForgotPassword />,
],
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment