Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidProtocolMessage = errors.New("invalid protocol message") ErrInvalidProtocolResponse = errors.New("invalid protocol response") )
View Source
var ( ErrIssuerNotSupported = errors.New("issuer is not supported") ErrGetClaim = errors.New("failed to get claim") ErrCreateClaim = errors.New("failed to create claim") )
View Source
var (
ErrCredentialNotUpdatable = errors.New("not updatable")
)
Functions ¶
This section is empty.
Types ¶
type AgentService ¶
type AgentService struct {
// contains filtered or unexported fields
}
func NewAgentService ¶
func NewAgentService(refreshService *RefreshService, packageManager *iden3comm.PackageManager) *AgentService
type IssuerService ¶
type IssuerService struct {
// contains filtered or unexported fields
}
IssuerService is service for communication with issuer node
func NewIssuerService ¶
func (*IssuerService) CreateCredential ¶
func (is *IssuerService) CreateCredential(issuerDID string, credentialRequest credentialRequest) ( id string, err error, )
func (*IssuerService) GetClaimByID ¶
func (is *IssuerService) GetClaimByID(issuerDID, claimID string) (*verifiable.W3CCredential, error)
type RefreshService ¶
type RefreshService struct {
// contains filtered or unexported fields
}
func NewRefreshService ¶
func NewRefreshService( issuerService *IssuerService, decumentLoader ld.DocumentLoader, providers flexiblehttp.FactoryFlexibleHTTP, ) *RefreshService
func (*RefreshService) Process ¶
func (rs *RefreshService) Process( ctx context.Context, issuer, owner, id string) ( *verifiable.W3CCredential, error)
Click to show internal directories.
Click to hide internal directories.