Type Alias UsePermissionModuleData

UsePermissionModuleData: {
    enableSessionData?: EnableSessionData;
    mode?: SmartSessionModeType;
    permissionIdIndex?: number;
} & PreparePermissionResponse

Represents the data structure for using a session module.

Type declaration

  • OptionalenableSessionData?: EnableSessionData

    Data for enabling the session.

  • Optionalmode?: SmartSessionModeType

    The mode of the smart session.

  • OptionalpermissionIdIndex?: number

    The index of the permission ID to use for the session. Defaults to 0.