WidgetTemplatesPermissionsProviderRecalculatePermissionsAsync - метод

Performs a permissions check on the widget template(s) permission token, if specified, and try calculates the current permissions with token reissue.

Definition

Пространство имён: Tessa.Dashboards.WidgetTemplates
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public virtual ValueTask<DashboardToken> RecalculatePermissionsAsync(
	Guid? templateID,
	DashboardToken? token,
	DashboardType? dashboardType,
	IValidationResultBuilder validationResult,
	CancellationToken cancellationToken = default
)

Параметры

templateID  NullableGuid
Widget template identifier, if required to check permissions for template or if required to check template editor permissions for widget templates.
token  DashboardToken
Access token for the widget template(s) if specified.
dashboardType  NullableDashboardType
Dashboard types.
validationResult  IValidationResultBuilder
Объект, выполняющий построение результата валидации.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

ValueTaskDashboardToken
Recalculated token or if recalculation is not required, or permissions denied.

Реализации

IWidgetTemplatesPermissionsProviderRecalculatePermissionsAsync(NullableGuid, DashboardToken, NullableDashboardType, IValidationResultBuilder, CancellationToken)

См. также