Documentation
¶
Index ¶
- Variables
- type APIGWClient
- type Client
- type Config
- type DocumentCollectIDQuery
- type DocumentCollectIDReply
- type DocumentDeleteQuery
- type DocumentGetQuery
- type DocumentListQuery
- type IdentityMappingCreateReply
- type IdentityMappingCreateRequest
- type IdentityMappingDeleteRequest
- type IdentityMappingResolveReply
- type IdentityMappingResolveRequest
- type IdentityMappingUpdateRequest
- type NotificationReply
- type NotificationRequest
- type SVGClaim
- type SVGTemplateReply
- type UploadRequest
- type UserAuthenticSourceLookupReply
- type UserAuthenticSourceLookupRequest
- type UserLookupReply
- type UserLookupRequest
- type VerifierClient
Constants ¶
This section is empty.
Variables ¶
var ( // ErrInvalidRequest is returned when the request is invalid ErrInvalidRequest = errors.New("invalid request") // ErrNotAllowedRequest is returned when the request is not allowed ErrNotAllowedRequest = errors.New("not allowed request") )
Functions ¶
This section is empty.
Types ¶
type APIGWClient ¶
type APIGWClient struct {
Document *documentHandler
Identity *identityHandler
Root *rootHandler
OAuth *oauthHandler
User *userHandler
// contains filtered or unexported fields
}
APIGWClient handles all APIGW endpoints
type Client ¶
type Client struct {
APIGW *APIGWClient
Verifier *VerifierClient
// contains filtered or unexported fields
}
Client is the client
type DocumentCollectIDQuery ¶
type DocumentCollectIDQuery struct {
AuthenticSource string `json:"authentic_source"`
Scope string `json:"scope"`
CollectID string `json:"collect_id"`
}
DocumentCollectIDQuery is the query for CollectID
type DocumentCollectIDReply ¶
type DocumentCollectIDReply struct {
DocumentData any `json:"document_data"`
}
DocumentCollectIDReply is the reply for CollectID
type DocumentDeleteQuery ¶
type DocumentDeleteQuery struct {
AuthenticSource string `json:"authentic_source" validate:"required"`
Scope string `json:"scope" validate:"required"`
DocumentID string `json:"document_id" validate:"required"`
}
DocumentDeleteQuery is the query for Delete
type DocumentGetQuery ¶
type DocumentGetQuery struct {
AuthenticSource string `json:"authentic_source"`
Scope string `json:"scope"`
DocumentID string `json:"document_id"`
}
DocumentGetQuery is the query for GetDocument
type DocumentListQuery ¶
type DocumentListQuery struct {
AuthenticSource string `json:"authentic_source"`
IdentityMappingID string `json:"identity_mapping_id"`
Scope string `json:"scope"`
ValidTo int64 `json:"valid_to"`
ValidFrom int64 `json:"valid_from"`
}
DocumentListQuery is the query for ListDocument
type IdentityMappingCreateReply ¶ added in v0.5.7
type IdentityMappingCreateReply struct {
AuthenticSourcePersonID string `json:"authentic_source_person_id"`
}
IdentityMappingCreateReply is the reply containing the identifier
type IdentityMappingCreateRequest ¶ added in v0.5.7
type IdentityMappingCreateRequest struct {
AuthenticSource string `json:"authentic_source"`
AuthenticSourcePersonID string `json:"authentic_source_person_id,omitempty"`
Attributes map[string]string `json:"attributes,omitempty"`
}
IdentityMappingCreateRequest is the request for creating an identity mapping
type IdentityMappingDeleteRequest ¶ added in v0.5.7
type IdentityMappingDeleteRequest struct {
AuthenticSource string `json:"authentic_source"`
AuthenticSourcePersonID string `json:"authentic_source_person_id"`
}
IdentityMappingDeleteRequest is the request for deleting an identity mapping
type IdentityMappingResolveReply ¶ added in v0.5.7
type IdentityMappingResolveReply struct {
AuthenticSourcePersonID string `json:"authentic_source_person_id"`
}
IdentityMappingResolveReply is the reply with the resolved identifier
type IdentityMappingResolveRequest ¶ added in v0.5.7
type IdentityMappingResolveRequest struct {
AuthenticSource string `json:"authentic_source"`
Attributes map[string]string `json:"attributes"`
}
IdentityMappingResolveRequest is the request for resolving attributes to an identifier
type IdentityMappingUpdateRequest ¶ added in v0.5.7
type IdentityMappingUpdateRequest struct {
AuthenticSource string `json:"authentic_source"`
AuthenticSourcePersonID string `json:"authentic_source_person_id"`
Attributes map[string]string `json:"attributes,omitempty"`
}
IdentityMappingUpdateRequest is the request for updating an identity mapping
type NotificationReply ¶
type NotificationReply struct {
Data *openid4vci.QR `json:"data"`
}
NotificationReply is the reply for Notification
type NotificationRequest ¶
type NotificationRequest struct {
AuthenticSource string `json:"authentic_source" validate:"required"`
Scope string `json:"scope" validate:"required"`
DocumentID string `json:"document_id" validate:"required"`
}
NotificationRequest is the request for Notification
type SVGTemplateReply ¶
type SVGTemplateReply struct {
Template string `json:"template"`
}
SVGTemplateReply holds SVG template data.
type UploadRequest ¶
type UserAuthenticSourceLookupReply ¶
type UserAuthenticSourceLookupReply struct {
AuthenticSources []string `json:"authentic_sources,omitempty" validate:"omitempty,dive,max=128,printascii"`
}
type UserLookupReply ¶
type UserLookupRequest ¶
type VerifierClient ¶
type VerifierClient struct {
// contains filtered or unexported fields
}
VerifierClient handles Verifier endpoints
func (*VerifierClient) Health ¶
func (s *VerifierClient) Health(ctx context.Context) (*apiv1_status.StatusReply, *http.Response, error)
Health checks the health of the Verifier service