supertokens-auth-react/recipe/session/types
References documentation for the supertokens-auth-react/recipe/session/types package
Type Aliases
AccessDeniedThemeProps
type AccessDeniedThemeProps = object;
Defined in: recipe/session/types.ts
Properties
| Property | Type | Defined in |
|---|---|---|
config |
NormalisedSessionConfig |
recipe/session/types.ts |
error? |
string |
recipe/session/types.ts |
navigate |
Navigate |
recipe/session/types.ts |
recipe |
SuperTokensWrapper |
recipe/session/types.ts |
ComponentOverrideMap
type ComponentOverrideMap = object;
Defined in: recipe/session/types.ts
Properties
| Property | Type | Defined in |
|---|---|---|
SessionAccessDenied_Override? |
ComponentOverride<typeof SuperTokensWrapper> |
recipe/session/types.ts |
InputType
type InputType = SuperTokensWrapper & object;
Defined in: recipe/session/types.ts
Type Declaration
| Name | Type | Defined in |
|---|---|---|
accessDeniedScreen? |
SessionFeatureBaseConfig |
recipe/session/types.ts |
onHandleEvent()? |
(event) => void |
recipe/session/types.ts |
style? |
string |
recipe/session/types.ts |
LoadedSessionContext
type LoadedSessionContext = object & SessionContextUpdate;
Defined in: recipe/session/types.ts
Type Declaration
| Name | Type | Defined in |
|---|---|---|
accessDeniedValidatorError? |
SuperTokensWrapper |
recipe/session/types.ts |
invalidClaims |
SuperTokensWrapper[] |
recipe/session/types.ts |
loading |
false |
recipe/session/types.ts |
NormalisedSessionConfig
type NormalisedSessionConfig = NormalisedConfig<unknown, any, any> & object;
Defined in: recipe/session/types.ts
Type Declaration
| Name | Type | Defined in |
|---|---|---|
accessDeniedScreen |
NormalisedBaseConfig |
recipe/session/types.ts |
invalidClaimStatusCode |
number |
recipe/session/types.ts |
override |
object |
recipe/session/types.ts |
override.functions() |
(originalImplementation, builder) => SuperTokensWrapper |
recipe/session/types.ts |
RecipeEventWithSessionContext
type RecipeEventWithSessionContext = SuperTokensWrapper & object;
Defined in: recipe/session/types.ts
Type Declaration
| Name | Type | Defined in |
|---|---|---|
sessionContext |
SessionContextUpdate |
recipe/session/types.ts |
SessionContextType
type SessionContextType =
| LoadedSessionContext
| {
loading: true;
};
Defined in: recipe/session/types.ts
SessionContextUpdate
type SessionContextUpdate = object;
Defined in: recipe/session/types.ts
Properties
| Property | Type | Defined in |
|---|---|---|
accessTokenPayload |
any |
recipe/session/types.ts |
doesSessionExist |
boolean |
recipe/session/types.ts |
userId |
string |
recipe/session/types.ts |
SessionFeatureBaseConfig
type SessionFeatureBaseConfig = FeatureBaseConfig;
Defined in: recipe/session/types.ts