andculturecode-javascript-react › AuthenticatedRouteProps
▪ C: StaticContext
▪ S
-
RouteComponentProps‹any›
-
↳ AuthenticatedRouteProps
• history: History‹S›
Inherited from AuthenticatedRouteProps.history
Defined in node_modules/@types/react-router/index.d.ts:75
• isAuthenticated: boolean
Inherited from AuthenticatedRoute.isAuthenticated
Defined in src/interfaces/authenticated-route.ts:12
Flag to determine whether the current user is authenticated or not.
memberof AuthenticatedRouteProps
• location: Location‹S›
Inherited from AuthenticatedRouteProps.location
Defined in node_modules/@types/react-router/index.d.ts:76
• match: match‹any›
Inherited from AuthenticatedRouteProps.match
Defined in node_modules/@types/react-router/index.d.ts:77
• redirectToIfUnauthenticated? : undefined | string
Inherited from AuthenticatedRoute.redirectToIfUnauthenticated
Defined in src/interfaces/authenticated-route.ts:20
Route to redirect to if the current user is not authenticated.
memberof UnauthenticatedRedirectProps
• render: function
Defined in src/components/routing/authenticated-route.tsx:14
▸ (props: any): any
Parameters:
| Name | Type |
|---|---|
props |
any |
• route: RouteDefinition
Defined in src/components/routing/authenticated-route.tsx:13
• staticContext? : C
Inherited from AuthenticatedRouteProps.staticContext
Defined in node_modules/@types/react-router/index.d.ts:78