Documentation ¶
Index ¶
- type Descriptor
- type PresentationSubmission
- type PresentationSubmissionBuilder
- func (p *PresentationSubmissionBuilder) AddDescriptor(d Descriptor) error
- func (p *PresentationSubmissionBuilder) Build() (*PresentationSubmissionHolder, error)
- func (p *PresentationSubmissionBuilder) SetDefinitionID(definitionID string)
- func (p *PresentationSubmissionBuilder) SetID(id string)
- func (p *PresentationSubmissionBuilder) SetLocale(locale string)
- type PresentationSubmissionHolder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Descriptor ¶
type Descriptor struct { ID string `json:"id" validate:"required"` Path string `json:"path" validate:"required"` Format definition.CredentialFormat `json:"format" validate:"required"` }
type PresentationSubmission ¶
type PresentationSubmission struct { ID string `json:"id" validate:"required"` DefinitionID string `json:"definition_id" validate:"required"` Locale string `json:"locale,omitempty"` DescriptorMap []Descriptor `json:"descriptor_map" validate:"required"` }
type PresentationSubmissionBuilder ¶
type PresentationSubmissionBuilder struct {
Submission PresentationSubmission
}
func NewPresentationSubmissionBuilder ¶
func NewPresentationSubmissionBuilder(definitionID string) *PresentationSubmissionBuilder
func (*PresentationSubmissionBuilder) AddDescriptor ¶
func (p *PresentationSubmissionBuilder) AddDescriptor(d Descriptor) error
func (*PresentationSubmissionBuilder) Build ¶
func (p *PresentationSubmissionBuilder) Build() (*PresentationSubmissionHolder, error)
func (*PresentationSubmissionBuilder) SetDefinitionID ¶ added in v0.1.3
func (p *PresentationSubmissionBuilder) SetDefinitionID(definitionID string)
func (*PresentationSubmissionBuilder) SetID ¶ added in v0.1.3
func (p *PresentationSubmissionBuilder) SetID(id string)
func (*PresentationSubmissionBuilder) SetLocale ¶
func (p *PresentationSubmissionBuilder) SetLocale(locale string)
type PresentationSubmissionHolder ¶
type PresentationSubmissionHolder struct {
PresentationSubmission `json:"presentation_submission" validate:"required"`
}
Click to show internal directories.
Click to hide internal directories.