A data object used for updating the session state

interface SessionStateUpdate {
    accessToken?: null | string;
    refreshToken?: null | string;
    tenantId?: null | string;
    userId?: null | string;
}

Properties

accessToken?: null | string

If provided, updates the access token stored internally by the service (Note: access token is not stored in memory by the service, only in cookies or local storage)

refreshToken?: null | string

If provided, updates the refresh token stored internally by the service (Note: refresh token is not stored in memory by the service, only in cookies or local storage)

tenantId?: null | string

If provided, sets the current tenant id

userId?: null | string

If provided, sets the current user id, or logs out if given null

Generated using TypeDoc