Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnexpectedStatusCode = errors.New("unexpected status code")
)
Functions ¶
This section is empty.
Types ¶
type CredentialRequest ¶
type CredentialSubject ¶
type GetCredentialResponse ¶ added in v0.3.4
type GetCredentialResponse struct { Id string `json:"id"` ProofTypes []string `json:"proofTypes"` CreatedAt time.Time `json:"createdAt"` ExpiresAt time.Time `json:"expiresAt"` Expired bool `json:"expired"` SchemaHash string `json:"schemaHash"` SchemaType string `json:"schemaType"` SchemaUrl string `json:"schemaUrl"` Revoked bool `json:"revoked"` RevNonce int64 `json:"revNonce"` CredentialSubject json.RawMessage `json:"credentialSubject"` UserID string `json:"userID"` SchemaTypeDescription string `json:"schemaTypeDescription"` }
type Issuer ¶
type Issuer struct {
// contains filtered or unexported fields
}
func (*Issuer) GetCredential ¶ added in v0.3.4
func (is *Issuer) GetCredential(claimID uuid.UUID) (GetCredentialResponse, error)
func (*Issuer) IssueVotingClaim ¶ added in v0.3.4
func (*Issuer) RevokeClaim ¶ added in v0.3.4
type UUIDResponse ¶
type UUIDResponse struct {
Id string `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.