StandardIntegrityManager.StandardIntegrityTokenProvider

public interface StandardIntegrityManager.StandardIntegrityTokenProvider


Standard integrity token provider.

The instance is bound to prepareIntegrityToken call.

Summary

Public methods

abstract Task<StandardIntegrityManager.StandardIntegrityToken>

Returns a token for integrity-related enquiries.

Public methods

request

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

Returns a token for integrity-related enquiries.

This must be called only after prepareIntegrityToken completes.

Parameters
StandardIntegrityManager.StandardIntegrityTokenRequest request

the object to request integrity token with.

Returns
Task<StandardIntegrityManager.StandardIntegrityToken>

A Task that completes once the request flow succeeded or failed. In case of a failure, StandardIntegrityException wrapped with a Task will be thrown.