MediationGrant

The MediationGrant class represents a mediation grant in the Atala PRISM architecture. A mediation grant is used for granting permission to mediate a specific request.

Throws

if the provided message is not a valid mediation grant.

Constructors

Link copied to clipboard
constructor(id: String = UUID.randomUUID().toString(), body: MediationGrant.Body)
constructor(fromMessage: Message)

Types

Link copied to clipboard
data class Body(var routingDid: String)

The Body class represents a body object that can be included in a Message object. It is used for secure, decentralized communication in the Atala PRISM architecture.

Properties

Link copied to clipboard

The body of the mediation grant containing the routing DID.

Link copied to clipboard
var id: String

The unique identifier of the mediation grant.

Link copied to clipboard

The type of the mediation grant.