requests

package
v0.9.16 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateIdentityRequest

type CreateIdentityRequest struct {
	Data CreateIdentityRequestData `json:"data"`
}

func NewCreateIdentityRequest

func NewCreateIdentityRequest(r *http.Request) (CreateIdentityRequest, error)

type CreateIdentityRequestData

type CreateIdentityRequestData struct {
	ID          *w3c.DID           `json:"id"`
	ZKProof     snarkTypes.ZKProof `json:"zkproof"`
	DocumentSOD struct {
		SignedAttributes    string `json:"signed_attributes"`
		Algorithm           string `json:"algorithm"`
		Signature           string `json:"signature"`
		PemFile             string `json:"pem_file"`
		EncapsulatedContent string `json:"encapsulated_content"`
	} `json:"document_sod"`
}

type GetGistDataRequest added in v0.5.0

type GetGistDataRequest struct {
	UserDID string `url:"user_did"`
}

func NewGetGistDataRequest added in v0.5.0

func NewGetGistDataRequest(r *http.Request) (GetGistDataRequest, error)

Jump to

Keyboard shortcuts

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