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