controller

package
v0.0.0-...-46352cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataAgreementHandler

func NewDataAgreementHandler(e *echo.Echo, daService presentationexchange.DataAgreementService)

NewDataAgreementHandler godoc Create a Controller for the Data Agreement API

func NewPresentationExchangeHandler

func NewPresentationExchangeHandler(e *echo.Echo, exchangeService presentationexchange.PresExchangeService, baseURI string)

NewPresentationExchangeHandler godoc Create a Controller for the Presentation Exchange API

Types

type PECreationResponse

type PECreationResponse struct {
	ID  string `json:"id" example:"32f54163-7166-48f1-93d8-ff217bdb0653" description:"Presentation Exchange unique id"`
	URI string `` /* 186-byte string literal not displayed */
}

type SIOPSubmission

type SIOPSubmission struct {
	VPToken struct {
		Format       string                            `json:"format" example:"ldp_vp" description:"Format of the verifiable presentation"`
		Presentation coreModels.VerifiablePresentation `json:"presentation" example:"" description:"Presentation in the stablished format"`
	} `json:"vp_token" description:"Verifiable Presentation as token"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL