IUserInfoCacheSetUserInfoAsync - метод

Adds to the cache user info userInfo for handler type type.

Definition

Пространство имён: Tessa.Roles.UserInfo
Сборка: Tessa (в Tessa.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
C#
ValueTask SetUserInfoAsync(
	UserInfo userInfo,
	string? type,
	CancellationToken cancellationToken = default
)

Параметры

userInfo  UserInfo
User info to cache.
type  String
Handler IUserInfoHandler type or /empty string if default handler is used.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

ValueTask
Provides an awaitable result of an asynchronous operation.

См. также