StandardIntegrityManager.StandardIntegrityTokenProvider

public interface StandardIntegrityManager.StandardIntegrityTokenProvider


标准完整性令牌提供程序。

该实例会绑定到 prepareIntegrityToken 调用。

摘要

公共方法

abstract Task<StandardIntegrityManager.StandardIntegrityToken>

针对完整性相关查询返回一个令牌。

公共方法

request

abstract Task<StandardIntegrityManager.StandardIntegrityTokenrequest(
    StandardIntegrityManager.StandardIntegrityTokenRequest request
)

针对完整性相关查询返回一个令牌。

此方法只能在 prepareIntegrityToken 完成后调用。

参数
StandardIntegrityManager.StandardIntegrityTokenRequest request

用于请求完整性令牌的对象。

返回
Task<StandardIntegrityManager.StandardIntegrityToken>

在 request 流程成功或失败后完成的 Task。如果失败了,系统会抛出使用 Task 封装的 StandardIntegrityException