Documentation
¶
Index ¶
- type PresentProofClient
- type ProofHandler
- func (r *ProofHandler) PresentationMsg(e service.DIDCommAction, d *ppprotocol.Presentation)
- func (r *ProofHandler) PresentationPreviewMsg(e service.DIDCommAction, _ *ppprotocol.Presentation)
- func (r *ProofHandler) ProposePresentationMsg(e service.DIDCommAction, _ *ppprotocol.ProposePresentation)
- func (r *ProofHandler) RequestPresentationMsg(e service.DIDCommAction, _ *ppprotocol.RequestPresentation)
- type Provider
- type Server
- func (r *Server) APISpec() (http.HandlerFunc, error)
- func (r *Server) RegisterGRPCGateway(_ *runtime.ServeMux, _ string, _ ...grpc.DialOption)
- func (r *Server) RegisterGRPCHandler(server *grpc.Server)
- func (r *Server) RequestPresentation(_ context.Context, req *common.RequestPresentationRequest) (*common.RequestPresentationResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PresentProofClient ¶
type PresentProofClient interface {
SendRequestPresentation(msg *ppclient.RequestPresentation, myDID, theirDID string) (string, error)
}
type ProofHandler ¶
type ProofHandler struct {
// contains filtered or unexported fields
}
func NewProofHandler ¶
func NewProofHandler(store datastore.Store, reg engine.PresentationRegistry) *ProofHandler
func (*ProofHandler) PresentationMsg ¶
func (r *ProofHandler) PresentationMsg(e service.DIDCommAction, d *ppprotocol.Presentation)
func (*ProofHandler) PresentationPreviewMsg ¶
func (r *ProofHandler) PresentationPreviewMsg(e service.DIDCommAction, _ *ppprotocol.Presentation)
func (*ProofHandler) ProposePresentationMsg ¶
func (r *ProofHandler) ProposePresentationMsg(e service.DIDCommAction, _ *ppprotocol.ProposePresentation)
func (*ProofHandler) RequestPresentationMsg ¶
func (r *ProofHandler) RequestPresentationMsg(e service.DIDCommAction, _ *ppprotocol.RequestPresentation)
type Provider ¶
type Provider interface { Store() datastore.Store GetPresentationEngineRegistry() (engine.PresentationRegistry, error) GetPresentProofClient() (PresentProofClient, error) }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) RegisterGRPCGateway ¶
func (*Server) RegisterGRPCHandler ¶
func (*Server) RequestPresentation ¶
func (r *Server) RequestPresentation(_ context.Context, req *common.RequestPresentationRequest) (*common.RequestPresentationResponse, error)
Click to show internal directories.
Click to hide internal directories.