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) 200 B
import { FC } from 'react'; import IRouteWhenHasClaimProps from './models/IRouteWhenHasClaimProps'; declare const RouteWhenHasClaim: FC<IRouteWhenHasClaimProps>; export default RouteWhenHasClaim;