Documentation ¶
Index ¶
- type CreateManifestRequest
- type CreateManifestResponse
- type DeleteApplicationRequest
- type DeleteManifestRequest
- type DeleteResponseRequest
- type GetApplicationRequest
- type GetApplicationResponse
- type GetApplicationsResponse
- type GetManifestRequest
- type GetManifestResponse
- type GetManifestsResponse
- type GetResponseRequest
- type GetResponseResponse
- type GetResponsesResponse
- type SubmitApplicationRequest
- type SubmitApplicationResponse
- type VerifyManifestRequest
- type VerifyManifestResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateManifestRequest ¶
type CreateManifestRequest struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` IssuerDID string `json:"issuerDid" validate:"required"` IssuerName *string `json:"issuerName,omitempty"` OutputDescriptors []manifestsdk.OutputDescriptor `json:"outputDescriptors" validate:"required,dive"` ClaimFormat *exchange.ClaimFormat `json:"format" validate:"required,dive"` PresentationDefinition *exchange.PresentationDefinition `json:"presentationDefinition,omitempty" validate:"omitempty,dive"` }
type CreateManifestResponse ¶
type CreateManifestResponse struct { Manifest manifestsdk.CredentialManifest `json:"manifest"` ManifestJWT keyaccess.JWT `json:"manifestJwt,omitempty"` }
type DeleteApplicationRequest ¶
type DeleteApplicationRequest struct {
ID string `json:"id,omitempty" validate:"required"`
}
type DeleteManifestRequest ¶
type DeleteManifestRequest struct {
ID string `json:"id" validate:"required"`
}
type DeleteResponseRequest ¶
type DeleteResponseRequest struct {
ID string `json:"id" validate:"required"`
}
type GetApplicationRequest ¶
type GetApplicationRequest struct {
ID string `json:"id" validate:"required"`
}
type GetApplicationResponse ¶
type GetApplicationResponse struct { // One of "pending", "fulfilled", "rejected". When Status is either fulfilled or rejected, a corresponding // SubmissionApplicationResponse is guaranteed to exist. Status string Application manifestsdk.CredentialApplication `json:"application"` }
type GetApplicationsResponse ¶
type GetApplicationsResponse struct {
Applications []manifestsdk.CredentialApplication `json:"applications,omitempty"`
}
type GetManifestRequest ¶
type GetManifestRequest struct {
ID string `json:"id" validate:"required"`
}
type GetManifestResponse ¶
type GetManifestResponse struct { Manifest manifestsdk.CredentialManifest `json:"manifest"` ManifestJWT keyaccess.JWT `json:"manifestJwt,omitempty"` }
type GetManifestsResponse ¶
type GetManifestsResponse struct {
Manifests []GetManifestResponse `json:"manifests,omitempty"`
}
type GetResponseRequest ¶
type GetResponseRequest struct {
ID string `json:"id,omitempty" validate:"required"`
}
type GetResponseResponse ¶
type GetResponseResponse struct {
Response manifestsdk.CredentialResponse `json:"response"`
}
type GetResponsesResponse ¶
type GetResponsesResponse struct {
Responses []manifestsdk.CredentialResponse `json:"responses,omitempty"`
}
type SubmitApplicationRequest ¶
type SubmitApplicationRequest struct { ApplicantDID string `json:"applicantDid" validate:"required"` Application manifestsdk.CredentialApplication `json:"application" validate:"required"` Credentials []cred.Container `json:"credentials,omitempty"` ApplicationJWT keyaccess.JWT `json:"applicationJwt,omitempty" validate:"required"` ApplicationJSON map[string]any `json:"applicationJson,omitempty"` }
type SubmitApplicationResponse ¶
type SubmitApplicationResponse struct { Response manifestsdk.CredentialResponse `json:"response" validate:"required"` Credentials []any `json:"credentials,omitempty"` ResponseJWT keyaccess.JWT `json:"responseJwt,omitempty" validate:"required"` }
func ServiceModel ¶
func ServiceModel(storedResponse *storage.StoredResponse) SubmitApplicationResponse
ServiceModel creates a SubmitApplicationResponse from a given StoredResponse.
type VerifyManifestRequest ¶
type VerifyManifestResponse ¶
Click to show internal directories.
Click to hide internal directories.