IUserInfoCacheSetUserInfoAsync - метод

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

Definition

Пространство имён: Tessa.Roles.UserInfo
Сборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
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.

См. также