Documentation ¶
Index ¶
- type Operation
- func (c *Operation) AcceptPresentation(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) AcceptProposePresentation(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) AcceptRequestPresentation(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) Actions(rw http.ResponseWriter, _ *http.Request)
- func (c *Operation) DeclinePresentation(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) DeclineProposePresentation(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) DeclineRequestPresentation(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) GetRESTHandlers() []rest.Handler
- func (c *Operation) NegotiateRequestPresentation(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) SendProposePresentation(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) SendRequestPresentation(rw http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation struct {
// contains filtered or unexported fields
}
Operation is controller REST service controller for present proof
func (*Operation) AcceptPresentation ¶
func (c *Operation) AcceptPresentation(rw http.ResponseWriter, req *http.Request)
AcceptPresentation swagger:route POST /presentproof/{piid}/accept-presentation present-proof presentProofAcceptPresentation
Accepts a presentation.
Responses:
default: genericError 200: presentProofAcceptPresentationResponse
func (*Operation) AcceptProposePresentation ¶
func (c *Operation) AcceptProposePresentation(rw http.ResponseWriter, req *http.Request)
AcceptProposePresentation swagger:route POST /presentproof/{piid}/accept-propose-presentation present-proof presentProofAcceptProposePresentation
Accepts a propose presentation.
Responses:
default: genericError 200: presentProofAcceptProposePresentationResponse
func (*Operation) AcceptRequestPresentation ¶
func (c *Operation) AcceptRequestPresentation(rw http.ResponseWriter, req *http.Request)
AcceptRequestPresentation swagger:route POST /presentproof/{piid}/accept-request-presentation present-proof presentProofAcceptRequestPresentation
Accepts a request presentation.
Responses:
default: genericError 200: presentProofAcceptRequestPresentationResponse
func (*Operation) Actions ¶
func (c *Operation) Actions(rw http.ResponseWriter, _ *http.Request)
Actions swagger:route GET /presentproof/actions present-proof presentProofActions
Returns pending actions that have not yet to be executed or cancelled.
Responses:
default: genericError 200: presentProofActionsResponse
func (*Operation) DeclinePresentation ¶
func (c *Operation) DeclinePresentation(rw http.ResponseWriter, req *http.Request)
DeclinePresentation swagger:route POST /presentproof/{piid}/decline-presentation present-proof presentProofDeclinePresentation
Declines a presentation.
Responses:
default: genericError 200: presentProofDeclinePresentationResponse
func (*Operation) DeclineProposePresentation ¶
func (c *Operation) DeclineProposePresentation(rw http.ResponseWriter, req *http.Request)
DeclineProposePresentation swagger:route POST /presentproof/{piid}/decline-propose-presentation present-proof presentProofDeclineProposePresentation
Declines a propose presentation.
Responses:
default: genericError 200: presentProofDeclineProposePresentationResponse
func (*Operation) DeclineRequestPresentation ¶
func (c *Operation) DeclineRequestPresentation(rw http.ResponseWriter, req *http.Request)
DeclineRequestPresentation swagger:route POST /presentproof/{piid}/decline-request-presentation present-proof presentProofDeclineRequestPresentation
Declines a request presentation.
Responses:
default: genericError 200: presentProofDeclineRequestPresentationResponse
func (*Operation) GetRESTHandlers ¶
GetRESTHandlers get all controller API handler available for this protocol service
func (*Operation) NegotiateRequestPresentation ¶
func (c *Operation) NegotiateRequestPresentation(rw http.ResponseWriter, req *http.Request)
NegotiateRequestPresentation swagger:route POST /presentproof/{piid}/negotiate-request-presentation present-proof presentProofNegotiateRequestPresentation
Is used by the Prover to counter a presentation request they received with a proposal.
Responses:
default: genericError 200: presentProofNegotiateRequestPresentationResponse
func (*Operation) SendProposePresentation ¶
func (c *Operation) SendProposePresentation(rw http.ResponseWriter, req *http.Request)
SendProposePresentation swagger:route POST /presentproof/send-propose-presentation present-proof presentProofSendProposePresentation
Sends a propose presentation.
Responses:
default: genericError 200: presentProofSendProposePresentationResponse
func (*Operation) SendRequestPresentation ¶
func (c *Operation) SendRequestPresentation(rw http.ResponseWriter, req *http.Request)
SendRequestPresentation swagger:route POST /presentproof/send-request-presentation present-proof presentProofSendRequestPresentation
Sends a request presentation.
Responses:
default: genericError 200: presentProofSendRequestPresentationResponse