UNPKG

@rent-the-runway/rtr-react-okta-auth

Version:

React hooks library for interacting with Okta. Lock out UI and Routes based on user authentication and the okta-user-groups the user belongs to. Can also lock out UI or Routes based on Claims.

5 lines (4 loc) 192 B
import { FC } from 'react'; import IWhenHasClaimsProps from './models/IWhenHasClaimsProps'; declare const WhenNotHasAnyClaims: FC<IWhenHasClaimsProps>; export default WhenNotHasAnyClaims;