Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 3.36 KB

File metadata and controls

124 lines (67 loc) · 3.36 KB

andculturecode-javascript-reactAuthenticatedRouteProps

Interface: AuthenticatedRouteProps <C, S>

Type parameters

C: StaticContext

S

Hierarchy

Index

Properties

Properties

history

history: History‹S›

Inherited from AuthenticatedRouteProps.history

Defined in node_modules/@types/react-router/index.d.ts:75


isAuthenticated

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: Location‹S›

Inherited from AuthenticatedRouteProps.location

Defined in node_modules/@types/react-router/index.d.ts:76


match

match: match‹any›

Inherited from AuthenticatedRouteProps.match

Defined in node_modules/@types/react-router/index.d.ts:77


Optional redirectToIfUnauthenticated

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

render: function

Defined in src/components/routing/authenticated-route.tsx:14

Type declaration:

▸ (props: any): any

Parameters:

Name Type
props any

route

route: RouteDefinition

Defined in src/components/routing/authenticated-route.tsx:13


Optional staticContext

staticContext? : C

Inherited from AuthenticatedRouteProps.staticContext

Defined in node_modules/@types/react-router/index.d.ts:78