Documentation ¶
Index ¶
Constants ¶
View Source
const ( DomainOwnershipActionType = "DomainOwnership" GroupRoleActionType = "GroupRole" )
Variables ¶
View Source
var (
ErrUnexpectedStatusCode = errors.New("unexpected status code")
)
Functions ¶
This section is empty.
Types ¶
type CreateIdentityRequest ¶
type CreateIdentityRequest struct {
DidMetadata DidMetadata `json:"didMetadata"`
}
func NewDefaultBJJIdentity ¶
func NewDefaultBJJIdentity() CreateIdentityRequest
type CreateIdentityResponse ¶
type DidMetadata ¶
type GetClaimStateStatusResponse ¶
type GetClaimStateStatusResponse struct {
Status string `json:"status"`
}
type Issuer ¶
type Issuer struct {
// contains filtered or unexported fields
}
func (*Issuer) CreateIdentity ¶
func (is *Issuer) CreateIdentity(request CreateIdentityRequest) (CreateIdentityResponse, error)
func (*Issuer) GetClaimStatus ¶
func (*Issuer) IssueClaim ¶
type State ¶
type State struct { StateID int64 `json:"stateID"` Identifier string `json:"identifier"` State string `json:"state"` RootOfRoots string `json:"rootOfRoots"` ClaimsTreeRoot string `json:"claimsTreeRoot"` RevocationTreeRoot string `json:"revocationTreeRoot"` BlockTimestamp int `json:"blockTimestamp"` BlockNumber int `json:"blockNumber"` TxID string `json:"txID"` PreviousState string `json:"previousState"` Status string `json:"status"` ModifiedAt time.Time `json:"modifiedAt"` CreatedAt time.Time `json:"createdAt"` }
type UUIDResponse ¶
type UUIDResponse struct {
Id string `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.