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.

8 lines (7 loc) 233 B
import { IOktaContext } from '@okta/okta-react/bundles/types/OktaContext'; import * as React from 'react'; interface Props { authCtx: IOktaContext; } declare const RtrOktaAuth: React.FC<Props>; export default RtrOktaAuth;