Function: useSecurityContext
▸ useSecurityContext<T
>(): [T
| undefined
, boolean
]
Type parameters
Name | Type |
---|---|
T | any |
Returns
[T
| undefined
, boolean
]
Defined in
onekijs/packages/onekijs-framework/src/auth/useSecurityContext.ts:6
▸ useSecurityContext<T
>(selector
): [T
| undefined
, boolean
]
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
selector | string |
Returns
[T
| undefined
, boolean
]
Defined in
onekijs/packages/onekijs-framework/src/auth/useSecurityContext.ts:7
▸ useSecurityContext<T
>(selector
, defaultValue
): [T
| undefined
, boolean
]
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
selector | string |
defaultValue | undefined |
Returns
[T
| undefined
, boolean
]
Defined in
onekijs/packages/onekijs-framework/src/auth/useSecurityContext.ts:8
▸ useSecurityContext<T
>(selector
, defaultValue
): [T
| null
, boolean
]
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
selector | string |
defaultValue | null |
Returns
[T
| null
, boolean
]
Defined in
onekijs/packages/onekijs-framework/src/auth/useSecurityContext.ts:9
▸ useSecurityContext<T
>(selector
, defaultValue
): [T
, boolean
]
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
selector | string |
defaultValue | T |
Returns
[T
, boolean
]
Defined in
onekijs/packages/onekijs-framework/src/auth/useSecurityContext.ts:10