StandardIntegrityManager.StandardIntegrityTokenProvider

public static interface StandardIntegrityManager.StandardIntegrityTokenProvider

com.google.android.play.core.integrity.StandardIntegrityManager.StandardIntegrityTokenProvider


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

该实例绑定到 StandardIntegrityManager.prepareIntegrityToken(PrepareIntegrityTokenRequest) 调用。

总结

公共方法

abstract Task<StandardIntegrityManager.StandardIntegrityToken> request(StandardIntegrityManager.StandardIntegrityTokenRequest request)

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

公共方法

request

public abstract Task<StandardIntegrityManager.StandardIntegrityToken> request (StandardIntegrityManager.StandardIntegrityTokenRequest request)

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

此方法只能在 StandardIntegrityManager.prepareIntegrityToken(PrepareIntegrityTokenRequest) 完成后调用。

参数
request StandardIntegrityManager.StandardIntegrityTokenRequest:用于请求完整性令牌的对象。

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