sdk
import "github.com/triveria-com/wallet-sdk-go"
Package sdk provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.16.3 DO NOT EDIT.
Index
- Constants
- func NewCredentialCreateRequest(server string, params *CredentialCreateParams, body CredentialCreateJSONRequestBody) (*http.Request, error)
- func NewCredentialCreateRequestWithBody(server string, params *CredentialCreateParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCredentialGetRequest(server string, credentialId CredentialId, params *CredentialGetParams) (*http.Request, error)
- func NewCredentialImportRequest(server string, params *CredentialImportParams, body CredentialImportJSONRequestBody) (*http.Request, error)
- func NewCredentialImportRequestWithBody(server string, params *CredentialImportParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCredentialIssuanceInitRequest(server string, credentialId string, params *CredentialIssuanceInitParams, body CredentialIssuanceInitJSONRequestBody) (*http.Request, error)
- func NewCredentialIssuanceInitRequestWithBody(server string, credentialId string, params *CredentialIssuanceInitParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCredentialListRequest(server string, params *CredentialListParams) (*http.Request, error)
- func NewCredentialMetadataPatchRequest(server string, credentialId CredentialId, params *CredentialMetadataPatchParams, body CredentialMetadataPatchJSONRequestBody) (*http.Request, error)
- func NewCredentialMetadataPatchRequestWithBody(server string, credentialId CredentialId, params *CredentialMetadataPatchParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCredentialPatchRequest(server string, credentialId CredentialId, params *CredentialPatchParams, body CredentialPatchJSONRequestBody) (*http.Request, error)
- func NewCredentialPatchRequestWithBody(server string, credentialId CredentialId, params *CredentialPatchParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCredentialRequestInitRequest(server string, params *CredentialRequestInitParams, body CredentialRequestInitJSONRequestBody) (*http.Request, error)
- func NewCredentialRequestInitRequestWithBody(server string, params *CredentialRequestInitParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCredentialRevokeRequest(server string, credentialId CredentialId, params *CredentialRevokeParams) (*http.Request, error)
- func NewDeferredStatusRequest(server string, deferredId string, params *DeferredStatusParams) (*http.Request, error)
- func NewDidDocumentGetRequest(server string, walletId string) (*http.Request, error)
- func NewDidGetRequest(server string, params *DidGetParams) (*http.Request, error)
- func NewHealthCheckRequest(server string) (*http.Request, error)
- func NewHolderCreateAuthOfferRequest(server string, params *HolderCreateAuthOfferParams, body HolderCreateAuthOfferJSONRequestBody) (*http.Request, error)
- func NewHolderCreateAuthOfferRequestWithBody(server string, params *HolderCreateAuthOfferParams, contentType string, body io.Reader) (*http.Request, error)
- func NewHolderCredentialsPresentAfterConsentRequest(server string, interactionId string, params *HolderCredentialsPresentAfterConsentParams, body HolderCredentialsPresentAfterConsentJSONRequestBody) (*http.Request, error)
- func NewHolderCredentialsPresentAfterConsentRequestWithBody(server string, interactionId string, params *HolderCredentialsPresentAfterConsentParams, contentType string, body io.Reader) (*http.Request, error)
- func NewHolderIdTokenSendRequest(server string, params *HolderIdTokenSendParams, body HolderIdTokenSendJSONRequestBody) (*http.Request, error)
- func NewHolderIdTokenSendRequestWithBody(server string, params *HolderIdTokenSendParams, contentType string, body io.Reader) (*http.Request, error)
- func NewHolderLinkedVpCreateRequest(server string, params *HolderLinkedVpCreateParams, body HolderLinkedVpCreateJSONRequestBody) (*http.Request, error)
- func NewHolderLinkedVpCreateRequestWithBody(server string, params *HolderLinkedVpCreateParams, contentType string, body io.Reader) (*http.Request, error)
- func NewHolderLinkedVpDeleteRequest(server string, linkedVpId string, params *HolderLinkedVpDeleteParams) (*http.Request, error)
- func NewHolderLinkedVpGetDetailsRequest(server string, linkedVpId string, params *HolderLinkedVpGetDetailsParams) (*http.Request, error)
- func NewHolderLinkedVpListRequest(server string, params *HolderLinkedVpListParams) (*http.Request, error)
- func NewHolderOfferPassAuthInfoRequest(server string, params *HolderOfferPassAuthInfoParams, body HolderOfferPassAuthInfoJSONRequestBody) (*http.Request, error)
- func NewHolderOfferPassAuthInfoRequestWithBody(server string, params *HolderOfferPassAuthInfoParams, contentType string, body io.Reader) (*http.Request, error)
- func NewHolderOfferProcessAfterConsentRequest(server string, interactionId string, params *HolderOfferProcessAfterConsentParams, body HolderOfferProcessAfterConsentJSONRequestBody) (*http.Request, error)
- func NewHolderOfferProcessAfterConsentRequestWithBody(server string, interactionId string, params *HolderOfferProcessAfterConsentParams, contentType string, body io.Reader) (*http.Request, error)
- func NewHolderPresentPassAuthInfoRequest(server string, params *HolderPresentPassAuthInfoParams, body HolderPresentPassAuthInfoJSONRequestBody) (*http.Request, error)
- func NewHolderPresentPassAuthInfoRequestWithBody(server string, params *HolderPresentPassAuthInfoParams, contentType string, body io.Reader) (*http.Request, error)
- func NewIdTokenRequestCreateRequest(server string, params *IdTokenRequestCreateParams) (*http.Request, error)
- func NewIssuerCredentialTypesListRequest(server string, params *IssuerCredentialTypesListParams) (*http.Request, error)
- func NewIssuerInitiateAuthOfferRequest(server string, params *IssuerInitiateAuthOfferParams, body IssuerInitiateAuthOfferJSONRequestBody) (*http.Request, error)
- func NewIssuerInitiateAuthOfferRequestWithBody(server string, params *IssuerInitiateAuthOfferParams, contentType string, body io.Reader) (*http.Request, error)
- func NewIssuerInitiatePreauthOfferRequest(server string, params *IssuerInitiatePreauthOfferParams, body IssuerInitiatePreauthOfferJSONRequestBody) (*http.Request, error)
- func NewIssuerInitiatePreauthOfferRequestWithBody(server string, params *IssuerInitiatePreauthOfferParams, contentType string, body io.Reader) (*http.Request, error)
- func NewTfAccreditAsRequest(server string, walletId string, body TfAccreditAsJSONRequestBody) (*http.Request, error)
- func NewTfAccreditAsRequestWithBody(server string, walletId string, contentType string, body io.Reader) (*http.Request, error)
- func NewTfAccreditAsTrustedIssuerRequest(server string, walletId string) (*http.Request, error)
- func NewTfInsertIssuerProxyRequest(server string, walletId string) (*http.Request, error)
- func NewTfOnboardLegalEntityRequest(server string, walletId string) (*http.Request, error)
- func NewTfPrepareToAccreditRequest(server string, walletId string, body TfPrepareToAccreditJSONRequestBody) (*http.Request, error)
- func NewTfPrepareToAccreditRequestWithBody(server string, walletId string, contentType string, body io.Reader) (*http.Request, error)
- func NewTfPrepareToOnboardRequest(server string, walletId string, body TfPrepareToOnboardJSONRequestBody) (*http.Request, error)
- func NewTfPrepareToOnboardRequestWithBody(server string, walletId string, contentType string, body io.Reader) (*http.Request, error)
- func NewTfRevokeAccreditationRequest(server string, walletId string, body TfRevokeAccreditationJSONRequestBody) (*http.Request, error)
- func NewTfRevokeAccreditationRequestWithBody(server string, walletId string, contentType string, body io.Reader) (*http.Request, error)
- func NewVerifierInitUrlCreateRequest(server string, params *VerifierInitUrlCreateParams, body VerifierInitUrlCreateJSONRequestBody) (*http.Request, error)
- func NewVerifierInitUrlCreateRequestWithBody(server string, params *VerifierInitUrlCreateParams, contentType string, body io.Reader) (*http.Request, error)
- func NewVerifierLinkedVpVerifyRequest(server string, params *VerifierLinkedVpVerifyParams) (*http.Request, error)
- func NewWalletCreateRequest(server string, body WalletCreateJSONRequestBody) (*http.Request, error)
- func NewWalletCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWalletDeleteRequest(server string, walletId string) (*http.Request, error)
- func NewWalletGetRequest(server string, walletId string) (*http.Request, error)
- func NewWalletKeysRequest(server string, walletId string) (*http.Request, error)
- func NewWalletListRequest(server string, params *WalletListParams) (*http.Request, error)
- func NewWalletNotificationGetByStateRequest(server string, walletId string, state string) (*http.Request, error)
- func NewWalletNotificationHistoryRequest(server string, walletId string, params *WalletNotificationHistoryParams) (*http.Request, error)
- func NewWalletNotificationsRequest(server string, walletId string) (*http.Request, error)
- func NewWalletPatchRequest(server string, walletId string, body WalletPatchJSONRequestBody) (*http.Request, error)
- func NewWalletPatchRequestWithBody(server string, walletId string, contentType string, body io.Reader) (*http.Request, error)
- func NewWalletVerifiedCredentialsByStateRequest(server string, walletId string, state string) (*http.Request, error)
- func NewWalletVerifiedCredentialsDeleteByStateRequest(server string, walletId string, state string) (*http.Request, error)
- type AccreditationRequest
- type AccreditationRequestType
- type AuthOffer
- type AuthenticationOAuth
- type BadRequestError
- type Client
- func NewClient(server string, opts ...ClientOption) (*Client, error)
- func (c *Client) CredentialCreate(ctx context.Context, params *CredentialCreateParams, body CredentialCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialCreateWithBody(ctx context.Context, params *CredentialCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialGet(ctx context.Context, credentialId CredentialId, params *CredentialGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialImport(ctx context.Context, params *CredentialImportParams, body CredentialImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialImportWithBody(ctx context.Context, params *CredentialImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialIssuanceInit(ctx context.Context, credentialId string, params *CredentialIssuanceInitParams, body CredentialIssuanceInitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialIssuanceInitWithBody(ctx context.Context, credentialId string, params *CredentialIssuanceInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialList(ctx context.Context, params *CredentialListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialMetadataPatch(ctx context.Context, credentialId CredentialId, params *CredentialMetadataPatchParams, body CredentialMetadataPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialMetadataPatchWithBody(ctx context.Context, credentialId CredentialId, params *CredentialMetadataPatchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialPatch(ctx context.Context, credentialId CredentialId, params *CredentialPatchParams, body CredentialPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialPatchWithBody(ctx context.Context, credentialId CredentialId, params *CredentialPatchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialRequestInit(ctx context.Context, params *CredentialRequestInitParams, body CredentialRequestInitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialRequestInitWithBody(ctx context.Context, params *CredentialRequestInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CredentialRevoke(ctx context.Context, credentialId CredentialId, params *CredentialRevokeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeferredStatus(ctx context.Context, deferredId string, params *DeferredStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DidDocumentGet(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DidGet(ctx context.Context, params *DidGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HealthCheck(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderCreateAuthOffer(ctx context.Context, params *HolderCreateAuthOfferParams, body HolderCreateAuthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderCreateAuthOfferWithBody(ctx context.Context, params *HolderCreateAuthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderCredentialsPresentAfterConsent(ctx context.Context, interactionId string, params *HolderCredentialsPresentAfterConsentParams, body HolderCredentialsPresentAfterConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderCredentialsPresentAfterConsentWithBody(ctx context.Context, interactionId string, params *HolderCredentialsPresentAfterConsentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderIdTokenSend(ctx context.Context, params *HolderIdTokenSendParams, body HolderIdTokenSendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderIdTokenSendWithBody(ctx context.Context, params *HolderIdTokenSendParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderLinkedVpCreate(ctx context.Context, params *HolderLinkedVpCreateParams, body HolderLinkedVpCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderLinkedVpCreateWithBody(ctx context.Context, params *HolderLinkedVpCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderLinkedVpDelete(ctx context.Context, linkedVpId string, params *HolderLinkedVpDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderLinkedVpGetDetails(ctx context.Context, linkedVpId string, params *HolderLinkedVpGetDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderLinkedVpList(ctx context.Context, params *HolderLinkedVpListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderOfferPassAuthInfo(ctx context.Context, params *HolderOfferPassAuthInfoParams, body HolderOfferPassAuthInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderOfferPassAuthInfoWithBody(ctx context.Context, params *HolderOfferPassAuthInfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderOfferProcessAfterConsent(ctx context.Context, interactionId string, params *HolderOfferProcessAfterConsentParams, body HolderOfferProcessAfterConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderOfferProcessAfterConsentWithBody(ctx context.Context, interactionId string, params *HolderOfferProcessAfterConsentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderPresentPassAuthInfo(ctx context.Context, params *HolderPresentPassAuthInfoParams, body HolderPresentPassAuthInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HolderPresentPassAuthInfoWithBody(ctx context.Context, params *HolderPresentPassAuthInfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IdTokenRequestCreate(ctx context.Context, params *IdTokenRequestCreateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IssuerCredentialTypesList(ctx context.Context, params *IssuerCredentialTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IssuerInitiateAuthOffer(ctx context.Context, params *IssuerInitiateAuthOfferParams, body IssuerInitiateAuthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IssuerInitiateAuthOfferWithBody(ctx context.Context, params *IssuerInitiateAuthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IssuerInitiatePreauthOffer(ctx context.Context, params *IssuerInitiatePreauthOfferParams, body IssuerInitiatePreauthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IssuerInitiatePreauthOfferWithBody(ctx context.Context, params *IssuerInitiatePreauthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TfAccreditAs(ctx context.Context, walletId string, body TfAccreditAsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TfAccreditAsTrustedIssuer(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TfAccreditAsWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TfInsertIssuerProxy(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TfOnboardLegalEntity(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TfPrepareToAccredit(ctx context.Context, walletId string, body TfPrepareToAccreditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TfPrepareToAccreditWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TfPrepareToOnboard(ctx context.Context, walletId string, body TfPrepareToOnboardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TfPrepareToOnboardWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TfRevokeAccreditation(ctx context.Context, walletId string, body TfRevokeAccreditationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TfRevokeAccreditationWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) VerifierInitUrlCreate(ctx context.Context, params *VerifierInitUrlCreateParams, body VerifierInitUrlCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) VerifierInitUrlCreateWithBody(ctx context.Context, params *VerifierInitUrlCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) VerifierLinkedVpVerify(ctx context.Context, params *VerifierLinkedVpVerifyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletCreate(ctx context.Context, body WalletCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletDelete(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletGet(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletKeys(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletList(ctx context.Context, params *WalletListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletNotificationGetByState(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletNotificationHistory(ctx context.Context, walletId string, params *WalletNotificationHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletNotifications(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletPatch(ctx context.Context, walletId string, body WalletPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletPatchWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletVerifiedCredentialsByState(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletVerifiedCredentialsDeleteByState(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
- func (c *ClientWithResponses) CredentialCreateWithBodyWithResponse(ctx context.Context, params *CredentialCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialCreateResponse, error)
- func (c *ClientWithResponses) CredentialCreateWithResponse(ctx context.Context, params *CredentialCreateParams, body CredentialCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialCreateResponse, error)
- func (c *ClientWithResponses) CredentialGetWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialGetParams, reqEditors ...RequestEditorFn) (*CredentialGetResponse, error)
- func (c *ClientWithResponses) CredentialImportWithBodyWithResponse(ctx context.Context, params *CredentialImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialImportResponse, error)
- func (c *ClientWithResponses) CredentialImportWithResponse(ctx context.Context, params *CredentialImportParams, body CredentialImportJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialImportResponse, error)
- func (c *ClientWithResponses) CredentialIssuanceInitWithBodyWithResponse(ctx context.Context, credentialId string, params *CredentialIssuanceInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialIssuanceInitResponse, error)
- func (c *ClientWithResponses) CredentialIssuanceInitWithResponse(ctx context.Context, credentialId string, params *CredentialIssuanceInitParams, body CredentialIssuanceInitJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialIssuanceInitResponse, error)
- func (c *ClientWithResponses) CredentialListWithResponse(ctx context.Context, params *CredentialListParams, reqEditors ...RequestEditorFn) (*CredentialListResponse, error)
- func (c *ClientWithResponses) CredentialMetadataPatchWithBodyWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialMetadataPatchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialMetadataPatchResponse, error)
- func (c *ClientWithResponses) CredentialMetadataPatchWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialMetadataPatchParams, body CredentialMetadataPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialMetadataPatchResponse, error)
- func (c *ClientWithResponses) CredentialPatchWithBodyWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialPatchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialPatchResponse, error)
- func (c *ClientWithResponses) CredentialPatchWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialPatchParams, body CredentialPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialPatchResponse, error)
- func (c *ClientWithResponses) CredentialRequestInitWithBodyWithResponse(ctx context.Context, params *CredentialRequestInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialRequestInitResponse, error)
- func (c *ClientWithResponses) CredentialRequestInitWithResponse(ctx context.Context, params *CredentialRequestInitParams, body CredentialRequestInitJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialRequestInitResponse, error)
- func (c *ClientWithResponses) CredentialRevokeWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialRevokeParams, reqEditors ...RequestEditorFn) (*CredentialRevokeResponse, error)
- func (c *ClientWithResponses) DeferredStatusWithResponse(ctx context.Context, deferredId string, params *DeferredStatusParams, reqEditors ...RequestEditorFn) (*DeferredStatusResponse, error)
- func (c *ClientWithResponses) DidDocumentGetWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*DidDocumentGetResponse, error)
- func (c *ClientWithResponses) DidGetWithResponse(ctx context.Context, params *DidGetParams, reqEditors ...RequestEditorFn) (*DidGetResponse, error)
- func (c *ClientWithResponses) HealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthCheckResponse, error)
- func (c *ClientWithResponses) HolderCreateAuthOfferWithBodyWithResponse(ctx context.Context, params *HolderCreateAuthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderCreateAuthOfferResponse, error)
- func (c *ClientWithResponses) HolderCreateAuthOfferWithResponse(ctx context.Context, params *HolderCreateAuthOfferParams, body HolderCreateAuthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderCreateAuthOfferResponse, error)
- func (c *ClientWithResponses) HolderCredentialsPresentAfterConsentWithBodyWithResponse(ctx context.Context, interactionId string, params *HolderCredentialsPresentAfterConsentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderCredentialsPresentAfterConsentResponse, error)
- func (c *ClientWithResponses) HolderCredentialsPresentAfterConsentWithResponse(ctx context.Context, interactionId string, params *HolderCredentialsPresentAfterConsentParams, body HolderCredentialsPresentAfterConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderCredentialsPresentAfterConsentResponse, error)
- func (c *ClientWithResponses) HolderIdTokenSendWithBodyWithResponse(ctx context.Context, params *HolderIdTokenSendParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderIdTokenSendResponse, error)
- func (c *ClientWithResponses) HolderIdTokenSendWithResponse(ctx context.Context, params *HolderIdTokenSendParams, body HolderIdTokenSendJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderIdTokenSendResponse, error)
- func (c *ClientWithResponses) HolderLinkedVpCreateWithBodyWithResponse(ctx context.Context, params *HolderLinkedVpCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderLinkedVpCreateResponse, error)
- func (c *ClientWithResponses) HolderLinkedVpCreateWithResponse(ctx context.Context, params *HolderLinkedVpCreateParams, body HolderLinkedVpCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderLinkedVpCreateResponse, error)
- func (c *ClientWithResponses) HolderLinkedVpDeleteWithResponse(ctx context.Context, linkedVpId string, params *HolderLinkedVpDeleteParams, reqEditors ...RequestEditorFn) (*HolderLinkedVpDeleteResponse, error)
- func (c *ClientWithResponses) HolderLinkedVpGetDetailsWithResponse(ctx context.Context, linkedVpId string, params *HolderLinkedVpGetDetailsParams, reqEditors ...RequestEditorFn) (*HolderLinkedVpGetDetailsResponse, error)
- func (c *ClientWithResponses) HolderLinkedVpListWithResponse(ctx context.Context, params *HolderLinkedVpListParams, reqEditors ...RequestEditorFn) (*HolderLinkedVpListResponse, error)
- func (c *ClientWithResponses) HolderOfferPassAuthInfoWithBodyWithResponse(ctx context.Context, params *HolderOfferPassAuthInfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderOfferPassAuthInfoResponse, error)
- func (c *ClientWithResponses) HolderOfferPassAuthInfoWithResponse(ctx context.Context, params *HolderOfferPassAuthInfoParams, body HolderOfferPassAuthInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderOfferPassAuthInfoResponse, error)
- func (c *ClientWithResponses) HolderOfferProcessAfterConsentWithBodyWithResponse(ctx context.Context, interactionId string, params *HolderOfferProcessAfterConsentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderOfferProcessAfterConsentResponse, error)
- func (c *ClientWithResponses) HolderOfferProcessAfterConsentWithResponse(ctx context.Context, interactionId string, params *HolderOfferProcessAfterConsentParams, body HolderOfferProcessAfterConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderOfferProcessAfterConsentResponse, error)
- func (c *ClientWithResponses) HolderPresentPassAuthInfoWithBodyWithResponse(ctx context.Context, params *HolderPresentPassAuthInfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderPresentPassAuthInfoResponse, error)
- func (c *ClientWithResponses) HolderPresentPassAuthInfoWithResponse(ctx context.Context, params *HolderPresentPassAuthInfoParams, body HolderPresentPassAuthInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderPresentPassAuthInfoResponse, error)
- func (c *ClientWithResponses) IdTokenRequestCreateWithResponse(ctx context.Context, params *IdTokenRequestCreateParams, reqEditors ...RequestEditorFn) (*IdTokenRequestCreateResponse, error)
- func (c *ClientWithResponses) IssuerCredentialTypesListWithResponse(ctx context.Context, params *IssuerCredentialTypesListParams, reqEditors ...RequestEditorFn) (*IssuerCredentialTypesListResponse, error)
- func (c *ClientWithResponses) IssuerInitiateAuthOfferWithBodyWithResponse(ctx context.Context, params *IssuerInitiateAuthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssuerInitiateAuthOfferResponse, error)
- func (c *ClientWithResponses) IssuerInitiateAuthOfferWithResponse(ctx context.Context, params *IssuerInitiateAuthOfferParams, body IssuerInitiateAuthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*IssuerInitiateAuthOfferResponse, error)
- func (c *ClientWithResponses) IssuerInitiatePreauthOfferWithBodyWithResponse(ctx context.Context, params *IssuerInitiatePreauthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssuerInitiatePreauthOfferResponse, error)
- func (c *ClientWithResponses) IssuerInitiatePreauthOfferWithResponse(ctx context.Context, params *IssuerInitiatePreauthOfferParams, body IssuerInitiatePreauthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*IssuerInitiatePreauthOfferResponse, error)
- func (c *ClientWithResponses) TfAccreditAsTrustedIssuerWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*TfAccreditAsTrustedIssuerResponse, error)
- func (c *ClientWithResponses) TfAccreditAsWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TfAccreditAsResponse, error)
- func (c *ClientWithResponses) TfAccreditAsWithResponse(ctx context.Context, walletId string, body TfAccreditAsJSONRequestBody, reqEditors ...RequestEditorFn) (*TfAccreditAsResponse, error)
- func (c *ClientWithResponses) TfInsertIssuerProxyWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*TfInsertIssuerProxyResponse, error)
- func (c *ClientWithResponses) TfOnboardLegalEntityWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*TfOnboardLegalEntityResponse, error)
- func (c *ClientWithResponses) TfPrepareToAccreditWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TfPrepareToAccreditResponse, error)
- func (c *ClientWithResponses) TfPrepareToAccreditWithResponse(ctx context.Context, walletId string, body TfPrepareToAccreditJSONRequestBody, reqEditors ...RequestEditorFn) (*TfPrepareToAccreditResponse, error)
- func (c *ClientWithResponses) TfPrepareToOnboardWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TfPrepareToOnboardResponse, error)
- func (c *ClientWithResponses) TfPrepareToOnboardWithResponse(ctx context.Context, walletId string, body TfPrepareToOnboardJSONRequestBody, reqEditors ...RequestEditorFn) (*TfPrepareToOnboardResponse, error)
- func (c *ClientWithResponses) TfRevokeAccreditationWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TfRevokeAccreditationResponse, error)
- func (c *ClientWithResponses) TfRevokeAccreditationWithResponse(ctx context.Context, walletId string, body TfRevokeAccreditationJSONRequestBody, reqEditors ...RequestEditorFn) (*TfRevokeAccreditationResponse, error)
- func (c *ClientWithResponses) VerifierInitUrlCreateWithBodyWithResponse(ctx context.Context, params *VerifierInitUrlCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifierInitUrlCreateResponse, error)
- func (c *ClientWithResponses) VerifierInitUrlCreateWithResponse(ctx context.Context, params *VerifierInitUrlCreateParams, body VerifierInitUrlCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifierInitUrlCreateResponse, error)
- func (c *ClientWithResponses) VerifierLinkedVpVerifyWithResponse(ctx context.Context, params *VerifierLinkedVpVerifyParams, reqEditors ...RequestEditorFn) (*VerifierLinkedVpVerifyResponse, error)
- func (c *ClientWithResponses) WalletCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WalletCreateResponse, error)
- func (c *ClientWithResponses) WalletCreateWithResponse(ctx context.Context, body WalletCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*WalletCreateResponse, error)
- func (c *ClientWithResponses) WalletDeleteWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*WalletDeleteResponse, error)
- func (c *ClientWithResponses) WalletGetWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*WalletGetResponse, error)
- func (c *ClientWithResponses) WalletKeysWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*WalletKeysResponse, error)
- func (c *ClientWithResponses) WalletListWithResponse(ctx context.Context, params *WalletListParams, reqEditors ...RequestEditorFn) (*WalletListResponse, error)
- func (c *ClientWithResponses) WalletNotificationGetByStateWithResponse(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*WalletNotificationGetByStateResponse, error)
- func (c *ClientWithResponses) WalletNotificationHistoryWithResponse(ctx context.Context, walletId string, params *WalletNotificationHistoryParams, reqEditors ...RequestEditorFn) (*WalletNotificationHistoryResponse, error)
- func (c *ClientWithResponses) WalletNotificationsWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*WalletNotificationsResponse, error)
- func (c *ClientWithResponses) WalletPatchWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WalletPatchResponse, error)
- func (c *ClientWithResponses) WalletPatchWithResponse(ctx context.Context, walletId string, body WalletPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*WalletPatchResponse, error)
- func (c *ClientWithResponses) WalletVerifiedCredentialsByStateWithResponse(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*WalletVerifiedCredentialsByStateResponse, error)
- func (c *ClientWithResponses) WalletVerifiedCredentialsDeleteByStateWithResponse(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*WalletVerifiedCredentialsDeleteByStateResponse, error)
- type ClientWithResponsesInterface
- type Config
- type Credential
- func (vcred *Credential) CredentialBuilder() *CredentialBuilder
- func (a Credential) Get(fieldName string) (value interface{}, found bool)
- func (a Credential) MarshalJSON() ([]byte, error)
- func (a *Credential) Set(fieldName string, value interface{})
- func (a *Credential) UnmarshalJSON(b []byte) error
- type CredentialBuilder
- func (b *CredentialBuilder) AddContext(contextLink string) *CredentialBuilder
- func (b *CredentialBuilder) AddCredentialSchema(schema *CredentialSchemaItem) error
- func (b *CredentialBuilder) AddCredentialSubject(subj *CredentialSubjectItem) error
- func (b *CredentialBuilder) AddType(t string) *CredentialBuilder
- func (b *CredentialBuilder) FromJsonBytes(credJson []byte) error
- func (b *CredentialBuilder) FromJsonFile(path string) error
- func (b *CredentialBuilder) SetCredentialStatus(status *CredentialStatus) *CredentialBuilder
- func (b *CredentialBuilder) SetCredentialSubject(subj *CredentialSubject) *CredentialBuilder
- func (b *CredentialBuilder) SetExpirationDate(t *time.Time) *CredentialBuilder
- func (b *CredentialBuilder) SetId(id CredentialId) *CredentialBuilder
- func (b *CredentialBuilder) SetIssuanceDate(t *time.Time) *CredentialBuilder
- func (b *CredentialBuilder) SetIssued(t *time.Time) *CredentialBuilder
- func (b *CredentialBuilder) SetIssuer(issuer string) *CredentialBuilder
- func (b *CredentialBuilder) SetType(t *[]string) *CredentialBuilder
- func (b *CredentialBuilder) SetValidFrom(t *time.Time) *CredentialBuilder
- func (b *CredentialBuilder) SetValidUntil(t *time.Time) *CredentialBuilder
- func (b *CredentialBuilder) ToBytes() ([]byte, error)
- func (b *CredentialBuilder) Validate() error
- type CredentialCreateJSONRequestBody
- type CredentialCreateParams
- type CredentialCreateResponse
- type CredentialFormat
- type CredentialGetParams
- type CredentialGetResponse
- type CredentialId
- type CredentialIdObject
- type CredentialImport
- type CredentialImportJSONRequestBody
- type CredentialImportParams
- type CredentialImportResponse
- type CredentialIssuanceInit
- type CredentialIssuanceInitJSONRequestBody
- type CredentialIssuanceInitParams
- type CredentialIssuanceInitResponse
- type CredentialIssuanceInitResult
- type CredentialIssuerDefinition
- type CredentialIssuerDefinitionCredentialIssuer
- type CredentialIssuerDefinition_IssuerConfiguration
- func (t CredentialIssuerDefinition_IssuerConfiguration) AsCredentialRequirementsIssuerConfig() (CredentialRequirementsIssuerConfig, error)
- func (t CredentialIssuerDefinition_IssuerConfiguration) AsCtWalletSameIssuerConfig() (CtWalletSameIssuerConfig, error)
- func (t CredentialIssuerDefinition_IssuerConfiguration) AsVPDrivenIssuerConfig() (VPDrivenIssuerConfig, error)
- func (t *CredentialIssuerDefinition_IssuerConfiguration) FromCredentialRequirementsIssuerConfig(v CredentialRequirementsIssuerConfig) error
- func (t *CredentialIssuerDefinition_IssuerConfiguration) FromCtWalletSameIssuerConfig(v CtWalletSameIssuerConfig) error
- func (t *CredentialIssuerDefinition_IssuerConfiguration) FromVPDrivenIssuerConfig(v VPDrivenIssuerConfig) error
- func (t CredentialIssuerDefinition_IssuerConfiguration) MarshalJSON() ([]byte, error)
- func (t *CredentialIssuerDefinition_IssuerConfiguration) MergeCredentialRequirementsIssuerConfig(v CredentialRequirementsIssuerConfig) error
- func (t *CredentialIssuerDefinition_IssuerConfiguration) MergeCtWalletSameIssuerConfig(v CtWalletSameIssuerConfig) error
- func (t *CredentialIssuerDefinition_IssuerConfiguration) MergeVPDrivenIssuerConfig(v VPDrivenIssuerConfig) error
- func (t *CredentialIssuerDefinition_IssuerConfiguration) UnmarshalJSON(b []byte) error
- type CredentialList
- type CredentialListParams
- type CredentialListParamsInteraction
- type CredentialListResponse
- type CredentialMetadata
- type CredentialMetadataInteraction
- type CredentialMetadataPatchJSONRequestBody
- type CredentialMetadataPatchParams
- type CredentialMetadataPatchPayload
- func (a CredentialMetadataPatchPayload) Get(fieldName string) (value interface{}, found bool)
- func (a CredentialMetadataPatchPayload) MarshalJSON() ([]byte, error)
- func (a *CredentialMetadataPatchPayload) Set(fieldName string, value interface{})
- func (a *CredentialMetadataPatchPayload) UnmarshalJSON(b []byte) error
- type CredentialMetadataPatchResponse
- type CredentialMetadataStatus
- type CredentialPatchJSONRequestBody
- type CredentialPatchParams
- type CredentialPatchPayload
- type CredentialPatchResponse
- type CredentialPayload
- type CredentialRequest
- type CredentialRequestInitJSONRequestBody
- type CredentialRequestInitParams
- type CredentialRequestInitResponse
- type CredentialRequirementsIssuerConfig
- type CredentialRevokeParams
- type CredentialRevokeResponse
- type CredentialSchema
- func (t CredentialSchema) AsCredentialSchema1() (CredentialSchema1, error)
- func (t CredentialSchema) AsCredentialSchemaItem() (CredentialSchemaItem, error)
- func (t *CredentialSchema) FromCredentialSchema1(v CredentialSchema1) error
- func (t *CredentialSchema) FromCredentialSchemaItem(v CredentialSchemaItem) error
- func (t CredentialSchema) MarshalJSON() ([]byte, error)
- func (t *CredentialSchema) MergeCredentialSchema1(v CredentialSchema1) error
- func (t *CredentialSchema) MergeCredentialSchemaItem(v CredentialSchemaItem) error
- func (t *CredentialSchema) UnmarshalJSON(b []byte) error
- type CredentialSchema1
- type CredentialSchemaId
- type CredentialSchemaItem
- type CredentialStatus
- type CredentialSubject
- func (t CredentialSubject) AsCredentialSubject1() (CredentialSubject1, error)
- func (t CredentialSubject) AsCredentialSubjectItem() (CredentialSubjectItem, error)
- func (t *CredentialSubject) FromCredentialSubject1(v CredentialSubject1) error
- func (t *CredentialSubject) FromCredentialSubjectItem(v CredentialSubjectItem) error
- func (t CredentialSubject) MarshalJSON() ([]byte, error)
- func (t *CredentialSubject) MergeCredentialSubject1(v CredentialSubject1) error
- func (t *CredentialSubject) MergeCredentialSubjectItem(v CredentialSubjectItem) error
- func (t *CredentialSubject) UnmarshalJSON(b []byte) error
- type CredentialSubject1
- type CredentialSubjectItem
- type CredentialToPresentWrapper
- type CredentialType
- type CredentialTypes
- type CredentialVerifierDefinition
- type CredentialWrapper
- type Credential_Issuer
- func (t Credential_Issuer) AsIssuerId() (IssuerId, error)
- func (t Credential_Issuer) AsIssuerMeta() (IssuerMeta, error)
- func (t *Credential_Issuer) FromIssuerId(v IssuerId) error
- func (t *Credential_Issuer) FromIssuerMeta(v IssuerMeta) error
- func (t Credential_Issuer) MarshalJSON() ([]byte, error)
- func (t *Credential_Issuer) MergeIssuerId(v IssuerId) error
- func (t *Credential_Issuer) MergeIssuerMeta(v IssuerMeta) error
- func (t *Credential_Issuer) UnmarshalJSON(b []byte) error
- type CtWalletSameIssuerConfig
- type Deferred
- type DeferredStatus
- type DeferredStatusParams
- type DeferredStatusResponse
- type Did
- type DidDocumentGetResponse
- type DidGetParams
- type DidGetResponse
- type EbsiConfiguration
- type EbsiSpecificWalletData
- type Error
- type Evidence
- type EvidenceItem
- type FieldToVerifyBool
- type FieldToVerifyNumber
- type FieldToVerifyString
- type FieldsToVerify
- type FieldsToVerify_Value
- func (t FieldsToVerify_Value) AsFieldToVerifyBool() (FieldToVerifyBool, error)
- func (t FieldsToVerify_Value) AsFieldToVerifyNumber() (FieldToVerifyNumber, error)
- func (t FieldsToVerify_Value) AsFieldToVerifyString() (FieldToVerifyString, error)
- func (t *FieldsToVerify_Value) FromFieldToVerifyBool(v FieldToVerifyBool) error
- func (t *FieldsToVerify_Value) FromFieldToVerifyNumber(v FieldToVerifyNumber) error
- func (t *FieldsToVerify_Value) FromFieldToVerifyString(v FieldToVerifyString) error
- func (t FieldsToVerify_Value) MarshalJSON() ([]byte, error)
- func (t *FieldsToVerify_Value) MergeFieldToVerifyBool(v FieldToVerifyBool) error
- func (t *FieldsToVerify_Value) MergeFieldToVerifyNumber(v FieldToVerifyNumber) error
- func (t *FieldsToVerify_Value) MergeFieldToVerifyString(v FieldToVerifyString) error
- func (t *FieldsToVerify_Value) UnmarshalJSON(b []byte) error
- type HealthCheckResponse
- type HealthStatus
- type HealthStatusStatus
- type HolderAuthOfferCreationRequest
- type HolderCreateAuthOfferJSONRequestBody
- type HolderCreateAuthOfferParams
- type HolderCreateAuthOfferResponse
- type HolderCredentialsPresentAfterConsentJSONRequestBody
- type HolderCredentialsPresentAfterConsentParams
- type HolderCredentialsPresentAfterConsentResponse
- type HolderIdTokenSendJSONRequestBody
- type HolderIdTokenSendParams
- type HolderIdTokenSendResponse
- type HolderLinkedVpCreateJSONRequestBody
- type HolderLinkedVpCreateParams
- type HolderLinkedVpCreateResponse
- type HolderLinkedVpDeleteParams
- type HolderLinkedVpDeleteResponse
- type HolderLinkedVpGetDetailsParams
- type HolderLinkedVpGetDetailsResponse
- type HolderLinkedVpListParams
- type HolderLinkedVpListResponse
- type HolderOfferPassAuthInfoJSONRequestBody
- type HolderOfferPassAuthInfoParams
- type HolderOfferPassAuthInfoResponse
- type HolderOfferProcessAfterConsentJSONRequestBody
- type HolderOfferProcessAfterConsentParams
- type HolderOfferProcessAfterConsentResponse
- type HolderPresentPassAuthInfoJSONRequestBody
- type HolderPresentPassAuthInfoParams
- type HolderPresentPassAuthInfoResponse
- type HttpRequestDoer
- type IdTokenReceivedNotification
- type IdTokenRequest
- type IdTokenRequestCreateParams
- type IdTokenRequestCreateResponse
- type IdTokenSendRequest
- type InitAuthOffer
- type InitPreAuthOffer
- type InputDescriptorSuitableCredentials
- type InteractionAuthorizationConsent
- type InteractionAuthorizationRequirements
- type InteractionAuthorizationRequirementsRequirementType
- type InternalServerError
- type IssuanceRequirementsToVerify
- type IssuerCredentialTypesListParams
- type IssuerCredentialTypesListResponse
- type IssuerDisplayItem
- type IssuerId
- type IssuerInitiateAuthOfferJSONRequestBody
- type IssuerInitiateAuthOfferParams
- type IssuerInitiateAuthOfferResponse
- type IssuerInitiatePreauthOfferJSONRequestBody
- type IssuerInitiatePreauthOfferParams
- type IssuerInitiatePreauthOfferResponse
- type IssuerLogo
- type IssuerMeta
- type LinkedVpCreateRequest
- type LinkedVpList
- type LinkedVpMetadata
- type ListSort
- type NotFoundError
- type OfferReceivedNotification
- type OidcRevision
- type OidcRevisionOidc4vci
- type OidcRevisionOidc4vp
- type OnboardResult
- type PreAuthOffer
- type PrepareToAccreditRequest
- type PrepareToAccreditRequestType
- type PrepareToOnboardRequest
- type PresentationDefinition
- type PresentationDefinitionFormat
- type PresentationDefinitionFormatAlg
- type PresentationDefinitionInputConstraint
- type PresentationDefinitionInputConstraintField
- type PresentationDefinitionInputDescriptor
- type PresentationDefinitionSubmissionRequirements
- type PresentationDefinitionSubmissionRequirementsRule
- type PresentationRequest
- type Proof
- type RefreshService
- func (t RefreshService) AsRefreshService1() (RefreshService1, error)
- func (t RefreshService) AsRefreshServiceItem() (RefreshServiceItem, error)
- func (t *RefreshService) FromRefreshService1(v RefreshService1) error
- func (t *RefreshService) FromRefreshServiceItem(v RefreshServiceItem) error
- func (t RefreshService) MarshalJSON() ([]byte, error)
- func (t *RefreshService) MergeRefreshService1(v RefreshService1) error
- func (t *RefreshService) MergeRefreshServiceItem(v RefreshServiceItem) error
- func (t *RefreshService) UnmarshalJSON(b []byte) error
- type RefreshService1
- type RefreshServiceItem
- type RequestEditorFn
- type RevokeAccreditationRequest
- type RevokeAccreditationRequestType
- type SystemImpact
- type SystemImpactStatus
- type TermsOfUse
- type TfAccreditAsJSONRequestBody
- type TfAccreditAsResponse
- type TfAccreditAsTrustedIssuerResponse
- type TfInsertIssuerProxyResponse
- type TfOnboardLegalEntityResponse
- type TfPrepareToAccreditJSONRequestBody
- type TfPrepareToAccreditResponse
- type TfPrepareToOnboardJSONRequestBody
- type TfPrepareToOnboardResponse
- type TfRevokeAccreditationJSONRequestBody
- type TfRevokeAccreditationResponse
- type VPDrivenIssuerConfig
- type VcOffer
- type VerifiedLinkedVp
- type VerifiedWrapper
- type VerifierInitUrlCreateJSONRequestBody
- type VerifierInitUrlCreateParams
- type VerifierInitUrlCreateResponse
- type VerifierLinkedVpVerifyParams
- type VerifierLinkedVpVerifyResponse
- type VerifyInitRequest
- type VerifyInitResponse
- type VpVerifiedNotification
- type Wallet
- type WalletCapability
- type WalletConfig
- type WalletConfigTrustFramework
- type WalletCreateJSONRequestBody
- type WalletCreateResponse
- type WalletDeleteResponse
- type WalletGetResponse
- type WalletId
- type WalletIdObject
- type WalletKeys
- type WalletKeysResponse
- type WalletList
- type WalletListItem
- type WalletListParams
- type WalletListResponse
- type WalletNotification
- type WalletNotificationEventType
- type WalletNotificationGetByStateResponse
- type WalletNotificationHistory
- type WalletNotificationHistoryParams
- type WalletNotificationHistoryResponse
- type WalletNotificationList
- type WalletNotification_EventDetails
- func (t WalletNotification_EventDetails) AsIdTokenReceivedNotification() (IdTokenReceivedNotification, error)
- func (t WalletNotification_EventDetails) AsOfferReceivedNotification() (OfferReceivedNotification, error)
- func (t WalletNotification_EventDetails) AsVpVerifiedNotification() (VpVerifiedNotification, error)
- func (t *WalletNotification_EventDetails) FromIdTokenReceivedNotification(v IdTokenReceivedNotification) error
- func (t *WalletNotification_EventDetails) FromOfferReceivedNotification(v OfferReceivedNotification) error
- func (t *WalletNotification_EventDetails) FromVpVerifiedNotification(v VpVerifiedNotification) error
- func (t WalletNotification_EventDetails) MarshalJSON() ([]byte, error)
- func (t *WalletNotification_EventDetails) MergeIdTokenReceivedNotification(v IdTokenReceivedNotification) error
- func (t *WalletNotification_EventDetails) MergeOfferReceivedNotification(v OfferReceivedNotification) error
- func (t *WalletNotification_EventDetails) MergeVpVerifiedNotification(v VpVerifiedNotification) error
- func (t *WalletNotification_EventDetails) UnmarshalJSON(b []byte) error
- type WalletNotificationsResponse
- type WalletPatchJSONRequestBody
- type WalletPatchResponse
- type WalletVerifiedCredentialsByStateResponse
- type WalletVerifiedCredentialsDeleteByStateResponse
Constants
const (
AuthenticationTypeOAuth = "oauth"
AuthenticationTypeNone = "none"
)
const (
AccessTokenScopes = "accessToken.Scopes"
)
func NewCredentialCreateRequest
func NewCredentialCreateRequest(server string, params *CredentialCreateParams, body CredentialCreateJSONRequestBody) (*http.Request, error)
NewCredentialCreateRequest calls the generic CredentialCreate builder with application/json body
func NewCredentialCreateRequestWithBody
func NewCredentialCreateRequestWithBody(server string, params *CredentialCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewCredentialCreateRequestWithBody generates requests for CredentialCreate with any type of body
func NewCredentialGetRequest
func NewCredentialGetRequest(server string, credentialId CredentialId, params *CredentialGetParams) (*http.Request, error)
NewCredentialGetRequest generates requests for CredentialGet
func NewCredentialImportRequest
func NewCredentialImportRequest(server string, params *CredentialImportParams, body CredentialImportJSONRequestBody) (*http.Request, error)
NewCredentialImportRequest calls the generic CredentialImport builder with application/json body
func NewCredentialImportRequestWithBody
func NewCredentialImportRequestWithBody(server string, params *CredentialImportParams, contentType string, body io.Reader) (*http.Request, error)
NewCredentialImportRequestWithBody generates requests for CredentialImport with any type of body
func NewCredentialIssuanceInitRequest
func NewCredentialIssuanceInitRequest(server string, credentialId string, params *CredentialIssuanceInitParams, body CredentialIssuanceInitJSONRequestBody) (*http.Request, error)
NewCredentialIssuanceInitRequest calls the generic CredentialIssuanceInit builder with application/json body
func NewCredentialIssuanceInitRequestWithBody
func NewCredentialIssuanceInitRequestWithBody(server string, credentialId string, params *CredentialIssuanceInitParams, contentType string, body io.Reader) (*http.Request, error)
NewCredentialIssuanceInitRequestWithBody generates requests for CredentialIssuanceInit with any type of body
func NewCredentialListRequest
func NewCredentialListRequest(server string, params *CredentialListParams) (*http.Request, error)
NewCredentialListRequest generates requests for CredentialList
func NewCredentialMetadataPatchRequest
func NewCredentialMetadataPatchRequest(server string, credentialId CredentialId, params *CredentialMetadataPatchParams, body CredentialMetadataPatchJSONRequestBody) (*http.Request, error)
NewCredentialMetadataPatchRequest calls the generic CredentialMetadataPatch builder with application/json body
func NewCredentialMetadataPatchRequestWithBody
func NewCredentialMetadataPatchRequestWithBody(server string, credentialId CredentialId, params *CredentialMetadataPatchParams, contentType string, body io.Reader) (*http.Request, error)
NewCredentialMetadataPatchRequestWithBody generates requests for CredentialMetadataPatch with any type of body
func NewCredentialPatchRequest
func NewCredentialPatchRequest(server string, credentialId CredentialId, params *CredentialPatchParams, body CredentialPatchJSONRequestBody) (*http.Request, error)
NewCredentialPatchRequest calls the generic CredentialPatch builder with application/json body
func NewCredentialPatchRequestWithBody
func NewCredentialPatchRequestWithBody(server string, credentialId CredentialId, params *CredentialPatchParams, contentType string, body io.Reader) (*http.Request, error)
NewCredentialPatchRequestWithBody generates requests for CredentialPatch with any type of body
func NewCredentialRequestInitRequest
func NewCredentialRequestInitRequest(server string, params *CredentialRequestInitParams, body CredentialRequestInitJSONRequestBody) (*http.Request, error)
NewCredentialRequestInitRequest calls the generic CredentialRequestInit builder with application/json body
func NewCredentialRequestInitRequestWithBody
func NewCredentialRequestInitRequestWithBody(server string, params *CredentialRequestInitParams, contentType string, body io.Reader) (*http.Request, error)
NewCredentialRequestInitRequestWithBody generates requests for CredentialRequestInit with any type of body
func NewCredentialRevokeRequest
func NewCredentialRevokeRequest(server string, credentialId CredentialId, params *CredentialRevokeParams) (*http.Request, error)
NewCredentialRevokeRequest generates requests for CredentialRevoke
func NewDeferredStatusRequest
func NewDeferredStatusRequest(server string, deferredId string, params *DeferredStatusParams) (*http.Request, error)
NewDeferredStatusRequest generates requests for DeferredStatus
func NewDidDocumentGetRequest
func NewDidDocumentGetRequest(server string, walletId string) (*http.Request, error)
NewDidDocumentGetRequest generates requests for DidDocumentGet
func NewDidGetRequest
func NewDidGetRequest(server string, params *DidGetParams) (*http.Request, error)
NewDidGetRequest generates requests for DidGet
func NewHealthCheckRequest
func NewHealthCheckRequest(server string) (*http.Request, error)
NewHealthCheckRequest generates requests for HealthCheck
func NewHolderCreateAuthOfferRequest
func NewHolderCreateAuthOfferRequest(server string, params *HolderCreateAuthOfferParams, body HolderCreateAuthOfferJSONRequestBody) (*http.Request, error)
NewHolderCreateAuthOfferRequest calls the generic HolderCreateAuthOffer builder with application/json body
func NewHolderCreateAuthOfferRequestWithBody
func NewHolderCreateAuthOfferRequestWithBody(server string, params *HolderCreateAuthOfferParams, contentType string, body io.Reader) (*http.Request, error)
NewHolderCreateAuthOfferRequestWithBody generates requests for HolderCreateAuthOffer with any type of body
func NewHolderCredentialsPresentAfterConsentRequest
func NewHolderCredentialsPresentAfterConsentRequest(server string, interactionId string, params *HolderCredentialsPresentAfterConsentParams, body HolderCredentialsPresentAfterConsentJSONRequestBody) (*http.Request, error)
NewHolderCredentialsPresentAfterConsentRequest calls the generic HolderCredentialsPresentAfterConsent builder with application/json body
func NewHolderCredentialsPresentAfterConsentRequestWithBody
func NewHolderCredentialsPresentAfterConsentRequestWithBody(server string, interactionId string, params *HolderCredentialsPresentAfterConsentParams, contentType string, body io.Reader) (*http.Request, error)
NewHolderCredentialsPresentAfterConsentRequestWithBody generates requests for HolderCredentialsPresentAfterConsent with any type of body
func NewHolderIdTokenSendRequest
func NewHolderIdTokenSendRequest(server string, params *HolderIdTokenSendParams, body HolderIdTokenSendJSONRequestBody) (*http.Request, error)
NewHolderIdTokenSendRequest calls the generic HolderIdTokenSend builder with application/json body
func NewHolderIdTokenSendRequestWithBody
func NewHolderIdTokenSendRequestWithBody(server string, params *HolderIdTokenSendParams, contentType string, body io.Reader) (*http.Request, error)
NewHolderIdTokenSendRequestWithBody generates requests for HolderIdTokenSend with any type of body
func NewHolderLinkedVpCreateRequest
func NewHolderLinkedVpCreateRequest(server string, params *HolderLinkedVpCreateParams, body HolderLinkedVpCreateJSONRequestBody) (*http.Request, error)
NewHolderLinkedVpCreateRequest calls the generic HolderLinkedVpCreate builder with application/json body
func NewHolderLinkedVpCreateRequestWithBody
func NewHolderLinkedVpCreateRequestWithBody(server string, params *HolderLinkedVpCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewHolderLinkedVpCreateRequestWithBody generates requests for HolderLinkedVpCreate with any type of body
func NewHolderLinkedVpDeleteRequest
func NewHolderLinkedVpDeleteRequest(server string, linkedVpId string, params *HolderLinkedVpDeleteParams) (*http.Request, error)
NewHolderLinkedVpDeleteRequest generates requests for HolderLinkedVpDelete
func NewHolderLinkedVpGetDetailsRequest
func NewHolderLinkedVpGetDetailsRequest(server string, linkedVpId string, params *HolderLinkedVpGetDetailsParams) (*http.Request, error)
NewHolderLinkedVpGetDetailsRequest generates requests for HolderLinkedVpGetDetails
func NewHolderLinkedVpListRequest
func NewHolderLinkedVpListRequest(server string, params *HolderLinkedVpListParams) (*http.Request, error)
NewHolderLinkedVpListRequest generates requests for HolderLinkedVpList
func NewHolderOfferPassAuthInfoRequest
func NewHolderOfferPassAuthInfoRequest(server string, params *HolderOfferPassAuthInfoParams, body HolderOfferPassAuthInfoJSONRequestBody) (*http.Request, error)
NewHolderOfferPassAuthInfoRequest calls the generic HolderOfferPassAuthInfo builder with application/json body
func NewHolderOfferPassAuthInfoRequestWithBody
func NewHolderOfferPassAuthInfoRequestWithBody(server string, params *HolderOfferPassAuthInfoParams, contentType string, body io.Reader) (*http.Request, error)
NewHolderOfferPassAuthInfoRequestWithBody generates requests for HolderOfferPassAuthInfo with any type of body
func NewHolderOfferProcessAfterConsentRequest
func NewHolderOfferProcessAfterConsentRequest(server string, interactionId string, params *HolderOfferProcessAfterConsentParams, body HolderOfferProcessAfterConsentJSONRequestBody) (*http.Request, error)
NewHolderOfferProcessAfterConsentRequest calls the generic HolderOfferProcessAfterConsent builder with application/json body
func NewHolderOfferProcessAfterConsentRequestWithBody
func NewHolderOfferProcessAfterConsentRequestWithBody(server string, interactionId string, params *HolderOfferProcessAfterConsentParams, contentType string, body io.Reader) (*http.Request, error)
NewHolderOfferProcessAfterConsentRequestWithBody generates requests for HolderOfferProcessAfterConsent with any type of body
func NewHolderPresentPassAuthInfoRequest
func NewHolderPresentPassAuthInfoRequest(server string, params *HolderPresentPassAuthInfoParams, body HolderPresentPassAuthInfoJSONRequestBody) (*http.Request, error)
NewHolderPresentPassAuthInfoRequest calls the generic HolderPresentPassAuthInfo builder with application/json body
func NewHolderPresentPassAuthInfoRequestWithBody
func NewHolderPresentPassAuthInfoRequestWithBody(server string, params *HolderPresentPassAuthInfoParams, contentType string, body io.Reader) (*http.Request, error)
NewHolderPresentPassAuthInfoRequestWithBody generates requests for HolderPresentPassAuthInfo with any type of body
func NewIdTokenRequestCreateRequest
func NewIdTokenRequestCreateRequest(server string, params *IdTokenRequestCreateParams) (*http.Request, error)
NewIdTokenRequestCreateRequest generates requests for IdTokenRequestCreate
func NewIssuerCredentialTypesListRequest
func NewIssuerCredentialTypesListRequest(server string, params *IssuerCredentialTypesListParams) (*http.Request, error)
NewIssuerCredentialTypesListRequest generates requests for IssuerCredentialTypesList
func NewIssuerInitiateAuthOfferRequest
func NewIssuerInitiateAuthOfferRequest(server string, params *IssuerInitiateAuthOfferParams, body IssuerInitiateAuthOfferJSONRequestBody) (*http.Request, error)
NewIssuerInitiateAuthOfferRequest calls the generic IssuerInitiateAuthOffer builder with application/json body
func NewIssuerInitiateAuthOfferRequestWithBody
func NewIssuerInitiateAuthOfferRequestWithBody(server string, params *IssuerInitiateAuthOfferParams, contentType string, body io.Reader) (*http.Request, error)
NewIssuerInitiateAuthOfferRequestWithBody generates requests for IssuerInitiateAuthOffer with any type of body
func NewIssuerInitiatePreauthOfferRequest
func NewIssuerInitiatePreauthOfferRequest(server string, params *IssuerInitiatePreauthOfferParams, body IssuerInitiatePreauthOfferJSONRequestBody) (*http.Request, error)
NewIssuerInitiatePreauthOfferRequest calls the generic IssuerInitiatePreauthOffer builder with application/json body
func NewIssuerInitiatePreauthOfferRequestWithBody
func NewIssuerInitiatePreauthOfferRequestWithBody(server string, params *IssuerInitiatePreauthOfferParams, contentType string, body io.Reader) (*http.Request, error)
NewIssuerInitiatePreauthOfferRequestWithBody generates requests for IssuerInitiatePreauthOffer with any type of body
func NewTfAccreditAsRequest
func NewTfAccreditAsRequest(server string, walletId string, body TfAccreditAsJSONRequestBody) (*http.Request, error)
NewTfAccreditAsRequest calls the generic TfAccreditAs builder with application/json body
func NewTfAccreditAsRequestWithBody
func NewTfAccreditAsRequestWithBody(server string, walletId string, contentType string, body io.Reader) (*http.Request, error)
NewTfAccreditAsRequestWithBody generates requests for TfAccreditAs with any type of body
func NewTfAccreditAsTrustedIssuerRequest
func NewTfAccreditAsTrustedIssuerRequest(server string, walletId string) (*http.Request, error)
NewTfAccreditAsTrustedIssuerRequest generates requests for TfAccreditAsTrustedIssuer
func NewTfInsertIssuerProxyRequest
func NewTfInsertIssuerProxyRequest(server string, walletId string) (*http.Request, error)
NewTfInsertIssuerProxyRequest generates requests for TfInsertIssuerProxy
func NewTfOnboardLegalEntityRequest
func NewTfOnboardLegalEntityRequest(server string, walletId string) (*http.Request, error)
NewTfOnboardLegalEntityRequest generates requests for TfOnboardLegalEntity
func NewTfPrepareToAccreditRequest
func NewTfPrepareToAccreditRequest(server string, walletId string, body TfPrepareToAccreditJSONRequestBody) (*http.Request, error)
NewTfPrepareToAccreditRequest calls the generic TfPrepareToAccredit builder with application/json body
func NewTfPrepareToAccreditRequestWithBody
func NewTfPrepareToAccreditRequestWithBody(server string, walletId string, contentType string, body io.Reader) (*http.Request, error)
NewTfPrepareToAccreditRequestWithBody generates requests for TfPrepareToAccredit with any type of body
func NewTfPrepareToOnboardRequest
func NewTfPrepareToOnboardRequest(server string, walletId string, body TfPrepareToOnboardJSONRequestBody) (*http.Request, error)
NewTfPrepareToOnboardRequest calls the generic TfPrepareToOnboard builder with application/json body
func NewTfPrepareToOnboardRequestWithBody
func NewTfPrepareToOnboardRequestWithBody(server string, walletId string, contentType string, body io.Reader) (*http.Request, error)
NewTfPrepareToOnboardRequestWithBody generates requests for TfPrepareToOnboard with any type of body
func NewTfRevokeAccreditationRequest
func NewTfRevokeAccreditationRequest(server string, walletId string, body TfRevokeAccreditationJSONRequestBody) (*http.Request, error)
NewTfRevokeAccreditationRequest calls the generic TfRevokeAccreditation builder with application/json body
func NewTfRevokeAccreditationRequestWithBody
func NewTfRevokeAccreditationRequestWithBody(server string, walletId string, contentType string, body io.Reader) (*http.Request, error)
NewTfRevokeAccreditationRequestWithBody generates requests for TfRevokeAccreditation with any type of body
func NewVerifierInitUrlCreateRequest
func NewVerifierInitUrlCreateRequest(server string, params *VerifierInitUrlCreateParams, body VerifierInitUrlCreateJSONRequestBody) (*http.Request, error)
NewVerifierInitUrlCreateRequest calls the generic VerifierInitUrlCreate builder with application/json body
func NewVerifierInitUrlCreateRequestWithBody
func NewVerifierInitUrlCreateRequestWithBody(server string, params *VerifierInitUrlCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewVerifierInitUrlCreateRequestWithBody generates requests for VerifierInitUrlCreate with any type of body
func NewVerifierLinkedVpVerifyRequest
func NewVerifierLinkedVpVerifyRequest(server string, params *VerifierLinkedVpVerifyParams) (*http.Request, error)
NewVerifierLinkedVpVerifyRequest generates requests for VerifierLinkedVpVerify
func NewWalletCreateRequest
func NewWalletCreateRequest(server string, body WalletCreateJSONRequestBody) (*http.Request, error)
NewWalletCreateRequest calls the generic WalletCreate builder with application/json body
func NewWalletCreateRequestWithBody
func NewWalletCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWalletCreateRequestWithBody generates requests for WalletCreate with any type of body
func NewWalletDeleteRequest
func NewWalletDeleteRequest(server string, walletId string) (*http.Request, error)
NewWalletDeleteRequest generates requests for WalletDelete
func NewWalletGetRequest
func NewWalletGetRequest(server string, walletId string) (*http.Request, error)
NewWalletGetRequest generates requests for WalletGet
func NewWalletKeysRequest
func NewWalletKeysRequest(server string, walletId string) (*http.Request, error)
NewWalletKeysRequest generates requests for WalletKeys
func NewWalletListRequest
func NewWalletListRequest(server string, params *WalletListParams) (*http.Request, error)
NewWalletListRequest generates requests for WalletList
func NewWalletNotificationGetByStateRequest
func NewWalletNotificationGetByStateRequest(server string, walletId string, state string) (*http.Request, error)
NewWalletNotificationGetByStateRequest generates requests for WalletNotificationGetByState
func NewWalletNotificationHistoryRequest
func NewWalletNotificationHistoryRequest(server string, walletId string, params *WalletNotificationHistoryParams) (*http.Request, error)
NewWalletNotificationHistoryRequest generates requests for WalletNotificationHistory
func NewWalletNotificationsRequest
func NewWalletNotificationsRequest(server string, walletId string) (*http.Request, error)
NewWalletNotificationsRequest generates requests for WalletNotifications
func NewWalletPatchRequest
func NewWalletPatchRequest(server string, walletId string, body WalletPatchJSONRequestBody) (*http.Request, error)
NewWalletPatchRequest calls the generic WalletPatch builder with application/json body
func NewWalletPatchRequestWithBody
func NewWalletPatchRequestWithBody(server string, walletId string, contentType string, body io.Reader) (*http.Request, error)
NewWalletPatchRequestWithBody generates requests for WalletPatch with any type of body
func NewWalletVerifiedCredentialsByStateRequest
func NewWalletVerifiedCredentialsByStateRequest(server string, walletId string, state string) (*http.Request, error)
NewWalletVerifiedCredentialsByStateRequest generates requests for WalletVerifiedCredentialsByState
func NewWalletVerifiedCredentialsDeleteByStateRequest
func NewWalletVerifiedCredentialsDeleteByStateRequest(server string, walletId string, state string) (*http.Request, error)
NewWalletVerifiedCredentialsDeleteByStateRequest generates requests for WalletVerifiedCredentialsDeleteByState
type AccreditationRequest
AccreditationRequest Accreditation request of own wallet.
type AccreditationRequest struct {
Type AccreditationRequestType `json:"type"`
}
type AccreditationRequestType
AccreditationRequestType defines model for AccreditationRequest.Type.
type AccreditationRequestType string
Defines values for AccreditationRequestType.
const (
AccreditationRequestTypeRootTrustedAccreditationOrganisation AccreditationRequestType = "RootTrustedAccreditationOrganisation"
AccreditationRequestTypeTrustedAccreditationOrganisation AccreditationRequestType = "TrustedAccreditationOrganisation"
)
type AuthOffer
AuthOffer The authorized flow initiation result consisting of the issuer state and URL
type AuthOffer struct {
IssuerUrl string `json:"issuerUrl"`
Offer string `json:"offer"`
State string `json:"state"`
ValidUntil time.Time `json:"validUntil"`
}
type AuthenticationOAuth
type AuthenticationOAuth struct {
TokenUrl string `yaml:"tokenUrl"`
ClientId string `yaml:"clientId"`
ClientSecret string `yaml:"clientSecret"`
}
type BadRequestError
BadRequestError Common error message
type BadRequestError = Error
type Client
Client which conforms to the OpenAPI3 specification for this service.
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
func NewClient
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) CredentialCreate
func (c *Client) CredentialCreate(ctx context.Context, params *CredentialCreateParams, body CredentialCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialCreateWithBody
func (c *Client) CredentialCreateWithBody(ctx context.Context, params *CredentialCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialGet
func (c *Client) CredentialGet(ctx context.Context, credentialId CredentialId, params *CredentialGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialImport
func (c *Client) CredentialImport(ctx context.Context, params *CredentialImportParams, body CredentialImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialImportWithBody
func (c *Client) CredentialImportWithBody(ctx context.Context, params *CredentialImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialIssuanceInit
func (c *Client) CredentialIssuanceInit(ctx context.Context, credentialId string, params *CredentialIssuanceInitParams, body CredentialIssuanceInitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialIssuanceInitWithBody
func (c *Client) CredentialIssuanceInitWithBody(ctx context.Context, credentialId string, params *CredentialIssuanceInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialList
func (c *Client) CredentialList(ctx context.Context, params *CredentialListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialMetadataPatch
func (c *Client) CredentialMetadataPatch(ctx context.Context, credentialId CredentialId, params *CredentialMetadataPatchParams, body CredentialMetadataPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialMetadataPatchWithBody
func (c *Client) CredentialMetadataPatchWithBody(ctx context.Context, credentialId CredentialId, params *CredentialMetadataPatchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialPatch
func (c *Client) CredentialPatch(ctx context.Context, credentialId CredentialId, params *CredentialPatchParams, body CredentialPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialPatchWithBody
func (c *Client) CredentialPatchWithBody(ctx context.Context, credentialId CredentialId, params *CredentialPatchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialRequestInit
func (c *Client) CredentialRequestInit(ctx context.Context, params *CredentialRequestInitParams, body CredentialRequestInitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialRequestInitWithBody
func (c *Client) CredentialRequestInitWithBody(ctx context.Context, params *CredentialRequestInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialRevoke
func (c *Client) CredentialRevoke(ctx context.Context, credentialId CredentialId, params *CredentialRevokeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeferredStatus
func (c *Client) DeferredStatus(ctx context.Context, deferredId string, params *DeferredStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DidDocumentGet
func (c *Client) DidDocumentGet(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DidGet
func (c *Client) DidGet(ctx context.Context, params *DidGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HealthCheck
func (c *Client) HealthCheck(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderCreateAuthOffer
func (c *Client) HolderCreateAuthOffer(ctx context.Context, params *HolderCreateAuthOfferParams, body HolderCreateAuthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderCreateAuthOfferWithBody
func (c *Client) HolderCreateAuthOfferWithBody(ctx context.Context, params *HolderCreateAuthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderCredentialsPresentAfterConsent
func (c *Client) HolderCredentialsPresentAfterConsent(ctx context.Context, interactionId string, params *HolderCredentialsPresentAfterConsentParams, body HolderCredentialsPresentAfterConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderCredentialsPresentAfterConsentWithBody
func (c *Client) HolderCredentialsPresentAfterConsentWithBody(ctx context.Context, interactionId string, params *HolderCredentialsPresentAfterConsentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderIdTokenSend
func (c *Client) HolderIdTokenSend(ctx context.Context, params *HolderIdTokenSendParams, body HolderIdTokenSendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderIdTokenSendWithBody
func (c *Client) HolderIdTokenSendWithBody(ctx context.Context, params *HolderIdTokenSendParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderLinkedVpCreate
func (c *Client) HolderLinkedVpCreate(ctx context.Context, params *HolderLinkedVpCreateParams, body HolderLinkedVpCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderLinkedVpCreateWithBody
func (c *Client) HolderLinkedVpCreateWithBody(ctx context.Context, params *HolderLinkedVpCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderLinkedVpDelete
func (c *Client) HolderLinkedVpDelete(ctx context.Context, linkedVpId string, params *HolderLinkedVpDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderLinkedVpGetDetails
func (c *Client) HolderLinkedVpGetDetails(ctx context.Context, linkedVpId string, params *HolderLinkedVpGetDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderLinkedVpList
func (c *Client) HolderLinkedVpList(ctx context.Context, params *HolderLinkedVpListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderOfferPassAuthInfo
func (c *Client) HolderOfferPassAuthInfo(ctx context.Context, params *HolderOfferPassAuthInfoParams, body HolderOfferPassAuthInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderOfferPassAuthInfoWithBody
func (c *Client) HolderOfferPassAuthInfoWithBody(ctx context.Context, params *HolderOfferPassAuthInfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderOfferProcessAfterConsent
func (c *Client) HolderOfferProcessAfterConsent(ctx context.Context, interactionId string, params *HolderOfferProcessAfterConsentParams, body HolderOfferProcessAfterConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderOfferProcessAfterConsentWithBody
func (c *Client) HolderOfferProcessAfterConsentWithBody(ctx context.Context, interactionId string, params *HolderOfferProcessAfterConsentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderPresentPassAuthInfo
func (c *Client) HolderPresentPassAuthInfo(ctx context.Context, params *HolderPresentPassAuthInfoParams, body HolderPresentPassAuthInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HolderPresentPassAuthInfoWithBody
func (c *Client) HolderPresentPassAuthInfoWithBody(ctx context.Context, params *HolderPresentPassAuthInfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IdTokenRequestCreate
func (c *Client) IdTokenRequestCreate(ctx context.Context, params *IdTokenRequestCreateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IssuerCredentialTypesList
func (c *Client) IssuerCredentialTypesList(ctx context.Context, params *IssuerCredentialTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IssuerInitiateAuthOffer
func (c *Client) IssuerInitiateAuthOffer(ctx context.Context, params *IssuerInitiateAuthOfferParams, body IssuerInitiateAuthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IssuerInitiateAuthOfferWithBody
func (c *Client) IssuerInitiateAuthOfferWithBody(ctx context.Context, params *IssuerInitiateAuthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IssuerInitiatePreauthOffer
func (c *Client) IssuerInitiatePreauthOffer(ctx context.Context, params *IssuerInitiatePreauthOfferParams, body IssuerInitiatePreauthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IssuerInitiatePreauthOfferWithBody
func (c *Client) IssuerInitiatePreauthOfferWithBody(ctx context.Context, params *IssuerInitiatePreauthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TfAccreditAs
func (c *Client) TfAccreditAs(ctx context.Context, walletId string, body TfAccreditAsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TfAccreditAsTrustedIssuer
func (c *Client) TfAccreditAsTrustedIssuer(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TfAccreditAsWithBody
func (c *Client) TfAccreditAsWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TfInsertIssuerProxy
func (c *Client) TfInsertIssuerProxy(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TfOnboardLegalEntity
func (c *Client) TfOnboardLegalEntity(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TfPrepareToAccredit
func (c *Client) TfPrepareToAccredit(ctx context.Context, walletId string, body TfPrepareToAccreditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TfPrepareToAccreditWithBody
func (c *Client) TfPrepareToAccreditWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TfPrepareToOnboard
func (c *Client) TfPrepareToOnboard(ctx context.Context, walletId string, body TfPrepareToOnboardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TfPrepareToOnboardWithBody
func (c *Client) TfPrepareToOnboardWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TfRevokeAccreditation
func (c *Client) TfRevokeAccreditation(ctx context.Context, walletId string, body TfRevokeAccreditationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TfRevokeAccreditationWithBody
func (c *Client) TfRevokeAccreditationWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) VerifierInitUrlCreate
func (c *Client) VerifierInitUrlCreate(ctx context.Context, params *VerifierInitUrlCreateParams, body VerifierInitUrlCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) VerifierInitUrlCreateWithBody
func (c *Client) VerifierInitUrlCreateWithBody(ctx context.Context, params *VerifierInitUrlCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) VerifierLinkedVpVerify
func (c *Client) VerifierLinkedVpVerify(ctx context.Context, params *VerifierLinkedVpVerifyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletCreate
func (c *Client) WalletCreate(ctx context.Context, body WalletCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletCreateWithBody
func (c *Client) WalletCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletDelete
func (c *Client) WalletDelete(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletGet
func (c *Client) WalletGet(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletKeys
func (c *Client) WalletKeys(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletList
func (c *Client) WalletList(ctx context.Context, params *WalletListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletNotificationGetByState
func (c *Client) WalletNotificationGetByState(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletNotificationHistory
func (c *Client) WalletNotificationHistory(ctx context.Context, walletId string, params *WalletNotificationHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletNotifications
func (c *Client) WalletNotifications(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletPatch
func (c *Client) WalletPatch(ctx context.Context, walletId string, body WalletPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletPatchWithBody
func (c *Client) WalletPatchWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletVerifiedCredentialsByState
func (c *Client) WalletVerifiedCredentialsByState(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WalletVerifiedCredentialsDeleteByState
func (c *Client) WalletVerifiedCredentialsDeleteByState(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface
The interface specification for the client above.
type ClientInterface interface {
// CredentialList request
CredentialList(ctx context.Context, params *CredentialListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CredentialCreateWithBody request with any body
CredentialCreateWithBody(ctx context.Context, params *CredentialCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CredentialCreate(ctx context.Context, params *CredentialCreateParams, body CredentialCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CredentialImportWithBody request with any body
CredentialImportWithBody(ctx context.Context, params *CredentialImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CredentialImport(ctx context.Context, params *CredentialImportParams, body CredentialImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CredentialRequestInitWithBody request with any body
CredentialRequestInitWithBody(ctx context.Context, params *CredentialRequestInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CredentialRequestInit(ctx context.Context, params *CredentialRequestInitParams, body CredentialRequestInitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CredentialGet request
CredentialGet(ctx context.Context, credentialId CredentialId, params *CredentialGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CredentialPatchWithBody request with any body
CredentialPatchWithBody(ctx context.Context, credentialId CredentialId, params *CredentialPatchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CredentialPatch(ctx context.Context, credentialId CredentialId, params *CredentialPatchParams, body CredentialPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CredentialIssuanceInitWithBody request with any body
CredentialIssuanceInitWithBody(ctx context.Context, credentialId string, params *CredentialIssuanceInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CredentialIssuanceInit(ctx context.Context, credentialId string, params *CredentialIssuanceInitParams, body CredentialIssuanceInitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CredentialMetadataPatchWithBody request with any body
CredentialMetadataPatchWithBody(ctx context.Context, credentialId CredentialId, params *CredentialMetadataPatchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CredentialMetadataPatch(ctx context.Context, credentialId CredentialId, params *CredentialMetadataPatchParams, body CredentialMetadataPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CredentialRevoke request
CredentialRevoke(ctx context.Context, credentialId CredentialId, params *CredentialRevokeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeferredStatus request
DeferredStatus(ctx context.Context, deferredId string, params *DeferredStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DidGet request
DidGet(ctx context.Context, params *DidGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HealthCheck request
HealthCheck(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// HolderIdTokenSendWithBody request with any body
HolderIdTokenSendWithBody(ctx context.Context, params *HolderIdTokenSendParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
HolderIdTokenSend(ctx context.Context, params *HolderIdTokenSendParams, body HolderIdTokenSendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// HolderLinkedVpList request
HolderLinkedVpList(ctx context.Context, params *HolderLinkedVpListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HolderLinkedVpCreateWithBody request with any body
HolderLinkedVpCreateWithBody(ctx context.Context, params *HolderLinkedVpCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
HolderLinkedVpCreate(ctx context.Context, params *HolderLinkedVpCreateParams, body HolderLinkedVpCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// HolderLinkedVpDelete request
HolderLinkedVpDelete(ctx context.Context, linkedVpId string, params *HolderLinkedVpDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HolderLinkedVpGetDetails request
HolderLinkedVpGetDetails(ctx context.Context, linkedVpId string, params *HolderLinkedVpGetDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HolderOfferPassAuthInfoWithBody request with any body
HolderOfferPassAuthInfoWithBody(ctx context.Context, params *HolderOfferPassAuthInfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
HolderOfferPassAuthInfo(ctx context.Context, params *HolderOfferPassAuthInfoParams, body HolderOfferPassAuthInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// HolderOfferProcessAfterConsentWithBody request with any body
HolderOfferProcessAfterConsentWithBody(ctx context.Context, interactionId string, params *HolderOfferProcessAfterConsentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
HolderOfferProcessAfterConsent(ctx context.Context, interactionId string, params *HolderOfferProcessAfterConsentParams, body HolderOfferProcessAfterConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// HolderPresentPassAuthInfoWithBody request with any body
HolderPresentPassAuthInfoWithBody(ctx context.Context, params *HolderPresentPassAuthInfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
HolderPresentPassAuthInfo(ctx context.Context, params *HolderPresentPassAuthInfoParams, body HolderPresentPassAuthInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// HolderCredentialsPresentAfterConsentWithBody request with any body
HolderCredentialsPresentAfterConsentWithBody(ctx context.Context, interactionId string, params *HolderCredentialsPresentAfterConsentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
HolderCredentialsPresentAfterConsent(ctx context.Context, interactionId string, params *HolderCredentialsPresentAfterConsentParams, body HolderCredentialsPresentAfterConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// IdTokenRequestCreate request
IdTokenRequestCreate(ctx context.Context, params *IdTokenRequestCreateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// IssuerCredentialTypesList request
IssuerCredentialTypesList(ctx context.Context, params *IssuerCredentialTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// IssuerInitiateAuthOfferWithBody request with any body
IssuerInitiateAuthOfferWithBody(ctx context.Context, params *IssuerInitiateAuthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
IssuerInitiateAuthOffer(ctx context.Context, params *IssuerInitiateAuthOfferParams, body IssuerInitiateAuthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// IssuerInitiatePreauthOfferWithBody request with any body
IssuerInitiatePreauthOfferWithBody(ctx context.Context, params *IssuerInitiatePreauthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
IssuerInitiatePreauthOffer(ctx context.Context, params *IssuerInitiatePreauthOfferParams, body IssuerInitiatePreauthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// HolderCreateAuthOfferWithBody request with any body
HolderCreateAuthOfferWithBody(ctx context.Context, params *HolderCreateAuthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
HolderCreateAuthOffer(ctx context.Context, params *HolderCreateAuthOfferParams, body HolderCreateAuthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TfAccreditAsWithBody request with any body
TfAccreditAsWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TfAccreditAs(ctx context.Context, walletId string, body TfAccreditAsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TfAccreditAsTrustedIssuer request
TfAccreditAsTrustedIssuer(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TfInsertIssuerProxy request
TfInsertIssuerProxy(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TfOnboardLegalEntity request
TfOnboardLegalEntity(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TfPrepareToAccreditWithBody request with any body
TfPrepareToAccreditWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TfPrepareToAccredit(ctx context.Context, walletId string, body TfPrepareToAccreditJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TfPrepareToOnboardWithBody request with any body
TfPrepareToOnboardWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TfPrepareToOnboard(ctx context.Context, walletId string, body TfPrepareToOnboardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TfRevokeAccreditationWithBody request with any body
TfRevokeAccreditationWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TfRevokeAccreditation(ctx context.Context, walletId string, body TfRevokeAccreditationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifierInitUrlCreateWithBody request with any body
VerifierInitUrlCreateWithBody(ctx context.Context, params *VerifierInitUrlCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifierInitUrlCreate(ctx context.Context, params *VerifierInitUrlCreateParams, body VerifierInitUrlCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifierLinkedVpVerify request
VerifierLinkedVpVerify(ctx context.Context, params *VerifierLinkedVpVerifyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletList request
WalletList(ctx context.Context, params *WalletListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletCreateWithBody request with any body
WalletCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WalletCreate(ctx context.Context, body WalletCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletDelete request
WalletDelete(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletGet request
WalletGet(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletPatchWithBody request with any body
WalletPatchWithBody(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WalletPatch(ctx context.Context, walletId string, body WalletPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletKeys request
WalletKeys(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletNotificationHistory request
WalletNotificationHistory(ctx context.Context, walletId string, params *WalletNotificationHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletNotificationGetByState request
WalletNotificationGetByState(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletNotifications request
WalletNotifications(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletVerifiedCredentialsDeleteByState request
WalletVerifiedCredentialsDeleteByState(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletVerifiedCredentialsByState request
WalletVerifiedCredentialsByState(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DidDocumentGet request
DidDocumentGet(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*http.Response, error)
}
type ClientOption
ClientOption allows setting custom parameters during construction
type ClientOption func(*Client) error
func WithBaseURL
func WithBaseURL(baseURL string) ClientOption
WithBaseURL overrides the baseURL.
func WithHTTPClient
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses
ClientWithResponses builds on ClientInterface to offer response payloads
type ClientWithResponses struct {
ClientInterface
}
func NewClientWithResponses
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CredentialCreateWithBodyWithResponse
func (c *ClientWithResponses) CredentialCreateWithBodyWithResponse(ctx context.Context, params *CredentialCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialCreateResponse, error)
CredentialCreateWithBodyWithResponse request with arbitrary body returning *CredentialCreateResponse
func (*ClientWithResponses) CredentialCreateWithResponse
func (c *ClientWithResponses) CredentialCreateWithResponse(ctx context.Context, params *CredentialCreateParams, body CredentialCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialCreateResponse, error)
func (*ClientWithResponses) CredentialGetWithResponse
func (c *ClientWithResponses) CredentialGetWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialGetParams, reqEditors ...RequestEditorFn) (*CredentialGetResponse, error)
CredentialGetWithResponse request returning *CredentialGetResponse
func (*ClientWithResponses) CredentialImportWithBodyWithResponse
func (c *ClientWithResponses) CredentialImportWithBodyWithResponse(ctx context.Context, params *CredentialImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialImportResponse, error)
CredentialImportWithBodyWithResponse request with arbitrary body returning *CredentialImportResponse
func (*ClientWithResponses) CredentialImportWithResponse
func (c *ClientWithResponses) CredentialImportWithResponse(ctx context.Context, params *CredentialImportParams, body CredentialImportJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialImportResponse, error)
func (*ClientWithResponses) CredentialIssuanceInitWithBodyWithResponse
func (c *ClientWithResponses) CredentialIssuanceInitWithBodyWithResponse(ctx context.Context, credentialId string, params *CredentialIssuanceInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialIssuanceInitResponse, error)
CredentialIssuanceInitWithBodyWithResponse request with arbitrary body returning *CredentialIssuanceInitResponse
func (*ClientWithResponses) CredentialIssuanceInitWithResponse
func (c *ClientWithResponses) CredentialIssuanceInitWithResponse(ctx context.Context, credentialId string, params *CredentialIssuanceInitParams, body CredentialIssuanceInitJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialIssuanceInitResponse, error)
func (*ClientWithResponses) CredentialListWithResponse
func (c *ClientWithResponses) CredentialListWithResponse(ctx context.Context, params *CredentialListParams, reqEditors ...RequestEditorFn) (*CredentialListResponse, error)
CredentialListWithResponse request returning *CredentialListResponse
func (*ClientWithResponses) CredentialMetadataPatchWithBodyWithResponse
func (c *ClientWithResponses) CredentialMetadataPatchWithBodyWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialMetadataPatchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialMetadataPatchResponse, error)
CredentialMetadataPatchWithBodyWithResponse request with arbitrary body returning *CredentialMetadataPatchResponse
func (*ClientWithResponses) CredentialMetadataPatchWithResponse
func (c *ClientWithResponses) CredentialMetadataPatchWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialMetadataPatchParams, body CredentialMetadataPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialMetadataPatchResponse, error)
func (*ClientWithResponses) CredentialPatchWithBodyWithResponse
func (c *ClientWithResponses) CredentialPatchWithBodyWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialPatchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialPatchResponse, error)
CredentialPatchWithBodyWithResponse request with arbitrary body returning *CredentialPatchResponse
func (*ClientWithResponses) CredentialPatchWithResponse
func (c *ClientWithResponses) CredentialPatchWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialPatchParams, body CredentialPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialPatchResponse, error)
func (*ClientWithResponses) CredentialRequestInitWithBodyWithResponse
func (c *ClientWithResponses) CredentialRequestInitWithBodyWithResponse(ctx context.Context, params *CredentialRequestInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialRequestInitResponse, error)
CredentialRequestInitWithBodyWithResponse request with arbitrary body returning *CredentialRequestInitResponse
func (*ClientWithResponses) CredentialRequestInitWithResponse
func (c *ClientWithResponses) CredentialRequestInitWithResponse(ctx context.Context, params *CredentialRequestInitParams, body CredentialRequestInitJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialRequestInitResponse, error)
func (*ClientWithResponses) CredentialRevokeWithResponse
func (c *ClientWithResponses) CredentialRevokeWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialRevokeParams, reqEditors ...RequestEditorFn) (*CredentialRevokeResponse, error)
CredentialRevokeWithResponse request returning *CredentialRevokeResponse
func (*ClientWithResponses) DeferredStatusWithResponse
func (c *ClientWithResponses) DeferredStatusWithResponse(ctx context.Context, deferredId string, params *DeferredStatusParams, reqEditors ...RequestEditorFn) (*DeferredStatusResponse, error)
DeferredStatusWithResponse request returning *DeferredStatusResponse
func (*ClientWithResponses) DidDocumentGetWithResponse
func (c *ClientWithResponses) DidDocumentGetWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*DidDocumentGetResponse, error)
DidDocumentGetWithResponse request returning *DidDocumentGetResponse
func (*ClientWithResponses) DidGetWithResponse
func (c *ClientWithResponses) DidGetWithResponse(ctx context.Context, params *DidGetParams, reqEditors ...RequestEditorFn) (*DidGetResponse, error)
DidGetWithResponse request returning *DidGetResponse
func (*ClientWithResponses) HealthCheckWithResponse
func (c *ClientWithResponses) HealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthCheckResponse, error)
HealthCheckWithResponse request returning *HealthCheckResponse
func (*ClientWithResponses) HolderCreateAuthOfferWithBodyWithResponse
func (c *ClientWithResponses) HolderCreateAuthOfferWithBodyWithResponse(ctx context.Context, params *HolderCreateAuthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderCreateAuthOfferResponse, error)
HolderCreateAuthOfferWithBodyWithResponse request with arbitrary body returning *HolderCreateAuthOfferResponse
func (*ClientWithResponses) HolderCreateAuthOfferWithResponse
func (c *ClientWithResponses) HolderCreateAuthOfferWithResponse(ctx context.Context, params *HolderCreateAuthOfferParams, body HolderCreateAuthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderCreateAuthOfferResponse, error)
func (*ClientWithResponses) HolderCredentialsPresentAfterConsentWithBodyWithResponse
func (c *ClientWithResponses) HolderCredentialsPresentAfterConsentWithBodyWithResponse(ctx context.Context, interactionId string, params *HolderCredentialsPresentAfterConsentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderCredentialsPresentAfterConsentResponse, error)
HolderCredentialsPresentAfterConsentWithBodyWithResponse request with arbitrary body returning *HolderCredentialsPresentAfterConsentResponse
func (*ClientWithResponses) HolderCredentialsPresentAfterConsentWithResponse
func (c *ClientWithResponses) HolderCredentialsPresentAfterConsentWithResponse(ctx context.Context, interactionId string, params *HolderCredentialsPresentAfterConsentParams, body HolderCredentialsPresentAfterConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderCredentialsPresentAfterConsentResponse, error)
func (*ClientWithResponses) HolderIdTokenSendWithBodyWithResponse
func (c *ClientWithResponses) HolderIdTokenSendWithBodyWithResponse(ctx context.Context, params *HolderIdTokenSendParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderIdTokenSendResponse, error)
HolderIdTokenSendWithBodyWithResponse request with arbitrary body returning *HolderIdTokenSendResponse
func (*ClientWithResponses) HolderIdTokenSendWithResponse
func (c *ClientWithResponses) HolderIdTokenSendWithResponse(ctx context.Context, params *HolderIdTokenSendParams, body HolderIdTokenSendJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderIdTokenSendResponse, error)
func (*ClientWithResponses) HolderLinkedVpCreateWithBodyWithResponse
func (c *ClientWithResponses) HolderLinkedVpCreateWithBodyWithResponse(ctx context.Context, params *HolderLinkedVpCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderLinkedVpCreateResponse, error)
HolderLinkedVpCreateWithBodyWithResponse request with arbitrary body returning *HolderLinkedVpCreateResponse
func (*ClientWithResponses) HolderLinkedVpCreateWithResponse
func (c *ClientWithResponses) HolderLinkedVpCreateWithResponse(ctx context.Context, params *HolderLinkedVpCreateParams, body HolderLinkedVpCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderLinkedVpCreateResponse, error)
func (*ClientWithResponses) HolderLinkedVpDeleteWithResponse
func (c *ClientWithResponses) HolderLinkedVpDeleteWithResponse(ctx context.Context, linkedVpId string, params *HolderLinkedVpDeleteParams, reqEditors ...RequestEditorFn) (*HolderLinkedVpDeleteResponse, error)
HolderLinkedVpDeleteWithResponse request returning *HolderLinkedVpDeleteResponse
func (*ClientWithResponses) HolderLinkedVpGetDetailsWithResponse
func (c *ClientWithResponses) HolderLinkedVpGetDetailsWithResponse(ctx context.Context, linkedVpId string, params *HolderLinkedVpGetDetailsParams, reqEditors ...RequestEditorFn) (*HolderLinkedVpGetDetailsResponse, error)
HolderLinkedVpGetDetailsWithResponse request returning *HolderLinkedVpGetDetailsResponse
func (*ClientWithResponses) HolderLinkedVpListWithResponse
func (c *ClientWithResponses) HolderLinkedVpListWithResponse(ctx context.Context, params *HolderLinkedVpListParams, reqEditors ...RequestEditorFn) (*HolderLinkedVpListResponse, error)
HolderLinkedVpListWithResponse request returning *HolderLinkedVpListResponse
func (*ClientWithResponses) HolderOfferPassAuthInfoWithBodyWithResponse
func (c *ClientWithResponses) HolderOfferPassAuthInfoWithBodyWithResponse(ctx context.Context, params *HolderOfferPassAuthInfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderOfferPassAuthInfoResponse, error)
HolderOfferPassAuthInfoWithBodyWithResponse request with arbitrary body returning *HolderOfferPassAuthInfoResponse
func (*ClientWithResponses) HolderOfferPassAuthInfoWithResponse
func (c *ClientWithResponses) HolderOfferPassAuthInfoWithResponse(ctx context.Context, params *HolderOfferPassAuthInfoParams, body HolderOfferPassAuthInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderOfferPassAuthInfoResponse, error)
func (*ClientWithResponses) HolderOfferProcessAfterConsentWithBodyWithResponse
func (c *ClientWithResponses) HolderOfferProcessAfterConsentWithBodyWithResponse(ctx context.Context, interactionId string, params *HolderOfferProcessAfterConsentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderOfferProcessAfterConsentResponse, error)
HolderOfferProcessAfterConsentWithBodyWithResponse request with arbitrary body returning *HolderOfferProcessAfterConsentResponse
func (*ClientWithResponses) HolderOfferProcessAfterConsentWithResponse
func (c *ClientWithResponses) HolderOfferProcessAfterConsentWithResponse(ctx context.Context, interactionId string, params *HolderOfferProcessAfterConsentParams, body HolderOfferProcessAfterConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderOfferProcessAfterConsentResponse, error)
func (*ClientWithResponses) HolderPresentPassAuthInfoWithBodyWithResponse
func (c *ClientWithResponses) HolderPresentPassAuthInfoWithBodyWithResponse(ctx context.Context, params *HolderPresentPassAuthInfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderPresentPassAuthInfoResponse, error)
HolderPresentPassAuthInfoWithBodyWithResponse request with arbitrary body returning *HolderPresentPassAuthInfoResponse
func (*ClientWithResponses) HolderPresentPassAuthInfoWithResponse
func (c *ClientWithResponses) HolderPresentPassAuthInfoWithResponse(ctx context.Context, params *HolderPresentPassAuthInfoParams, body HolderPresentPassAuthInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderPresentPassAuthInfoResponse, error)
func (*ClientWithResponses) IdTokenRequestCreateWithResponse
func (c *ClientWithResponses) IdTokenRequestCreateWithResponse(ctx context.Context, params *IdTokenRequestCreateParams, reqEditors ...RequestEditorFn) (*IdTokenRequestCreateResponse, error)
IdTokenRequestCreateWithResponse request returning *IdTokenRequestCreateResponse
func (*ClientWithResponses) IssuerCredentialTypesListWithResponse
func (c *ClientWithResponses) IssuerCredentialTypesListWithResponse(ctx context.Context, params *IssuerCredentialTypesListParams, reqEditors ...RequestEditorFn) (*IssuerCredentialTypesListResponse, error)
IssuerCredentialTypesListWithResponse request returning *IssuerCredentialTypesListResponse
func (*ClientWithResponses) IssuerInitiateAuthOfferWithBodyWithResponse
func (c *ClientWithResponses) IssuerInitiateAuthOfferWithBodyWithResponse(ctx context.Context, params *IssuerInitiateAuthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssuerInitiateAuthOfferResponse, error)
IssuerInitiateAuthOfferWithBodyWithResponse request with arbitrary body returning *IssuerInitiateAuthOfferResponse
func (*ClientWithResponses) IssuerInitiateAuthOfferWithResponse
func (c *ClientWithResponses) IssuerInitiateAuthOfferWithResponse(ctx context.Context, params *IssuerInitiateAuthOfferParams, body IssuerInitiateAuthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*IssuerInitiateAuthOfferResponse, error)
func (*ClientWithResponses) IssuerInitiatePreauthOfferWithBodyWithResponse
func (c *ClientWithResponses) IssuerInitiatePreauthOfferWithBodyWithResponse(ctx context.Context, params *IssuerInitiatePreauthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssuerInitiatePreauthOfferResponse, error)
IssuerInitiatePreauthOfferWithBodyWithResponse request with arbitrary body returning *IssuerInitiatePreauthOfferResponse
func (*ClientWithResponses) IssuerInitiatePreauthOfferWithResponse
func (c *ClientWithResponses) IssuerInitiatePreauthOfferWithResponse(ctx context.Context, params *IssuerInitiatePreauthOfferParams, body IssuerInitiatePreauthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*IssuerInitiatePreauthOfferResponse, error)
func (*ClientWithResponses) TfAccreditAsTrustedIssuerWithResponse
func (c *ClientWithResponses) TfAccreditAsTrustedIssuerWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*TfAccreditAsTrustedIssuerResponse, error)
TfAccreditAsTrustedIssuerWithResponse request returning *TfAccreditAsTrustedIssuerResponse
func (*ClientWithResponses) TfAccreditAsWithBodyWithResponse
func (c *ClientWithResponses) TfAccreditAsWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TfAccreditAsResponse, error)
TfAccreditAsWithBodyWithResponse request with arbitrary body returning *TfAccreditAsResponse
func (*ClientWithResponses) TfAccreditAsWithResponse
func (c *ClientWithResponses) TfAccreditAsWithResponse(ctx context.Context, walletId string, body TfAccreditAsJSONRequestBody, reqEditors ...RequestEditorFn) (*TfAccreditAsResponse, error)
func (*ClientWithResponses) TfInsertIssuerProxyWithResponse
func (c *ClientWithResponses) TfInsertIssuerProxyWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*TfInsertIssuerProxyResponse, error)
TfInsertIssuerProxyWithResponse request returning *TfInsertIssuerProxyResponse
func (*ClientWithResponses) TfOnboardLegalEntityWithResponse
func (c *ClientWithResponses) TfOnboardLegalEntityWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*TfOnboardLegalEntityResponse, error)
TfOnboardLegalEntityWithResponse request returning *TfOnboardLegalEntityResponse
func (*ClientWithResponses) TfPrepareToAccreditWithBodyWithResponse
func (c *ClientWithResponses) TfPrepareToAccreditWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TfPrepareToAccreditResponse, error)
TfPrepareToAccreditWithBodyWithResponse request with arbitrary body returning *TfPrepareToAccreditResponse
func (*ClientWithResponses) TfPrepareToAccreditWithResponse
func (c *ClientWithResponses) TfPrepareToAccreditWithResponse(ctx context.Context, walletId string, body TfPrepareToAccreditJSONRequestBody, reqEditors ...RequestEditorFn) (*TfPrepareToAccreditResponse, error)
func (*ClientWithResponses) TfPrepareToOnboardWithBodyWithResponse
func (c *ClientWithResponses) TfPrepareToOnboardWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TfPrepareToOnboardResponse, error)
TfPrepareToOnboardWithBodyWithResponse request with arbitrary body returning *TfPrepareToOnboardResponse
func (*ClientWithResponses) TfPrepareToOnboardWithResponse
func (c *ClientWithResponses) TfPrepareToOnboardWithResponse(ctx context.Context, walletId string, body TfPrepareToOnboardJSONRequestBody, reqEditors ...RequestEditorFn) (*TfPrepareToOnboardResponse, error)
func (*ClientWithResponses) TfRevokeAccreditationWithBodyWithResponse
func (c *ClientWithResponses) TfRevokeAccreditationWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TfRevokeAccreditationResponse, error)
TfRevokeAccreditationWithBodyWithResponse request with arbitrary body returning *TfRevokeAccreditationResponse
func (*ClientWithResponses) TfRevokeAccreditationWithResponse
func (c *ClientWithResponses) TfRevokeAccreditationWithResponse(ctx context.Context, walletId string, body TfRevokeAccreditationJSONRequestBody, reqEditors ...RequestEditorFn) (*TfRevokeAccreditationResponse, error)
func (*ClientWithResponses) VerifierInitUrlCreateWithBodyWithResponse
func (c *ClientWithResponses) VerifierInitUrlCreateWithBodyWithResponse(ctx context.Context, params *VerifierInitUrlCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifierInitUrlCreateResponse, error)
VerifierInitUrlCreateWithBodyWithResponse request with arbitrary body returning *VerifierInitUrlCreateResponse
func (*ClientWithResponses) VerifierInitUrlCreateWithResponse
func (c *ClientWithResponses) VerifierInitUrlCreateWithResponse(ctx context.Context, params *VerifierInitUrlCreateParams, body VerifierInitUrlCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifierInitUrlCreateResponse, error)
func (*ClientWithResponses) VerifierLinkedVpVerifyWithResponse
func (c *ClientWithResponses) VerifierLinkedVpVerifyWithResponse(ctx context.Context, params *VerifierLinkedVpVerifyParams, reqEditors ...RequestEditorFn) (*VerifierLinkedVpVerifyResponse, error)
VerifierLinkedVpVerifyWithResponse request returning *VerifierLinkedVpVerifyResponse
func (*ClientWithResponses) WalletCreateWithBodyWithResponse
func (c *ClientWithResponses) WalletCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WalletCreateResponse, error)
WalletCreateWithBodyWithResponse request with arbitrary body returning *WalletCreateResponse
func (*ClientWithResponses) WalletCreateWithResponse
func (c *ClientWithResponses) WalletCreateWithResponse(ctx context.Context, body WalletCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*WalletCreateResponse, error)
func (*ClientWithResponses) WalletDeleteWithResponse
func (c *ClientWithResponses) WalletDeleteWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*WalletDeleteResponse, error)
WalletDeleteWithResponse request returning *WalletDeleteResponse
func (*ClientWithResponses) WalletGetWithResponse
func (c *ClientWithResponses) WalletGetWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*WalletGetResponse, error)
WalletGetWithResponse request returning *WalletGetResponse
func (*ClientWithResponses) WalletKeysWithResponse
func (c *ClientWithResponses) WalletKeysWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*WalletKeysResponse, error)
WalletKeysWithResponse request returning *WalletKeysResponse
func (*ClientWithResponses) WalletListWithResponse
func (c *ClientWithResponses) WalletListWithResponse(ctx context.Context, params *WalletListParams, reqEditors ...RequestEditorFn) (*WalletListResponse, error)
WalletListWithResponse request returning *WalletListResponse
func (*ClientWithResponses) WalletNotificationGetByStateWithResponse
func (c *ClientWithResponses) WalletNotificationGetByStateWithResponse(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*WalletNotificationGetByStateResponse, error)
WalletNotificationGetByStateWithResponse request returning *WalletNotificationGetByStateResponse
func (*ClientWithResponses) WalletNotificationHistoryWithResponse
func (c *ClientWithResponses) WalletNotificationHistoryWithResponse(ctx context.Context, walletId string, params *WalletNotificationHistoryParams, reqEditors ...RequestEditorFn) (*WalletNotificationHistoryResponse, error)
WalletNotificationHistoryWithResponse request returning *WalletNotificationHistoryResponse
func (*ClientWithResponses) WalletNotificationsWithResponse
func (c *ClientWithResponses) WalletNotificationsWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*WalletNotificationsResponse, error)
WalletNotificationsWithResponse request returning *WalletNotificationsResponse
func (*ClientWithResponses) WalletPatchWithBodyWithResponse
func (c *ClientWithResponses) WalletPatchWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WalletPatchResponse, error)
WalletPatchWithBodyWithResponse request with arbitrary body returning *WalletPatchResponse
func (*ClientWithResponses) WalletPatchWithResponse
func (c *ClientWithResponses) WalletPatchWithResponse(ctx context.Context, walletId string, body WalletPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*WalletPatchResponse, error)
func (*ClientWithResponses) WalletVerifiedCredentialsByStateWithResponse
func (c *ClientWithResponses) WalletVerifiedCredentialsByStateWithResponse(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*WalletVerifiedCredentialsByStateResponse, error)
WalletVerifiedCredentialsByStateWithResponse request returning *WalletVerifiedCredentialsByStateResponse
func (*ClientWithResponses) WalletVerifiedCredentialsDeleteByStateWithResponse
func (c *ClientWithResponses) WalletVerifiedCredentialsDeleteByStateWithResponse(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*WalletVerifiedCredentialsDeleteByStateResponse, error)
WalletVerifiedCredentialsDeleteByStateWithResponse request returning *WalletVerifiedCredentialsDeleteByStateResponse
type ClientWithResponsesInterface
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ClientWithResponsesInterface interface {
// CredentialListWithResponse request
CredentialListWithResponse(ctx context.Context, params *CredentialListParams, reqEditors ...RequestEditorFn) (*CredentialListResponse, error)
// CredentialCreateWithBodyWithResponse request with any body
CredentialCreateWithBodyWithResponse(ctx context.Context, params *CredentialCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialCreateResponse, error)
CredentialCreateWithResponse(ctx context.Context, params *CredentialCreateParams, body CredentialCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialCreateResponse, error)
// CredentialImportWithBodyWithResponse request with any body
CredentialImportWithBodyWithResponse(ctx context.Context, params *CredentialImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialImportResponse, error)
CredentialImportWithResponse(ctx context.Context, params *CredentialImportParams, body CredentialImportJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialImportResponse, error)
// CredentialRequestInitWithBodyWithResponse request with any body
CredentialRequestInitWithBodyWithResponse(ctx context.Context, params *CredentialRequestInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialRequestInitResponse, error)
CredentialRequestInitWithResponse(ctx context.Context, params *CredentialRequestInitParams, body CredentialRequestInitJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialRequestInitResponse, error)
// CredentialGetWithResponse request
CredentialGetWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialGetParams, reqEditors ...RequestEditorFn) (*CredentialGetResponse, error)
// CredentialPatchWithBodyWithResponse request with any body
CredentialPatchWithBodyWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialPatchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialPatchResponse, error)
CredentialPatchWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialPatchParams, body CredentialPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialPatchResponse, error)
// CredentialIssuanceInitWithBodyWithResponse request with any body
CredentialIssuanceInitWithBodyWithResponse(ctx context.Context, credentialId string, params *CredentialIssuanceInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialIssuanceInitResponse, error)
CredentialIssuanceInitWithResponse(ctx context.Context, credentialId string, params *CredentialIssuanceInitParams, body CredentialIssuanceInitJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialIssuanceInitResponse, error)
// CredentialMetadataPatchWithBodyWithResponse request with any body
CredentialMetadataPatchWithBodyWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialMetadataPatchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CredentialMetadataPatchResponse, error)
CredentialMetadataPatchWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialMetadataPatchParams, body CredentialMetadataPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*CredentialMetadataPatchResponse, error)
// CredentialRevokeWithResponse request
CredentialRevokeWithResponse(ctx context.Context, credentialId CredentialId, params *CredentialRevokeParams, reqEditors ...RequestEditorFn) (*CredentialRevokeResponse, error)
// DeferredStatusWithResponse request
DeferredStatusWithResponse(ctx context.Context, deferredId string, params *DeferredStatusParams, reqEditors ...RequestEditorFn) (*DeferredStatusResponse, error)
// DidGetWithResponse request
DidGetWithResponse(ctx context.Context, params *DidGetParams, reqEditors ...RequestEditorFn) (*DidGetResponse, error)
// HealthCheckWithResponse request
HealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthCheckResponse, error)
// HolderIdTokenSendWithBodyWithResponse request with any body
HolderIdTokenSendWithBodyWithResponse(ctx context.Context, params *HolderIdTokenSendParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderIdTokenSendResponse, error)
HolderIdTokenSendWithResponse(ctx context.Context, params *HolderIdTokenSendParams, body HolderIdTokenSendJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderIdTokenSendResponse, error)
// HolderLinkedVpListWithResponse request
HolderLinkedVpListWithResponse(ctx context.Context, params *HolderLinkedVpListParams, reqEditors ...RequestEditorFn) (*HolderLinkedVpListResponse, error)
// HolderLinkedVpCreateWithBodyWithResponse request with any body
HolderLinkedVpCreateWithBodyWithResponse(ctx context.Context, params *HolderLinkedVpCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderLinkedVpCreateResponse, error)
HolderLinkedVpCreateWithResponse(ctx context.Context, params *HolderLinkedVpCreateParams, body HolderLinkedVpCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderLinkedVpCreateResponse, error)
// HolderLinkedVpDeleteWithResponse request
HolderLinkedVpDeleteWithResponse(ctx context.Context, linkedVpId string, params *HolderLinkedVpDeleteParams, reqEditors ...RequestEditorFn) (*HolderLinkedVpDeleteResponse, error)
// HolderLinkedVpGetDetailsWithResponse request
HolderLinkedVpGetDetailsWithResponse(ctx context.Context, linkedVpId string, params *HolderLinkedVpGetDetailsParams, reqEditors ...RequestEditorFn) (*HolderLinkedVpGetDetailsResponse, error)
// HolderOfferPassAuthInfoWithBodyWithResponse request with any body
HolderOfferPassAuthInfoWithBodyWithResponse(ctx context.Context, params *HolderOfferPassAuthInfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderOfferPassAuthInfoResponse, error)
HolderOfferPassAuthInfoWithResponse(ctx context.Context, params *HolderOfferPassAuthInfoParams, body HolderOfferPassAuthInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderOfferPassAuthInfoResponse, error)
// HolderOfferProcessAfterConsentWithBodyWithResponse request with any body
HolderOfferProcessAfterConsentWithBodyWithResponse(ctx context.Context, interactionId string, params *HolderOfferProcessAfterConsentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderOfferProcessAfterConsentResponse, error)
HolderOfferProcessAfterConsentWithResponse(ctx context.Context, interactionId string, params *HolderOfferProcessAfterConsentParams, body HolderOfferProcessAfterConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderOfferProcessAfterConsentResponse, error)
// HolderPresentPassAuthInfoWithBodyWithResponse request with any body
HolderPresentPassAuthInfoWithBodyWithResponse(ctx context.Context, params *HolderPresentPassAuthInfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderPresentPassAuthInfoResponse, error)
HolderPresentPassAuthInfoWithResponse(ctx context.Context, params *HolderPresentPassAuthInfoParams, body HolderPresentPassAuthInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderPresentPassAuthInfoResponse, error)
// HolderCredentialsPresentAfterConsentWithBodyWithResponse request with any body
HolderCredentialsPresentAfterConsentWithBodyWithResponse(ctx context.Context, interactionId string, params *HolderCredentialsPresentAfterConsentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderCredentialsPresentAfterConsentResponse, error)
HolderCredentialsPresentAfterConsentWithResponse(ctx context.Context, interactionId string, params *HolderCredentialsPresentAfterConsentParams, body HolderCredentialsPresentAfterConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderCredentialsPresentAfterConsentResponse, error)
// IdTokenRequestCreateWithResponse request
IdTokenRequestCreateWithResponse(ctx context.Context, params *IdTokenRequestCreateParams, reqEditors ...RequestEditorFn) (*IdTokenRequestCreateResponse, error)
// IssuerCredentialTypesListWithResponse request
IssuerCredentialTypesListWithResponse(ctx context.Context, params *IssuerCredentialTypesListParams, reqEditors ...RequestEditorFn) (*IssuerCredentialTypesListResponse, error)
// IssuerInitiateAuthOfferWithBodyWithResponse request with any body
IssuerInitiateAuthOfferWithBodyWithResponse(ctx context.Context, params *IssuerInitiateAuthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssuerInitiateAuthOfferResponse, error)
IssuerInitiateAuthOfferWithResponse(ctx context.Context, params *IssuerInitiateAuthOfferParams, body IssuerInitiateAuthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*IssuerInitiateAuthOfferResponse, error)
// IssuerInitiatePreauthOfferWithBodyWithResponse request with any body
IssuerInitiatePreauthOfferWithBodyWithResponse(ctx context.Context, params *IssuerInitiatePreauthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssuerInitiatePreauthOfferResponse, error)
IssuerInitiatePreauthOfferWithResponse(ctx context.Context, params *IssuerInitiatePreauthOfferParams, body IssuerInitiatePreauthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*IssuerInitiatePreauthOfferResponse, error)
// HolderCreateAuthOfferWithBodyWithResponse request with any body
HolderCreateAuthOfferWithBodyWithResponse(ctx context.Context, params *HolderCreateAuthOfferParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HolderCreateAuthOfferResponse, error)
HolderCreateAuthOfferWithResponse(ctx context.Context, params *HolderCreateAuthOfferParams, body HolderCreateAuthOfferJSONRequestBody, reqEditors ...RequestEditorFn) (*HolderCreateAuthOfferResponse, error)
// TfAccreditAsWithBodyWithResponse request with any body
TfAccreditAsWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TfAccreditAsResponse, error)
TfAccreditAsWithResponse(ctx context.Context, walletId string, body TfAccreditAsJSONRequestBody, reqEditors ...RequestEditorFn) (*TfAccreditAsResponse, error)
// TfAccreditAsTrustedIssuerWithResponse request
TfAccreditAsTrustedIssuerWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*TfAccreditAsTrustedIssuerResponse, error)
// TfInsertIssuerProxyWithResponse request
TfInsertIssuerProxyWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*TfInsertIssuerProxyResponse, error)
// TfOnboardLegalEntityWithResponse request
TfOnboardLegalEntityWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*TfOnboardLegalEntityResponse, error)
// TfPrepareToAccreditWithBodyWithResponse request with any body
TfPrepareToAccreditWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TfPrepareToAccreditResponse, error)
TfPrepareToAccreditWithResponse(ctx context.Context, walletId string, body TfPrepareToAccreditJSONRequestBody, reqEditors ...RequestEditorFn) (*TfPrepareToAccreditResponse, error)
// TfPrepareToOnboardWithBodyWithResponse request with any body
TfPrepareToOnboardWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TfPrepareToOnboardResponse, error)
TfPrepareToOnboardWithResponse(ctx context.Context, walletId string, body TfPrepareToOnboardJSONRequestBody, reqEditors ...RequestEditorFn) (*TfPrepareToOnboardResponse, error)
// TfRevokeAccreditationWithBodyWithResponse request with any body
TfRevokeAccreditationWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TfRevokeAccreditationResponse, error)
TfRevokeAccreditationWithResponse(ctx context.Context, walletId string, body TfRevokeAccreditationJSONRequestBody, reqEditors ...RequestEditorFn) (*TfRevokeAccreditationResponse, error)
// VerifierInitUrlCreateWithBodyWithResponse request with any body
VerifierInitUrlCreateWithBodyWithResponse(ctx context.Context, params *VerifierInitUrlCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifierInitUrlCreateResponse, error)
VerifierInitUrlCreateWithResponse(ctx context.Context, params *VerifierInitUrlCreateParams, body VerifierInitUrlCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifierInitUrlCreateResponse, error)
// VerifierLinkedVpVerifyWithResponse request
VerifierLinkedVpVerifyWithResponse(ctx context.Context, params *VerifierLinkedVpVerifyParams, reqEditors ...RequestEditorFn) (*VerifierLinkedVpVerifyResponse, error)
// WalletListWithResponse request
WalletListWithResponse(ctx context.Context, params *WalletListParams, reqEditors ...RequestEditorFn) (*WalletListResponse, error)
// WalletCreateWithBodyWithResponse request with any body
WalletCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WalletCreateResponse, error)
WalletCreateWithResponse(ctx context.Context, body WalletCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*WalletCreateResponse, error)
// WalletDeleteWithResponse request
WalletDeleteWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*WalletDeleteResponse, error)
// WalletGetWithResponse request
WalletGetWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*WalletGetResponse, error)
// WalletPatchWithBodyWithResponse request with any body
WalletPatchWithBodyWithResponse(ctx context.Context, walletId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WalletPatchResponse, error)
WalletPatchWithResponse(ctx context.Context, walletId string, body WalletPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*WalletPatchResponse, error)
// WalletKeysWithResponse request
WalletKeysWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*WalletKeysResponse, error)
// WalletNotificationHistoryWithResponse request
WalletNotificationHistoryWithResponse(ctx context.Context, walletId string, params *WalletNotificationHistoryParams, reqEditors ...RequestEditorFn) (*WalletNotificationHistoryResponse, error)
// WalletNotificationGetByStateWithResponse request
WalletNotificationGetByStateWithResponse(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*WalletNotificationGetByStateResponse, error)
// WalletNotificationsWithResponse request
WalletNotificationsWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*WalletNotificationsResponse, error)
// WalletVerifiedCredentialsDeleteByStateWithResponse request
WalletVerifiedCredentialsDeleteByStateWithResponse(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*WalletVerifiedCredentialsDeleteByStateResponse, error)
// WalletVerifiedCredentialsByStateWithResponse request
WalletVerifiedCredentialsByStateWithResponse(ctx context.Context, walletId string, state string, reqEditors ...RequestEditorFn) (*WalletVerifiedCredentialsByStateResponse, error)
// DidDocumentGetWithResponse request
DidDocumentGetWithResponse(ctx context.Context, walletId string, reqEditors ...RequestEditorFn) (*DidDocumentGetResponse, error)
}
func NewAuthenticatedClient
func NewAuthenticatedClient(config *Config) (ClientWithResponsesInterface, error)
type Config
type Config struct {
WalletUrl string `yaml:"walletUrl"`
WalletId string `yaml:"walletId"`
AuthenticationType string `yaml:"authenticationType"`
AuthenticationOAuth AuthenticationOAuth `yaml:"authenticationOAuth"`
}
type Credential
Credential defines model for Credential.
type Credential struct {
// Context The value of the @context property MUST be an ordered set where the first item is a URL with the value
// https://www.w3.org/ns/credentials/v2. Subsequent items in the array MUST express context information and
// be composed of any combination of URLs or objects. It is RECOMMENDED that each URL in the @context be
// one which, if dereferenced, results in a document containing machine-readable information about the @context.
// https://www.w3.org/TR/vc-data-model-2.0/#contexts
Context *[]string `json:"@context,omitempty"`
// Sd Array of specific VC field disclosures
Sd *[]string `json:"_sd,omitempty"`
// SdAlg Algorithm used for hashing disclosure digests
SdAlg *string `json:"_sd_alg,omitempty"`
// CredentialSchema One or more data schemas that provide verifiers with enough information to determine if the provided data conforms to the provided schema(s)
// https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialSchema
CredentialSchema *CredentialSchema `json:"credentialSchema,omitempty"`
// CredentialStatus It is expected that the value will provide enough information to determine the current status of the credential and
// that machine readable information will be retrievable from the URL
// https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialStatus
CredentialStatus *CredentialStatus `json:"credentialStatus,omitempty"`
// CredentialSubject Set of objects that MUST contain one or more claims that are each related to a subject of the verifiable credential
// https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialSubject.
// Currently we support only one subject in the verifiable credential because there is no consensus about "vc-jwt"
// encoding of multi-subject verifiable credentials
CredentialSubject *CredentialSubject `json:"credentialSubject,omitempty"`
Evidence *Evidence `json:"evidence,omitempty"`
// ExpirationDate EBSI specific field defining the date of expiration.
ExpirationDate *time.Time `json:"expirationDate,omitempty"`
// Holder Either a URL or an object containing an id property
// https://www.w3.org/TR/vc-data-model-2.0/#defn-holder
Holder *string `json:"holder,omitempty"`
Id *CredentialId `json:"id,omitempty"`
// IssuanceDate EBSI specific field defining the date of issuance.
IssuanceDate *time.Time `json:"issuanceDate,omitempty"`
// Issued EBSI specific field defining the date of issuance.
Issued *time.Time `json:"issued,omitempty"`
// Issuer Either a URL or an object containing an id property
// https://www.w3.org/TR/vc-data-model-2.0/#defn-issuer
Issuer *Credential_Issuer `json:"issuer,omitempty"`
// Proof One or more cryptographic proofs that can be used to detect tampering and verify the authorship of a verifiable credential or verifiable presentation
// https://www.w3.org/TR/vc-data-model-2.0/#securing-verifiable-credentials
Proof *Proof `json:"proof,omitempty"`
// RefreshService A refresh service is a mechanism that can be utilized by software agents to retrieve an updated copy of a Verifiable Credential
// https://www.w3.org/TR/vc-data-model-2.0/#defn-refreshService
RefreshService *RefreshService `json:"refreshService,omitempty"`
// TermsOfUse Policy under which the creator issued the credential or presentation
// https://www.w3.org/TR/vc-data-model-2.0/#defn-termsOfUse
TermsOfUse *TermsOfUse `json:"termsOfUse,omitempty"`
// Type The value of the type property MUST be, or map to (through interpretation of the @context property),
// one or more URLs. If more than one URL is provided, the URLs MUST be interpreted as an unordered set.
// Syntactic conveniences SHOULD be used to ease developer usage. Such conveniences might include JSON-LD terms.
// It is RECOMMENDED that each URL in the type be one which, if dereferenced, results in a document containing
// machine-readable information about the type.
// https://www.w3.org/TR/vc-data-model-2.0/#types
Type *[]string `json:"type,omitempty"`
// ValidFrom Date Time Stamp string value representing the date and time the credential becomes valid
// https://www.w3.org/TR/vc-data-model-2.0/#defn-validFrom
ValidFrom *time.Time `json:"validFrom,omitempty"`
// ValidUntil Date Time Stamp string value representing the date and time the credential ceases to be valid
// https://www.w3.org/TR/vc-data-model-2.0/#defn-validUntil
ValidUntil *time.Time `json:"validUntil,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func (*Credential) CredentialBuilder
func (vcred *Credential) CredentialBuilder() *CredentialBuilder
func (Credential) Get
func (a Credential) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for Credential. Returns the specified element and whether it was found
func (Credential) MarshalJSON
func (a Credential) MarshalJSON() ([]byte, error)
Override default JSON handling for Credential to handle AdditionalProperties
func (*Credential) Set
func (a *Credential) Set(fieldName string, value interface{})
Setter for additional properties for Credential
func (*Credential) UnmarshalJSON
func (a *Credential) UnmarshalJSON(b []byte) error
Override default JSON handling for Credential to handle AdditionalProperties
type CredentialBuilder
type CredentialBuilder struct {
// contains filtered or unexported fields
}
func (*CredentialBuilder) AddContext
func (b *CredentialBuilder) AddContext(contextLink string) *CredentialBuilder
func (*CredentialBuilder) AddCredentialSchema
func (b *CredentialBuilder) AddCredentialSchema(schema *CredentialSchemaItem) error
func (*CredentialBuilder) AddCredentialSubject
func (b *CredentialBuilder) AddCredentialSubject(subj *CredentialSubjectItem) error
func (*CredentialBuilder) AddType
func (b *CredentialBuilder) AddType(t string) *CredentialBuilder
func (*CredentialBuilder) FromJsonBytes
func (b *CredentialBuilder) FromJsonBytes(credJson []byte) error
func (*CredentialBuilder) FromJsonFile
func (b *CredentialBuilder) FromJsonFile(path string) error
func (*CredentialBuilder) SetCredentialStatus
func (b *CredentialBuilder) SetCredentialStatus(status *CredentialStatus) *CredentialBuilder
func (*CredentialBuilder) SetCredentialSubject
func (b *CredentialBuilder) SetCredentialSubject(subj *CredentialSubject) *CredentialBuilder
func (*CredentialBuilder) SetExpirationDate
func (b *CredentialBuilder) SetExpirationDate(t *time.Time) *CredentialBuilder
func (*CredentialBuilder) SetId
func (b *CredentialBuilder) SetId(id CredentialId) *CredentialBuilder
func (*CredentialBuilder) SetIssuanceDate
func (b *CredentialBuilder) SetIssuanceDate(t *time.Time) *CredentialBuilder
func (*CredentialBuilder) SetIssued
func (b *CredentialBuilder) SetIssued(t *time.Time) *CredentialBuilder
func (*CredentialBuilder) SetIssuer
func (b *CredentialBuilder) SetIssuer(issuer string) *CredentialBuilder
func (*CredentialBuilder) SetType
func (b *CredentialBuilder) SetType(t *[]string) *CredentialBuilder
func (*CredentialBuilder) SetValidFrom
func (b *CredentialBuilder) SetValidFrom(t *time.Time) *CredentialBuilder
func (*CredentialBuilder) SetValidUntil
func (b *CredentialBuilder) SetValidUntil(t *time.Time) *CredentialBuilder
func (*CredentialBuilder) ToBytes
func (b *CredentialBuilder) ToBytes() ([]byte, error)
func (*CredentialBuilder) Validate
func (b *CredentialBuilder) Validate() error
type CredentialCreateJSONRequestBody
CredentialCreateJSONRequestBody defines body for CredentialCreate for application/json ContentType.
type CredentialCreateJSONRequestBody = CredentialPayload
type CredentialCreateParams
CredentialCreateParams defines parameters for CredentialCreate.
type CredentialCreateParams struct {
WalletId string `json:"wallet-id"`
}
type CredentialCreateResponse
type CredentialCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CredentialIdObject
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseCredentialCreateResponse
func ParseCredentialCreateResponse(rsp *http.Response) (*CredentialCreateResponse, error)
ParseCredentialCreateResponse parses an HTTP response from a CredentialCreateWithResponse call
func (CredentialCreateResponse) Status
func (r CredentialCreateResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialCreateResponse) StatusCode
func (r CredentialCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialFormat
CredentialFormat defines model for CredentialFormat.
type CredentialFormat string
Defines values for CredentialFormat.
const (
JwtVc CredentialFormat = "jwt_vc"
SdJwtVc CredentialFormat = "sd_jwt_vc"
)
type CredentialGetParams
CredentialGetParams defines parameters for CredentialGet.
type CredentialGetParams struct {
WalletId string `json:"wallet-id"`
}
type CredentialGetResponse
type CredentialGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CredentialWrapper
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseCredentialGetResponse
func ParseCredentialGetResponse(rsp *http.Response) (*CredentialGetResponse, error)
ParseCredentialGetResponse parses an HTTP response from a CredentialGetWithResponse call
func (CredentialGetResponse) Status
func (r CredentialGetResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialGetResponse) StatusCode
func (r CredentialGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialId
CredentialId defines model for CredentialId.
type CredentialId = string
type CredentialIdObject
CredentialIdObject defines model for CredentialIdObject.
type CredentialIdObject struct {
Id CredentialId `json:"id"`
}
type CredentialImport
CredentialImport defines model for CredentialImport.
type CredentialImport struct {
Credential string `json:"credential"`
Name string `json:"name"`
}
type CredentialImportJSONRequestBody
CredentialImportJSONRequestBody defines body for CredentialImport for application/json ContentType.
type CredentialImportJSONRequestBody = CredentialImport
type CredentialImportParams
CredentialImportParams defines parameters for CredentialImport.
type CredentialImportParams struct {
WalletId string `json:"wallet-id"`
}
type CredentialImportResponse
type CredentialImportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Credential
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseCredentialImportResponse
func ParseCredentialImportResponse(rsp *http.Response) (*CredentialImportResponse, error)
ParseCredentialImportResponse parses an HTTP response from a CredentialImportWithResponse call
func (CredentialImportResponse) Status
func (r CredentialImportResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialImportResponse) StatusCode
func (r CredentialImportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialIssuanceInit
CredentialIssuanceInit Request for addition of already created VC draft to issuance queue for a client. If clientId is used, it will be used as the queue item id, otherwise a new ID will be created.
type CredentialIssuanceInit struct {
// ClientId The future holder identifier. Usually this is the DID of the holder wallet.
ClientId *string `json:"clientId,omitempty"`
// IdTokenRequestId If ID Token was used to identify the holder's wallet.
IdTokenRequestId *string `json:"idTokenRequestId,omitempty"`
IssuanceRequirementsToVerify *IssuanceRequirementsToVerify `json:"issuanceRequirementsToVerify,omitempty"`
// IssuerId Identifier used by the wallet to decide which issuer to use to issue the credential.
IssuerId string `json:"issuerId"`
}
type CredentialIssuanceInitJSONRequestBody
CredentialIssuanceInitJSONRequestBody defines body for CredentialIssuanceInit for application/json ContentType.
type CredentialIssuanceInitJSONRequestBody = CredentialIssuanceInit
type CredentialIssuanceInitParams
CredentialIssuanceInitParams defines parameters for CredentialIssuanceInit.
type CredentialIssuanceInitParams struct {
WalletId string `json:"wallet-id"`
}
type CredentialIssuanceInitResponse
type CredentialIssuanceInitResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CredentialIssuanceInitResult
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseCredentialIssuanceInitResponse
func ParseCredentialIssuanceInitResponse(rsp *http.Response) (*CredentialIssuanceInitResponse, error)
ParseCredentialIssuanceInitResponse parses an HTTP response from a CredentialIssuanceInitWithResponse call
func (CredentialIssuanceInitResponse) Status
func (r CredentialIssuanceInitResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialIssuanceInitResponse) StatusCode
func (r CredentialIssuanceInitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialIssuanceInitResult
CredentialIssuanceInitResult defines model for CredentialIssuanceInitResult.
type CredentialIssuanceInitResult struct {
IssuanceQueueItemId string `json:"issuanceQueueItemId"`
}
type CredentialIssuerDefinition
CredentialIssuerDefinition defines model for CredentialIssuerDefinition.
type CredentialIssuerDefinition struct {
// CredentialFormat Format of the issued credential
CredentialFormat *string `json:"credentialFormat,omitempty"`
// CredentialIssuer Type of issuer to be used with credentials of the type specified.
CredentialIssuer CredentialIssuerDefinitionCredentialIssuer `json:"credentialIssuer"`
// CredentialType Type of credentials for which the specified credential issuer will be used.
CredentialType []string `json:"credentialType"`
// DisclosableClaims JSON paths of credential claims which will support being disclosed partially.
DisclosableClaims *[]string `json:"disclosableClaims,omitempty"`
// Id Unique identifier of the issuer
Id string `json:"id"`
IssuerConfiguration *CredentialIssuerDefinition_IssuerConfiguration `json:"issuerConfiguration,omitempty"`
// Name Human readable template name
Name string `json:"name"`
}
type CredentialIssuerDefinitionCredentialIssuer
CredentialIssuerDefinitionCredentialIssuer Type of issuer to be used with credentials of the type specified.
type CredentialIssuerDefinitionCredentialIssuer string
Defines values for CredentialIssuerDefinitionCredentialIssuer.
const (
CredentialRequirements CredentialIssuerDefinitionCredentialIssuer = "CredentialRequirements"
CtRevocable CredentialIssuerDefinitionCredentialIssuer = "CtRevocable"
CtWalletSame CredentialIssuerDefinitionCredentialIssuer = "CtWalletSame"
IssuanceQueue CredentialIssuerDefinitionCredentialIssuer = "IssuanceQueue"
VPDriven CredentialIssuerDefinitionCredentialIssuer = "VPDriven"
)
type CredentialIssuerDefinition_IssuerConfiguration
CredentialIssuerDefinition_IssuerConfiguration defines model for CredentialIssuerDefinition.IssuerConfiguration.
type CredentialIssuerDefinition_IssuerConfiguration struct {
// contains filtered or unexported fields
}
func (CredentialIssuerDefinition_IssuerConfiguration) AsCredentialRequirementsIssuerConfig
func (t CredentialIssuerDefinition_IssuerConfiguration) AsCredentialRequirementsIssuerConfig() (CredentialRequirementsIssuerConfig, error)
AsCredentialRequirementsIssuerConfig returns the union data inside the CredentialIssuerDefinition_IssuerConfiguration as a CredentialRequirementsIssuerConfig
func (CredentialIssuerDefinition_IssuerConfiguration) AsCtWalletSameIssuerConfig
func (t CredentialIssuerDefinition_IssuerConfiguration) AsCtWalletSameIssuerConfig() (CtWalletSameIssuerConfig, error)
AsCtWalletSameIssuerConfig returns the union data inside the CredentialIssuerDefinition_IssuerConfiguration as a CtWalletSameIssuerConfig
func (CredentialIssuerDefinition_IssuerConfiguration) AsVPDrivenIssuerConfig
func (t CredentialIssuerDefinition_IssuerConfiguration) AsVPDrivenIssuerConfig() (VPDrivenIssuerConfig, error)
AsVPDrivenIssuerConfig returns the union data inside the CredentialIssuerDefinition_IssuerConfiguration as a VPDrivenIssuerConfig
func (*CredentialIssuerDefinition_IssuerConfiguration) FromCredentialRequirementsIssuerConfig
func (t *CredentialIssuerDefinition_IssuerConfiguration) FromCredentialRequirementsIssuerConfig(v CredentialRequirementsIssuerConfig) error
FromCredentialRequirementsIssuerConfig overwrites any union data inside the CredentialIssuerDefinition_IssuerConfiguration as the provided CredentialRequirementsIssuerConfig
func (*CredentialIssuerDefinition_IssuerConfiguration) FromCtWalletSameIssuerConfig
func (t *CredentialIssuerDefinition_IssuerConfiguration) FromCtWalletSameIssuerConfig(v CtWalletSameIssuerConfig) error
FromCtWalletSameIssuerConfig overwrites any union data inside the CredentialIssuerDefinition_IssuerConfiguration as the provided CtWalletSameIssuerConfig
func (*CredentialIssuerDefinition_IssuerConfiguration) FromVPDrivenIssuerConfig
func (t *CredentialIssuerDefinition_IssuerConfiguration) FromVPDrivenIssuerConfig(v VPDrivenIssuerConfig) error
FromVPDrivenIssuerConfig overwrites any union data inside the CredentialIssuerDefinition_IssuerConfiguration as the provided VPDrivenIssuerConfig
func (CredentialIssuerDefinition_IssuerConfiguration) MarshalJSON
func (t CredentialIssuerDefinition_IssuerConfiguration) MarshalJSON() ([]byte, error)
func (*CredentialIssuerDefinition_IssuerConfiguration) MergeCredentialRequirementsIssuerConfig
func (t *CredentialIssuerDefinition_IssuerConfiguration) MergeCredentialRequirementsIssuerConfig(v CredentialRequirementsIssuerConfig) error
MergeCredentialRequirementsIssuerConfig performs a merge with any union data inside the CredentialIssuerDefinition_IssuerConfiguration, using the provided CredentialRequirementsIssuerConfig
func (*CredentialIssuerDefinition_IssuerConfiguration) MergeCtWalletSameIssuerConfig
func (t *CredentialIssuerDefinition_IssuerConfiguration) MergeCtWalletSameIssuerConfig(v CtWalletSameIssuerConfig) error
MergeCtWalletSameIssuerConfig performs a merge with any union data inside the CredentialIssuerDefinition_IssuerConfiguration, using the provided CtWalletSameIssuerConfig
func (*CredentialIssuerDefinition_IssuerConfiguration) MergeVPDrivenIssuerConfig
func (t *CredentialIssuerDefinition_IssuerConfiguration) MergeVPDrivenIssuerConfig(v VPDrivenIssuerConfig) error
MergeVPDrivenIssuerConfig performs a merge with any union data inside the CredentialIssuerDefinition_IssuerConfiguration, using the provided VPDrivenIssuerConfig
func (*CredentialIssuerDefinition_IssuerConfiguration) UnmarshalJSON
func (t *CredentialIssuerDefinition_IssuerConfiguration) UnmarshalJSON(b []byte) error
type CredentialList
CredentialList defines model for CredentialList.
type CredentialList struct {
List []CredentialMetadata `json:"list"`
Next string `json:"next"`
}
type CredentialListParams
CredentialListParams defines parameters for CredentialList.
type CredentialListParams struct {
// Interaction The interaction that is the origin of the credential. This parameter is mutually exclusive with the "type" parameter.
Interaction *CredentialListParamsInteraction `form:"interaction,omitempty" json:"interaction,omitempty"`
// Type The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the "interaction" parameter.
// I.e. VerifiableCredential,VerifiableAttestation,Europass.
Type *string `form:"type,omitempty" json:"type,omitempty"`
// Valid The credential validity flag. If not provided credentials with any validity will be returned.
Valid *bool `form:"valid,omitempty" json:"valid,omitempty"`
// Limit The number of items
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// NextMarker Marking the next set of items
NextMarker *string `form:"nextMarker,omitempty" json:"nextMarker,omitempty"`
// Sort Sort flag controls the sort direction by the time updated or issued
Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"`
// SearchPath JSON path specification for the filter to apply
SearchPath *string `form:"searchPath,omitempty" json:"searchPath,omitempty"`
// Filter JSON schema filter used to select the credentials (base64 encoded)
Filter *[]byte `form:"filter,omitempty" json:"filter,omitempty"`
WalletId string `json:"wallet-id"`
}
type CredentialListParamsInteraction
CredentialListParamsInteraction defines parameters for CredentialList.
type CredentialListParamsInteraction string
Defines values for CredentialListParamsInteraction.
const (
CredentialListParamsInteractionIssuance CredentialListParamsInteraction = "issuance"
CredentialListParamsInteractionReceive CredentialListParamsInteraction = "receive"
CredentialListParamsInteractionStatusList CredentialListParamsInteraction = "statusList"
CredentialListParamsInteractionTaoCredentials CredentialListParamsInteraction = "taoCredentials"
)
type CredentialListResponse
type CredentialListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CredentialList
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseCredentialListResponse
func ParseCredentialListResponse(rsp *http.Response) (*CredentialListResponse, error)
ParseCredentialListResponse parses an HTTP response from a CredentialListWithResponse call
func (CredentialListResponse) Status
func (r CredentialListResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialListResponse) StatusCode
func (r CredentialListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialMetadata
CredentialMetadata Any Credential related accompanying key, value pairs that are not part of the Issued Credential
type CredentialMetadata struct {
Created time.Time `json:"created"`
DisclosableFields *[]string `json:"disclosableFields,omitempty"`
Id string `json:"id"`
Interaction CredentialMetadataInteraction `json:"interaction"`
// IssuerDisplay Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
IssuerDisplay *[]IssuerDisplayItem `json:"issuerDisplay,omitempty"`
Message *string `json:"message,omitempty"`
Name string `json:"name"`
// OfferedToClientId In case of issued credential this is the DID of the holder wallet
OfferedToClientId *string `json:"offeredToClientId,omitempty"`
OwnerId string `json:"ownerId"`
Status CredentialMetadataStatus `json:"status"`
Type string `json:"type"`
Updated time.Time `json:"updated"`
WalletId string `json:"walletId"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func (CredentialMetadata) Get
func (a CredentialMetadata) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for CredentialMetadata. Returns the specified element and whether it was found
func (CredentialMetadata) MarshalJSON
func (a CredentialMetadata) MarshalJSON() ([]byte, error)
Override default JSON handling for CredentialMetadata to handle AdditionalProperties
func (*CredentialMetadata) Set
func (a *CredentialMetadata) Set(fieldName string, value interface{})
Setter for additional properties for CredentialMetadata
func (*CredentialMetadata) UnmarshalJSON
func (a *CredentialMetadata) UnmarshalJSON(b []byte) error
Override default JSON handling for CredentialMetadata to handle AdditionalProperties
type CredentialMetadataInteraction
CredentialMetadataInteraction defines model for CredentialMetadata.Interaction.
type CredentialMetadataInteraction string
Defines values for CredentialMetadataInteraction.
const (
CredentialMetadataInteractionIssuance CredentialMetadataInteraction = "issuance"
CredentialMetadataInteractionReceive CredentialMetadataInteraction = "receive"
CredentialMetadataInteractionStatusList CredentialMetadataInteraction = "statusList"
CredentialMetadataInteractionTaoCredentials CredentialMetadataInteraction = "taoCredentials"
)
type CredentialMetadataPatchJSONRequestBody
CredentialMetadataPatchJSONRequestBody defines body for CredentialMetadataPatch for application/json ContentType.
type CredentialMetadataPatchJSONRequestBody = CredentialMetadataPatchPayload
type CredentialMetadataPatchParams
CredentialMetadataPatchParams defines parameters for CredentialMetadataPatch.
type CredentialMetadataPatchParams struct {
WalletId string `json:"wallet-id"`
}
type CredentialMetadataPatchPayload
CredentialMetadataPatchPayload defines model for CredentialMetadataPatchPayload.
type CredentialMetadataPatchPayload struct {
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func (CredentialMetadataPatchPayload) Get
func (a CredentialMetadataPatchPayload) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for CredentialMetadataPatchPayload. Returns the specified element and whether it was found
func (CredentialMetadataPatchPayload) MarshalJSON
func (a CredentialMetadataPatchPayload) MarshalJSON() ([]byte, error)
Override default JSON handling for CredentialMetadataPatchPayload to handle AdditionalProperties
func (*CredentialMetadataPatchPayload) Set
func (a *CredentialMetadataPatchPayload) Set(fieldName string, value interface{})
Setter for additional properties for CredentialMetadataPatchPayload
func (*CredentialMetadataPatchPayload) UnmarshalJSON
func (a *CredentialMetadataPatchPayload) UnmarshalJSON(b []byte) error
Override default JSON handling for CredentialMetadataPatchPayload to handle AdditionalProperties
type CredentialMetadataPatchResponse
type CredentialMetadataPatchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CredentialIdObject
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseCredentialMetadataPatchResponse
func ParseCredentialMetadataPatchResponse(rsp *http.Response) (*CredentialMetadataPatchResponse, error)
ParseCredentialMetadataPatchResponse parses an HTTP response from a CredentialMetadataPatchWithResponse call
func (CredentialMetadataPatchResponse) Status
func (r CredentialMetadataPatchResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialMetadataPatchResponse) StatusCode
func (r CredentialMetadataPatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialMetadataStatus
CredentialMetadataStatus defines model for CredentialMetadata.Status.
type CredentialMetadataStatus string
Defines values for CredentialMetadataStatus.
const (
Draft CredentialMetadataStatus = "draft"
Invalid CredentialMetadataStatus = "invalid"
Valid CredentialMetadataStatus = "valid"
)
type CredentialPatchJSONRequestBody
CredentialPatchJSONRequestBody defines body for CredentialPatch for application/json ContentType.
type CredentialPatchJSONRequestBody = CredentialPatchPayload
type CredentialPatchParams
CredentialPatchParams defines parameters for CredentialPatch.
type CredentialPatchParams struct {
WalletId string `json:"wallet-id"`
}
type CredentialPatchPayload
CredentialPatchPayload A Credential container used to create credentials with metadata.
type CredentialPatchPayload struct {
// CredentialSubject Set of objects that MUST contain one or more claims that are each related to a subject of the verifiable credential
// https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialSubject.
// Currently we support only one subject in the verifiable credential because there is no consensus about "vc-jwt"
// encoding of multi-subject verifiable credentials
CredentialSubject CredentialSubject `json:"credentialSubject"`
Name string `json:"name"`
// ValidateSchema If true, the credential draft is checked against its schema. Defaults to true.
ValidateSchema *bool `json:"validateSchema,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func (CredentialPatchPayload) Get
func (a CredentialPatchPayload) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for CredentialPatchPayload. Returns the specified element and whether it was found
func (CredentialPatchPayload) MarshalJSON
func (a CredentialPatchPayload) MarshalJSON() ([]byte, error)
Override default JSON handling for CredentialPatchPayload to handle AdditionalProperties
func (*CredentialPatchPayload) Set
func (a *CredentialPatchPayload) Set(fieldName string, value interface{})
Setter for additional properties for CredentialPatchPayload
func (*CredentialPatchPayload) UnmarshalJSON
func (a *CredentialPatchPayload) UnmarshalJSON(b []byte) error
Override default JSON handling for CredentialPatchPayload to handle AdditionalProperties
type CredentialPatchResponse
type CredentialPatchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CredentialIdObject
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseCredentialPatchResponse
func ParseCredentialPatchResponse(rsp *http.Response) (*CredentialPatchResponse, error)
ParseCredentialPatchResponse parses an HTTP response from a CredentialPatchWithResponse call
func (CredentialPatchResponse) Status
func (r CredentialPatchResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialPatchResponse) StatusCode
func (r CredentialPatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialPayload
CredentialPayload A Credential container used to create credentials with metadata.
type CredentialPayload struct {
Credential Credential `json:"credential"`
// Name An internal credential label used by a holder or issuer as a human readable credential name.
Name string `json:"name"`
// ValidateSchema If true, the credential draft is checked against its schema. Defaults to true.
ValidateSchema *bool `json:"validateSchema,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func (CredentialPayload) Get
func (a CredentialPayload) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for CredentialPayload. Returns the specified element and whether it was found
func (CredentialPayload) MarshalJSON
func (a CredentialPayload) MarshalJSON() ([]byte, error)
Override default JSON handling for CredentialPayload to handle AdditionalProperties
func (*CredentialPayload) Set
func (a *CredentialPayload) Set(fieldName string, value interface{})
Setter for additional properties for CredentialPayload
func (*CredentialPayload) UnmarshalJSON
func (a *CredentialPayload) UnmarshalJSON(b []byte) error
Override default JSON handling for CredentialPayload to handle AdditionalProperties
type CredentialRequest
CredentialRequest defines model for CredentialRequest.
type CredentialRequest struct {
Format CredentialFormat `json:"format"`
State *string `json:"state,omitempty"`
Types []string `json:"types"`
Url string `json:"url"`
}
type CredentialRequestInitJSONRequestBody
CredentialRequestInitJSONRequestBody defines body for CredentialRequestInit for application/json ContentType.
type CredentialRequestInitJSONRequestBody = CredentialRequest
type CredentialRequestInitParams
CredentialRequestInitParams defines parameters for CredentialRequestInit.
type CredentialRequestInitParams struct {
WalletId string `json:"wallet-id"`
}
type CredentialRequestInitResponse
type CredentialRequestInitResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]CredentialId
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseCredentialRequestInitResponse
func ParseCredentialRequestInitResponse(rsp *http.Response) (*CredentialRequestInitResponse, error)
ParseCredentialRequestInitResponse parses an HTTP response from a CredentialRequestInitWithResponse call
func (CredentialRequestInitResponse) Status
func (r CredentialRequestInitResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialRequestInitResponse) StatusCode
func (r CredentialRequestInitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialRequirementsIssuerConfig
CredentialRequirementsIssuerConfig defines model for CredentialRequirementsIssuerConfig.
type CredentialRequirementsIssuerConfig struct {
// CredentialVerifierId ID of the verifier used for verification of presented credential.
CredentialVerifierId string `json:"credentialVerifierId"`
}
type CredentialRevokeParams
CredentialRevokeParams defines parameters for CredentialRevoke.
type CredentialRevokeParams struct {
WalletId string `json:"wallet-id"`
}
type CredentialRevokeResponse
type CredentialRevokeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseCredentialRevokeResponse
func ParseCredentialRevokeResponse(rsp *http.Response) (*CredentialRevokeResponse, error)
ParseCredentialRevokeResponse parses an HTTP response from a CredentialRevokeWithResponse call
func (CredentialRevokeResponse) Status
func (r CredentialRevokeResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialRevokeResponse) StatusCode
func (r CredentialRevokeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialSchema
CredentialSchema One or more data schemas that provide verifiers with enough information to determine if the provided data conforms to the provided schema(s) https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialSchema
type CredentialSchema struct {
// contains filtered or unexported fields
}
func (CredentialSchema) AsCredentialSchema1
func (t CredentialSchema) AsCredentialSchema1() (CredentialSchema1, error)
AsCredentialSchema1 returns the union data inside the CredentialSchema as a CredentialSchema1
func (CredentialSchema) AsCredentialSchemaItem
func (t CredentialSchema) AsCredentialSchemaItem() (CredentialSchemaItem, error)
AsCredentialSchemaItem returns the union data inside the CredentialSchema as a CredentialSchemaItem
func (*CredentialSchema) FromCredentialSchema1
func (t *CredentialSchema) FromCredentialSchema1(v CredentialSchema1) error
FromCredentialSchema1 overwrites any union data inside the CredentialSchema as the provided CredentialSchema1
func (*CredentialSchema) FromCredentialSchemaItem
func (t *CredentialSchema) FromCredentialSchemaItem(v CredentialSchemaItem) error
FromCredentialSchemaItem overwrites any union data inside the CredentialSchema as the provided CredentialSchemaItem
func (CredentialSchema) MarshalJSON
func (t CredentialSchema) MarshalJSON() ([]byte, error)
func (*CredentialSchema) MergeCredentialSchema1
func (t *CredentialSchema) MergeCredentialSchema1(v CredentialSchema1) error
MergeCredentialSchema1 performs a merge with any union data inside the CredentialSchema, using the provided CredentialSchema1
func (*CredentialSchema) MergeCredentialSchemaItem
func (t *CredentialSchema) MergeCredentialSchemaItem(v CredentialSchemaItem) error
MergeCredentialSchemaItem performs a merge with any union data inside the CredentialSchema, using the provided CredentialSchemaItem
func (*CredentialSchema) UnmarshalJSON
func (t *CredentialSchema) UnmarshalJSON(b []byte) error
type CredentialSchema1
CredentialSchema1 defines model for .
type CredentialSchema1 = []CredentialSchemaItem
type CredentialSchemaId
CredentialSchemaId A URL identifying the schema file
type CredentialSchemaId = string
type CredentialSchemaItem
CredentialSchemaItem defines model for CredentialSchemaItem.
type CredentialSchemaItem struct {
// Id A URL identifying the schema file
Id CredentialSchemaId `json:"id"`
Name *string `json:"name,omitempty"`
// Type Defines the schema type, for example, JsonSchema
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func (CredentialSchemaItem) Get
func (a CredentialSchemaItem) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for CredentialSchemaItem. Returns the specified element and whether it was found
func (CredentialSchemaItem) MarshalJSON
func (a CredentialSchemaItem) MarshalJSON() ([]byte, error)
Override default JSON handling for CredentialSchemaItem to handle AdditionalProperties
func (*CredentialSchemaItem) Set
func (a *CredentialSchemaItem) Set(fieldName string, value interface{})
Setter for additional properties for CredentialSchemaItem
func (*CredentialSchemaItem) UnmarshalJSON
func (a *CredentialSchemaItem) UnmarshalJSON(b []byte) error
Override default JSON handling for CredentialSchemaItem to handle AdditionalProperties
type CredentialStatus
CredentialStatus It is expected that the value will provide enough information to determine the current status of the credential and that machine readable information will be retrievable from the URL https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialStatus
type CredentialStatus struct {
Id string `json:"id"`
StatusListCredential *string `json:"statusListCredential,omitempty"`
StatusListIndex *string `json:"statusListIndex,omitempty"`
StatusPurpose *string `json:"statusPurpose,omitempty"`
Type string `json:"type"`
}
type CredentialSubject
CredentialSubject Set of objects that MUST contain one or more claims that are each related to a subject of the verifiable credential https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialSubject. Currently we support only one subject in the verifiable credential because there is no consensus about "vc-jwt" encoding of multi-subject verifiable credentials
type CredentialSubject struct {
// contains filtered or unexported fields
}
func (CredentialSubject) AsCredentialSubject1
func (t CredentialSubject) AsCredentialSubject1() (CredentialSubject1, error)
AsCredentialSubject1 returns the union data inside the CredentialSubject as a CredentialSubject1
func (CredentialSubject) AsCredentialSubjectItem
func (t CredentialSubject) AsCredentialSubjectItem() (CredentialSubjectItem, error)
AsCredentialSubjectItem returns the union data inside the CredentialSubject as a CredentialSubjectItem
func (*CredentialSubject) FromCredentialSubject1
func (t *CredentialSubject) FromCredentialSubject1(v CredentialSubject1) error
FromCredentialSubject1 overwrites any union data inside the CredentialSubject as the provided CredentialSubject1
func (*CredentialSubject) FromCredentialSubjectItem
func (t *CredentialSubject) FromCredentialSubjectItem(v CredentialSubjectItem) error
FromCredentialSubjectItem overwrites any union data inside the CredentialSubject as the provided CredentialSubjectItem
func (CredentialSubject) MarshalJSON
func (t CredentialSubject) MarshalJSON() ([]byte, error)
func (*CredentialSubject) MergeCredentialSubject1
func (t *CredentialSubject) MergeCredentialSubject1(v CredentialSubject1) error
MergeCredentialSubject1 performs a merge with any union data inside the CredentialSubject, using the provided CredentialSubject1
func (*CredentialSubject) MergeCredentialSubjectItem
func (t *CredentialSubject) MergeCredentialSubjectItem(v CredentialSubjectItem) error
MergeCredentialSubjectItem performs a merge with any union data inside the CredentialSubject, using the provided CredentialSubjectItem
func (*CredentialSubject) UnmarshalJSON
func (t *CredentialSubject) UnmarshalJSON(b []byte) error
type CredentialSubject1
CredentialSubject1 defines model for .
type CredentialSubject1 = []CredentialSubjectItem
type CredentialSubjectItem
CredentialSubjectItem defines model for CredentialSubjectItem.
type CredentialSubjectItem struct {
// Sd Array of specific VC subject field disclosures
Sd *[]string `json:"_sd,omitempty"`
Id *string `json:"id,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func (CredentialSubjectItem) Get
func (a CredentialSubjectItem) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for CredentialSubjectItem. Returns the specified element and whether it was found
func (CredentialSubjectItem) MarshalJSON
func (a CredentialSubjectItem) MarshalJSON() ([]byte, error)
Override default JSON handling for CredentialSubjectItem to handle AdditionalProperties
func (*CredentialSubjectItem) Set
func (a *CredentialSubjectItem) Set(fieldName string, value interface{})
Setter for additional properties for CredentialSubjectItem
func (*CredentialSubjectItem) UnmarshalJSON
func (a *CredentialSubjectItem) UnmarshalJSON(b []byte) error
Override default JSON handling for CredentialSubjectItem to handle AdditionalProperties
type CredentialToPresentWrapper
CredentialToPresentWrapper defines model for CredentialToPresentWrapper.
type CredentialToPresentWrapper struct {
// Credential Any Credential related accompanying key, value pairs that are not part of the Issued Credential
Credential CredentialMetadata `json:"credential"`
// FieldsToDisclose Array of json paths of claims that will be disclosed from this credential.
FieldsToDisclose []string `json:"fieldsToDisclose"`
}
type CredentialType
CredentialType A credential type that can be issued by the issuer
- format: the verifiable credential format (for example "jwt_vc")
- type: the verifiable credential type, usually provided as list of strings
(for example: "VerifiableCredential", "VerifiableAttestation", "VerifiableId")
type CredentialType struct {
Doctype *string `json:"doctype,omitempty"`
Format CredentialFormat `json:"format"`
Type *[]string `json:"type,omitempty"`
}
type CredentialTypes
CredentialTypes List of verifiable credential types that can be issued by the issuer
type CredentialTypes = []CredentialType
type CredentialVerifierDefinition
CredentialVerifierDefinition defines model for CredentialVerifierDefinition.
type CredentialVerifierDefinition struct {
// Id Unique ID of the definition
Id string `json:"id"`
// Name Human readable name of the definition
Name string `json:"name"`
PresentationDefinition PresentationDefinition `json:"presentationDefinition"`
}
type CredentialWrapper
CredentialWrapper The wrapper contains Verifiable Credential in both, the Credential and as Base64 signed format alongside with metadata.
type CredentialWrapper struct {
// Metadata Any Credential related accompanying key, value pairs that are not part of the Issued Credential
Metadata CredentialMetadata `json:"metadata"`
// SignedVc The base64 encoded Verifiable Credential in its final signed form
SignedVc *string `json:"signedVc,omitempty"`
Vc Credential `json:"vc"`
}
type Credential_Issuer
Credential_Issuer Either a URL or an object containing an id property https://www.w3.org/TR/vc-data-model-2.0/#defn-issuer
type Credential_Issuer struct {
// contains filtered or unexported fields
}
func (Credential_Issuer) AsIssuerId
func (t Credential_Issuer) AsIssuerId() (IssuerId, error)
AsIssuerId returns the union data inside the Credential_Issuer as a IssuerId
func (Credential_Issuer) AsIssuerMeta
func (t Credential_Issuer) AsIssuerMeta() (IssuerMeta, error)
AsIssuerMeta returns the union data inside the Credential_Issuer as a IssuerMeta
func (*Credential_Issuer) FromIssuerId
func (t *Credential_Issuer) FromIssuerId(v IssuerId) error
FromIssuerId overwrites any union data inside the Credential_Issuer as the provided IssuerId
func (*Credential_Issuer) FromIssuerMeta
func (t *Credential_Issuer) FromIssuerMeta(v IssuerMeta) error
FromIssuerMeta overwrites any union data inside the Credential_Issuer as the provided IssuerMeta
func (Credential_Issuer) MarshalJSON
func (t Credential_Issuer) MarshalJSON() ([]byte, error)
func (*Credential_Issuer) MergeIssuerId
func (t *Credential_Issuer) MergeIssuerId(v IssuerId) error
MergeIssuerId performs a merge with any union data inside the Credential_Issuer, using the provided IssuerId
func (*Credential_Issuer) MergeIssuerMeta
func (t *Credential_Issuer) MergeIssuerMeta(v IssuerMeta) error
MergeIssuerMeta performs a merge with any union data inside the Credential_Issuer, using the provided IssuerMeta
func (*Credential_Issuer) UnmarshalJSON
func (t *Credential_Issuer) UnmarshalJSON(b []byte) error
type CtWalletSameIssuerConfig
CtWalletSameIssuerConfig defines model for CtWalletSameIssuerConfig.
type CtWalletSameIssuerConfig struct {
// DefaultCredentialSubject Default values for the credentialSubject property.
DefaultCredentialSubject *map[string]interface{} `json:"defaultCredentialSubject,omitempty"`
// DefaultSchema Default credential schema
DefaultSchema *string `json:"defaultSchema,omitempty"`
}
type Deferred
Deferred The deferred process status. Can be either in progress, or completed, or error. When the status is completed, the Id property will be set to the value of the resulting object ID.
type Deferred struct {
Id *string `json:"Id,omitempty"`
Status DeferredStatus `json:"Status"`
}
type DeferredStatus
DeferredStatus defines model for Deferred.Status.
type DeferredStatus string
Defines values for DeferredStatus.
const (
DeferredStatusCompleted DeferredStatus = "completed"
DeferredStatusError DeferredStatus = "error"
DeferredStatusInProgress DeferredStatus = "in_progress"
)
type DeferredStatusParams
DeferredStatusParams defines parameters for DeferredStatus.
type DeferredStatusParams struct {
WalletId string `json:"wallet-id"`
}
type DeferredStatusResponse
type DeferredStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Deferred
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseDeferredStatusResponse
func ParseDeferredStatusResponse(rsp *http.Response) (*DeferredStatusResponse, error)
ParseDeferredStatusResponse parses an HTTP response from a DeferredStatusWithResponse call
func (DeferredStatusResponse) Status
func (r DeferredStatusResponse) Status() string
Status returns HTTPResponse.Status
func (DeferredStatusResponse) StatusCode
func (r DeferredStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Did
Did Decentralized ID of the wallet owner
type Did struct {
Did string `json:"Did"`
}
type DidDocumentGetResponse
type DidDocumentGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *map[string]interface{}
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseDidDocumentGetResponse
func ParseDidDocumentGetResponse(rsp *http.Response) (*DidDocumentGetResponse, error)
ParseDidDocumentGetResponse parses an HTTP response from a DidDocumentGetWithResponse call
func (DidDocumentGetResponse) Status
func (r DidDocumentGetResponse) Status() string
Status returns HTTPResponse.Status
func (DidDocumentGetResponse) StatusCode
func (r DidDocumentGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DidGetParams
DidGetParams defines parameters for DidGet.
type DidGetParams struct {
WalletId string `json:"wallet-id"`
}
type DidGetResponse
type DidGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Did
JSON500 *InternalServerError
}
func ParseDidGetResponse
func ParseDidGetResponse(rsp *http.Response) (*DidGetResponse, error)
ParseDidGetResponse parses an HTTP response from a DidGetWithResponse call
func (DidGetResponse) Status
func (r DidGetResponse) Status() string
Status returns HTTPResponse.Status
func (DidGetResponse) StatusCode
func (r DidGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EbsiConfiguration
EbsiConfiguration URLs of EBSI services
type EbsiConfiguration struct {
Authorization string `json:"authorization"`
// ConformanceClientId The TAO issuer ID from which this wallet will request onboarding credentials
ConformanceClientId string `json:"conformanceClientId"`
DidRegistry string `json:"didRegistry"`
MainSchema string `json:"mainSchema"`
TrustedIssuersRegistry string `json:"trustedIssuersRegistry"`
TrustedSchemasRegistry string `json:"trustedSchemasRegistry"`
}
type EbsiSpecificWalletData
EbsiSpecificWalletData EBSI specific data
type EbsiSpecificWalletData struct {
AttributeId *string `json:"attributeId,omitempty"`
// Configuration URLs of EBSI services
Configuration EbsiConfiguration `json:"configuration"`
// IsLegalEntity Defines if the specific wallet is a legal entity
IsLegalEntity *bool `json:"isLegalEntity,omitempty"`
IsOnboarded bool `json:"isOnboarded"`
ProxyUrl *string `json:"proxyUrl,omitempty"`
RequiredDid *string `json:"requiredDid,omitempty"`
}
type Error
Error Common error message
type Error struct {
Error string `json:"error"`
Message string `json:"message"`
}
type Evidence
Evidence defines model for Evidence.
type Evidence = []EvidenceItem
type EvidenceItem
EvidenceItem A scheme providing enough information for a verifier to determine whether the evidence gathered by the issuer meets its confidence requirements for relying on the credential
type EvidenceItem struct {
// Id URL that points to where more information about this instance of evidence can be found
Id *string `json:"id,omitempty"`
// Type The precise content of each evidence scheme is determined by the specific evidence type definition.
Type []string `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func (EvidenceItem) Get
func (a EvidenceItem) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for EvidenceItem. Returns the specified element and whether it was found
func (EvidenceItem) MarshalJSON
func (a EvidenceItem) MarshalJSON() ([]byte, error)
Override default JSON handling for EvidenceItem to handle AdditionalProperties
func (*EvidenceItem) Set
func (a *EvidenceItem) Set(fieldName string, value interface{})
Setter for additional properties for EvidenceItem
func (*EvidenceItem) UnmarshalJSON
func (a *EvidenceItem) UnmarshalJSON(b []byte) error
Override default JSON handling for EvidenceItem to handle AdditionalProperties
type FieldToVerifyBool
FieldToVerifyBool defines model for FieldToVerifyBool.
type FieldToVerifyBool = bool
type FieldToVerifyNumber
FieldToVerifyNumber defines model for FieldToVerifyNumber.
type FieldToVerifyNumber = float32
type FieldToVerifyString
FieldToVerifyString defines model for FieldToVerifyString.
type FieldToVerifyString = string
type FieldsToVerify
FieldsToVerify Presented credential field that will be matched
type FieldsToVerify struct {
// Path JSON Path of the field
Path string `json:"path"`
// Value Required value of the field
Value FieldsToVerify_Value `json:"value"`
}
type FieldsToVerify_Value
FieldsToVerify_Value Required value of the field
type FieldsToVerify_Value struct {
// contains filtered or unexported fields
}
func (FieldsToVerify_Value) AsFieldToVerifyBool
func (t FieldsToVerify_Value) AsFieldToVerifyBool() (FieldToVerifyBool, error)
AsFieldToVerifyBool returns the union data inside the FieldsToVerify_Value as a FieldToVerifyBool
func (FieldsToVerify_Value) AsFieldToVerifyNumber
func (t FieldsToVerify_Value) AsFieldToVerifyNumber() (FieldToVerifyNumber, error)
AsFieldToVerifyNumber returns the union data inside the FieldsToVerify_Value as a FieldToVerifyNumber
func (FieldsToVerify_Value) AsFieldToVerifyString
func (t FieldsToVerify_Value) AsFieldToVerifyString() (FieldToVerifyString, error)
AsFieldToVerifyString returns the union data inside the FieldsToVerify_Value as a FieldToVerifyString
func (*FieldsToVerify_Value) FromFieldToVerifyBool
func (t *FieldsToVerify_Value) FromFieldToVerifyBool(v FieldToVerifyBool) error
FromFieldToVerifyBool overwrites any union data inside the FieldsToVerify_Value as the provided FieldToVerifyBool
func (*FieldsToVerify_Value) FromFieldToVerifyNumber
func (t *FieldsToVerify_Value) FromFieldToVerifyNumber(v FieldToVerifyNumber) error
FromFieldToVerifyNumber overwrites any union data inside the FieldsToVerify_Value as the provided FieldToVerifyNumber
func (*FieldsToVerify_Value) FromFieldToVerifyString
func (t *FieldsToVerify_Value) FromFieldToVerifyString(v FieldToVerifyString) error
FromFieldToVerifyString overwrites any union data inside the FieldsToVerify_Value as the provided FieldToVerifyString
func (FieldsToVerify_Value) MarshalJSON
func (t FieldsToVerify_Value) MarshalJSON() ([]byte, error)
func (*FieldsToVerify_Value) MergeFieldToVerifyBool
func (t *FieldsToVerify_Value) MergeFieldToVerifyBool(v FieldToVerifyBool) error
MergeFieldToVerifyBool performs a merge with any union data inside the FieldsToVerify_Value, using the provided FieldToVerifyBool
func (*FieldsToVerify_Value) MergeFieldToVerifyNumber
func (t *FieldsToVerify_Value) MergeFieldToVerifyNumber(v FieldToVerifyNumber) error
MergeFieldToVerifyNumber performs a merge with any union data inside the FieldsToVerify_Value, using the provided FieldToVerifyNumber
func (*FieldsToVerify_Value) MergeFieldToVerifyString
func (t *FieldsToVerify_Value) MergeFieldToVerifyString(v FieldToVerifyString) error
MergeFieldToVerifyString performs a merge with any union data inside the FieldsToVerify_Value, using the provided FieldToVerifyString
func (*FieldsToVerify_Value) UnmarshalJSON
func (t *FieldsToVerify_Value) UnmarshalJSON(b []byte) error
type HealthCheckResponse
type HealthCheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *HealthStatus
JSON500 *InternalServerError
}
func ParseHealthCheckResponse
func ParseHealthCheckResponse(rsp *http.Response) (*HealthCheckResponse, error)
ParseHealthCheckResponse parses an HTTP response from a HealthCheckWithResponse call
func (HealthCheckResponse) Status
func (r HealthCheckResponse) Status() string
Status returns HTTPResponse.Status
func (HealthCheckResponse) StatusCode
func (r HealthCheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HealthStatus
HealthStatus Health status of the system
type HealthStatus struct {
Status HealthStatusStatus `json:"status"`
Subsystems []SystemImpact `json:"subsystems"`
}
type HealthStatusStatus
HealthStatusStatus defines model for HealthStatus.Status.
type HealthStatusStatus string
Defines values for HealthStatusStatus.
const (
HealthStatusStatusCritical HealthStatusStatus = "critical"
HealthStatusStatusLimited HealthStatusStatus = "limited"
HealthStatusStatusOk HealthStatusStatus = "ok"
)
type HolderAuthOfferCreationRequest
HolderAuthOfferCreationRequest Request for the creation of a holder initiated authorized flow offer.
type HolderAuthOfferCreationRequest struct {
Deferred bool `json:"deferred"`
Format CredentialFormat `json:"format"`
IssuerUrl string `json:"issuerUrl"`
State string `json:"state"`
Types []string `json:"types"`
}
type HolderCreateAuthOfferJSONRequestBody
HolderCreateAuthOfferJSONRequestBody defines body for HolderCreateAuthOffer for application/json ContentType.
type HolderCreateAuthOfferJSONRequestBody = HolderAuthOfferCreationRequest
type HolderCreateAuthOfferParams
HolderCreateAuthOfferParams defines parameters for HolderCreateAuthOffer.
type HolderCreateAuthOfferParams struct {
WalletId string `json:"wallet-id"`
}
type HolderCreateAuthOfferResponse
type HolderCreateAuthOfferResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseHolderCreateAuthOfferResponse
func ParseHolderCreateAuthOfferResponse(rsp *http.Response) (*HolderCreateAuthOfferResponse, error)
ParseHolderCreateAuthOfferResponse parses an HTTP response from a HolderCreateAuthOfferWithResponse call
func (HolderCreateAuthOfferResponse) Status
func (r HolderCreateAuthOfferResponse) Status() string
Status returns HTTPResponse.Status
func (HolderCreateAuthOfferResponse) StatusCode
func (r HolderCreateAuthOfferResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HolderCredentialsPresentAfterConsentJSONRequestBody
HolderCredentialsPresentAfterConsentJSONRequestBody defines body for HolderCredentialsPresentAfterConsent for application/json ContentType.
type HolderCredentialsPresentAfterConsentJSONRequestBody = InteractionAuthorizationConsent
type HolderCredentialsPresentAfterConsentParams
HolderCredentialsPresentAfterConsentParams defines parameters for HolderCredentialsPresentAfterConsent.
type HolderCredentialsPresentAfterConsentParams struct {
WalletId string `json:"wallet-id"`
}
type HolderCredentialsPresentAfterConsentResponse
type HolderCredentialsPresentAfterConsentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseHolderCredentialsPresentAfterConsentResponse
func ParseHolderCredentialsPresentAfterConsentResponse(rsp *http.Response) (*HolderCredentialsPresentAfterConsentResponse, error)
ParseHolderCredentialsPresentAfterConsentResponse parses an HTTP response from a HolderCredentialsPresentAfterConsentWithResponse call
func (HolderCredentialsPresentAfterConsentResponse) Status
func (r HolderCredentialsPresentAfterConsentResponse) Status() string
Status returns HTTPResponse.Status
func (HolderCredentialsPresentAfterConsentResponse) StatusCode
func (r HolderCredentialsPresentAfterConsentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HolderIdTokenSendJSONRequestBody
HolderIdTokenSendJSONRequestBody defines body for HolderIdTokenSend for application/json ContentType.
type HolderIdTokenSendJSONRequestBody = IdTokenSendRequest
type HolderIdTokenSendParams
HolderIdTokenSendParams defines parameters for HolderIdTokenSend.
type HolderIdTokenSendParams struct {
WalletId string `json:"wallet-id"`
}
type HolderIdTokenSendResponse
type HolderIdTokenSendResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseHolderIdTokenSendResponse
func ParseHolderIdTokenSendResponse(rsp *http.Response) (*HolderIdTokenSendResponse, error)
ParseHolderIdTokenSendResponse parses an HTTP response from a HolderIdTokenSendWithResponse call
func (HolderIdTokenSendResponse) Status
func (r HolderIdTokenSendResponse) Status() string
Status returns HTTPResponse.Status
func (HolderIdTokenSendResponse) StatusCode
func (r HolderIdTokenSendResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HolderLinkedVpCreateJSONRequestBody
HolderLinkedVpCreateJSONRequestBody defines body for HolderLinkedVpCreate for application/json ContentType.
type HolderLinkedVpCreateJSONRequestBody = LinkedVpCreateRequest
type HolderLinkedVpCreateParams
HolderLinkedVpCreateParams defines parameters for HolderLinkedVpCreate.
type HolderLinkedVpCreateParams struct {
WalletId string `json:"wallet-id"`
}
type HolderLinkedVpCreateResponse
type HolderLinkedVpCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LinkedVpMetadata
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseHolderLinkedVpCreateResponse
func ParseHolderLinkedVpCreateResponse(rsp *http.Response) (*HolderLinkedVpCreateResponse, error)
ParseHolderLinkedVpCreateResponse parses an HTTP response from a HolderLinkedVpCreateWithResponse call
func (HolderLinkedVpCreateResponse) Status
func (r HolderLinkedVpCreateResponse) Status() string
Status returns HTTPResponse.Status
func (HolderLinkedVpCreateResponse) StatusCode
func (r HolderLinkedVpCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HolderLinkedVpDeleteParams
HolderLinkedVpDeleteParams defines parameters for HolderLinkedVpDelete.
type HolderLinkedVpDeleteParams struct {
WalletId string `json:"wallet-id"`
}
type HolderLinkedVpDeleteResponse
type HolderLinkedVpDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseHolderLinkedVpDeleteResponse
func ParseHolderLinkedVpDeleteResponse(rsp *http.Response) (*HolderLinkedVpDeleteResponse, error)
ParseHolderLinkedVpDeleteResponse parses an HTTP response from a HolderLinkedVpDeleteWithResponse call
func (HolderLinkedVpDeleteResponse) Status
func (r HolderLinkedVpDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (HolderLinkedVpDeleteResponse) StatusCode
func (r HolderLinkedVpDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HolderLinkedVpGetDetailsParams
HolderLinkedVpGetDetailsParams defines parameters for HolderLinkedVpGetDetails.
type HolderLinkedVpGetDetailsParams struct {
WalletId string `json:"wallet-id"`
}
type HolderLinkedVpGetDetailsResponse
type HolderLinkedVpGetDetailsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LinkedVpMetadata
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseHolderLinkedVpGetDetailsResponse
func ParseHolderLinkedVpGetDetailsResponse(rsp *http.Response) (*HolderLinkedVpGetDetailsResponse, error)
ParseHolderLinkedVpGetDetailsResponse parses an HTTP response from a HolderLinkedVpGetDetailsWithResponse call
func (HolderLinkedVpGetDetailsResponse) Status
func (r HolderLinkedVpGetDetailsResponse) Status() string
Status returns HTTPResponse.Status
func (HolderLinkedVpGetDetailsResponse) StatusCode
func (r HolderLinkedVpGetDetailsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HolderLinkedVpListParams
HolderLinkedVpListParams defines parameters for HolderLinkedVpList.
type HolderLinkedVpListParams struct {
WalletId string `json:"wallet-id"`
}
type HolderLinkedVpListResponse
type HolderLinkedVpListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LinkedVpList
JSON500 *InternalServerError
}
func ParseHolderLinkedVpListResponse
func ParseHolderLinkedVpListResponse(rsp *http.Response) (*HolderLinkedVpListResponse, error)
ParseHolderLinkedVpListResponse parses an HTTP response from a HolderLinkedVpListWithResponse call
func (HolderLinkedVpListResponse) Status
func (r HolderLinkedVpListResponse) Status() string
Status returns HTTPResponse.Status
func (HolderLinkedVpListResponse) StatusCode
func (r HolderLinkedVpListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HolderOfferPassAuthInfoJSONRequestBody
HolderOfferPassAuthInfoJSONRequestBody defines body for HolderOfferPassAuthInfo for application/json ContentType.
type HolderOfferPassAuthInfoJSONRequestBody = VcOffer
type HolderOfferPassAuthInfoParams
HolderOfferPassAuthInfoParams defines parameters for HolderOfferPassAuthInfo.
type HolderOfferPassAuthInfoParams struct {
WalletId string `json:"wallet-id"`
}
type HolderOfferPassAuthInfoResponse
type HolderOfferPassAuthInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InteractionAuthorizationRequirements
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseHolderOfferPassAuthInfoResponse
func ParseHolderOfferPassAuthInfoResponse(rsp *http.Response) (*HolderOfferPassAuthInfoResponse, error)
ParseHolderOfferPassAuthInfoResponse parses an HTTP response from a HolderOfferPassAuthInfoWithResponse call
func (HolderOfferPassAuthInfoResponse) Status
func (r HolderOfferPassAuthInfoResponse) Status() string
Status returns HTTPResponse.Status
func (HolderOfferPassAuthInfoResponse) StatusCode
func (r HolderOfferPassAuthInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HolderOfferProcessAfterConsentJSONRequestBody
HolderOfferProcessAfterConsentJSONRequestBody defines body for HolderOfferProcessAfterConsent for application/json ContentType.
type HolderOfferProcessAfterConsentJSONRequestBody = InteractionAuthorizationConsent
type HolderOfferProcessAfterConsentParams
HolderOfferProcessAfterConsentParams defines parameters for HolderOfferProcessAfterConsent.
type HolderOfferProcessAfterConsentParams struct {
WalletId string `json:"wallet-id"`
}
type HolderOfferProcessAfterConsentResponse
type HolderOfferProcessAfterConsentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]CredentialId
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseHolderOfferProcessAfterConsentResponse
func ParseHolderOfferProcessAfterConsentResponse(rsp *http.Response) (*HolderOfferProcessAfterConsentResponse, error)
ParseHolderOfferProcessAfterConsentResponse parses an HTTP response from a HolderOfferProcessAfterConsentWithResponse call
func (HolderOfferProcessAfterConsentResponse) Status
func (r HolderOfferProcessAfterConsentResponse) Status() string
Status returns HTTPResponse.Status
func (HolderOfferProcessAfterConsentResponse) StatusCode
func (r HolderOfferProcessAfterConsentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HolderPresentPassAuthInfoJSONRequestBody
HolderPresentPassAuthInfoJSONRequestBody defines body for HolderPresentPassAuthInfo for application/json ContentType.
type HolderPresentPassAuthInfoJSONRequestBody = PresentationRequest
type HolderPresentPassAuthInfoParams
HolderPresentPassAuthInfoParams defines parameters for HolderPresentPassAuthInfo.
type HolderPresentPassAuthInfoParams struct {
WalletId string `json:"wallet-id"`
}
type HolderPresentPassAuthInfoResponse
type HolderPresentPassAuthInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InteractionAuthorizationRequirements
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseHolderPresentPassAuthInfoResponse
func ParseHolderPresentPassAuthInfoResponse(rsp *http.Response) (*HolderPresentPassAuthInfoResponse, error)
ParseHolderPresentPassAuthInfoResponse parses an HTTP response from a HolderPresentPassAuthInfoWithResponse call
func (HolderPresentPassAuthInfoResponse) Status
func (r HolderPresentPassAuthInfoResponse) Status() string
Status returns HTTPResponse.Status
func (HolderPresentPassAuthInfoResponse) StatusCode
func (r HolderPresentPassAuthInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer
Doer performs HTTP requests.
The standard http.Client implements this interface.
type HttpRequestDoer interface {
Do(req *http.Request) (*http.Response, error)
}
type IdTokenReceivedNotification
IdTokenReceivedNotification defines model for IdTokenReceivedNotification.
type IdTokenReceivedNotification struct {
ClientId string `json:"clientId"`
IdTokenRequestId string `json:"idTokenRequestId"`
}
type IdTokenRequest
IdTokenRequest defines model for IdTokenRequest.
type IdTokenRequest struct {
Id string `json:"id"`
RequestUrl string `json:"requestUrl"`
}
type IdTokenRequestCreateParams
IdTokenRequestCreateParams defines parameters for IdTokenRequestCreate.
type IdTokenRequestCreateParams struct {
WalletId string `json:"wallet-id"`
}
type IdTokenRequestCreateResponse
type IdTokenRequestCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *IdTokenRequest
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseIdTokenRequestCreateResponse
func ParseIdTokenRequestCreateResponse(rsp *http.Response) (*IdTokenRequestCreateResponse, error)
ParseIdTokenRequestCreateResponse parses an HTTP response from a IdTokenRequestCreateWithResponse call
func (IdTokenRequestCreateResponse) Status
func (r IdTokenRequestCreateResponse) Status() string
Status returns HTTPResponse.Status
func (IdTokenRequestCreateResponse) StatusCode
func (r IdTokenRequestCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IdTokenSendRequest
IdTokenSendRequest defines model for IdTokenSendRequest.
type IdTokenSendRequest struct {
RequestUrl string `json:"requestUrl"`
}
type InitAuthOffer
InitAuthOffer Request for authorization flow credential issuance process start. Consists of offered credential's types and credential offer endpoint (most commonly only schema)
type InitAuthOffer struct {
Deferred *bool `json:"deferred,omitempty"`
Format CredentialFormat `json:"format"`
// IssuanceQueueItemId Id of issuance queue item. Required when issuer type is CredentialQueue type
// and no clientId was provided when adding credential to queue.
IssuanceQueueItemId *string `json:"issuanceQueueItemId,omitempty"`
// IssuerId ID of the issuer used to issue the credential.
IssuerId string `json:"issuerId"`
OfferEndpoint *string `json:"offerEndpoint,omitempty"`
}
type InitPreAuthOffer
InitPreAuthOffer Request for pre-authorized issuance process start. Consists of client id or id token request id, credential offer endpoint(most commonly only schema) and id's of credentials to be issued to client. Either clientId or idTokenRequestId MUST be present in the request.
type InitPreAuthOffer struct {
// ClientId DID of holder for which the offer is created.
ClientId *string `json:"clientId,omitempty"`
Deferred *bool `json:"deferred,omitempty"`
Format CredentialFormat `json:"format"`
// IdTokenRequestId ID of ID token request issued to the holder.
IdTokenRequestId *string `json:"idTokenRequestId,omitempty"`
// IssuerId ID of the issuer used to issue the credential.
IssuerId string `json:"issuerId"`
OfferEndpoint *string `json:"offerEndpoint,omitempty"`
}
type InputDescriptorSuitableCredentials
InputDescriptorSuitableCredentials defines model for InputDescriptorSuitableCredentials.
type InputDescriptorSuitableCredentials struct {
// Credentials Credential ID list of credentials suitable for presentation according to the specified input descriptor.
Credentials []CredentialToPresentWrapper `json:"credentials"`
// DescriptorId ID of presentation definition input descriptor for which the credential list is suitable.
DescriptorId string `json:"descriptorId"`
}
type InteractionAuthorizationConsent
InteractionAuthorizationConsent defines model for InteractionAuthorizationConsent.
type InteractionAuthorizationConsent struct {
// CredentialsToPresent Array of IDs of credentials that will be presented in the interaction.
// Must be a subset of authorization requirements presentation candidates.
// Required when authorization requirement type is `vp_token`.
CredentialsToPresent *[]InputDescriptorSuitableCredentials `json:"credentialsToPresent,omitempty"`
// Pin Pin code needed for pre-authorized credential offers.
// Required when authorization requirement type is `pin`
Pin *string `json:"pin,omitempty"`
}
type InteractionAuthorizationRequirements
InteractionAuthorizationRequirements defines model for InteractionAuthorizationRequirements.
type InteractionAuthorizationRequirements struct {
InteractionId string `json:"interactionId"`
// IssuerDisplay Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
IssuerDisplay *[]IssuerDisplayItem `json:"issuerDisplay,omitempty"`
OfferedCredentialsTypes *[]string `json:"offeredCredentialsTypes,omitempty"`
// PresentationCandidates List of credentials suitable for presentation.
PresentationCandidates *[]InputDescriptorSuitableCredentials `json:"presentationCandidates,omitempty"`
PresentationDefinition *PresentationDefinition `json:"presentationDefinition,omitempty"`
RequirementType InteractionAuthorizationRequirementsRequirementType `json:"requirementType"`
}
type InteractionAuthorizationRequirementsRequirementType
InteractionAuthorizationRequirementsRequirementType defines model for InteractionAuthorizationRequirements.RequirementType.
type InteractionAuthorizationRequirementsRequirementType string
Defines values for InteractionAuthorizationRequirementsRequirementType.
const (
IdToken InteractionAuthorizationRequirementsRequirementType = "id_token"
Pin InteractionAuthorizationRequirementsRequirementType = "pin"
VpToken InteractionAuthorizationRequirementsRequirementType = "vp_token"
)
type InternalServerError
InternalServerError Common error message
type InternalServerError = Error
type IssuanceRequirementsToVerify
IssuanceRequirementsToVerify defines model for IssuanceRequirementsToVerify.
type IssuanceRequirementsToVerify struct {
// CredentialVerifierId ID of the verifier used for the verification of presented credential.
CredentialVerifierId string `json:"credentialVerifierId"`
VerifiedFields []FieldsToVerify `json:"verifiedFields"`
}
type IssuerCredentialTypesListParams
IssuerCredentialTypesListParams defines parameters for IssuerCredentialTypesList.
type IssuerCredentialTypesListParams struct {
Url string `form:"url" json:"url"`
}
type IssuerCredentialTypesListResponse
type IssuerCredentialTypesListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CredentialTypes
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseIssuerCredentialTypesListResponse
func ParseIssuerCredentialTypesListResponse(rsp *http.Response) (*IssuerCredentialTypesListResponse, error)
ParseIssuerCredentialTypesListResponse parses an HTTP response from a IssuerCredentialTypesListWithResponse call
func (IssuerCredentialTypesListResponse) Status
func (r IssuerCredentialTypesListResponse) Status() string
Status returns HTTPResponse.Status
func (IssuerCredentialTypesListResponse) StatusCode
func (r IssuerCredentialTypesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IssuerDisplayItem
IssuerDisplayItem defines model for IssuerDisplayItem.
type IssuerDisplayItem struct {
Locale *string `json:"locale,omitempty"`
Logo *IssuerLogo `json:"logo,omitempty"`
Name *string `json:"name,omitempty"`
}
type IssuerId
IssuerId defines model for IssuerId.
type IssuerId = string
type IssuerInitiateAuthOfferJSONRequestBody
IssuerInitiateAuthOfferJSONRequestBody defines body for IssuerInitiateAuthOffer for application/json ContentType.
type IssuerInitiateAuthOfferJSONRequestBody = InitAuthOffer
type IssuerInitiateAuthOfferParams
IssuerInitiateAuthOfferParams defines parameters for IssuerInitiateAuthOffer.
type IssuerInitiateAuthOfferParams struct {
WalletId string `json:"wallet-id"`
}
type IssuerInitiateAuthOfferResponse
type IssuerInitiateAuthOfferResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AuthOffer
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseIssuerInitiateAuthOfferResponse
func ParseIssuerInitiateAuthOfferResponse(rsp *http.Response) (*IssuerInitiateAuthOfferResponse, error)
ParseIssuerInitiateAuthOfferResponse parses an HTTP response from a IssuerInitiateAuthOfferWithResponse call
func (IssuerInitiateAuthOfferResponse) Status
func (r IssuerInitiateAuthOfferResponse) Status() string
Status returns HTTPResponse.Status
func (IssuerInitiateAuthOfferResponse) StatusCode
func (r IssuerInitiateAuthOfferResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IssuerInitiatePreauthOfferJSONRequestBody
IssuerInitiatePreauthOfferJSONRequestBody defines body for IssuerInitiatePreauthOffer for application/json ContentType.
type IssuerInitiatePreauthOfferJSONRequestBody = InitPreAuthOffer
type IssuerInitiatePreauthOfferParams
IssuerInitiatePreauthOfferParams defines parameters for IssuerInitiatePreauthOffer.
type IssuerInitiatePreauthOfferParams struct {
WalletId string `json:"wallet-id"`
}
type IssuerInitiatePreauthOfferResponse
type IssuerInitiatePreauthOfferResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PreAuthOffer
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseIssuerInitiatePreauthOfferResponse
func ParseIssuerInitiatePreauthOfferResponse(rsp *http.Response) (*IssuerInitiatePreauthOfferResponse, error)
ParseIssuerInitiatePreauthOfferResponse parses an HTTP response from a IssuerInitiatePreauthOfferWithResponse call
func (IssuerInitiatePreauthOfferResponse) Status
func (r IssuerInitiatePreauthOfferResponse) Status() string
Status returns HTTPResponse.Status
func (IssuerInitiatePreauthOfferResponse) StatusCode
func (r IssuerInitiatePreauthOfferResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IssuerLogo
IssuerLogo defines model for IssuerLogo.
type IssuerLogo struct {
AltText *string `json:"alt_text,omitempty"`
Uri *string `json:"uri,omitempty"`
}
type IssuerMeta
IssuerMeta Object containing an `id` property.
type IssuerMeta struct {
Id IssuerId `json:"id"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func (IssuerMeta) Get
func (a IssuerMeta) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for IssuerMeta. Returns the specified element and whether it was found
func (IssuerMeta) MarshalJSON
func (a IssuerMeta) MarshalJSON() ([]byte, error)
Override default JSON handling for IssuerMeta to handle AdditionalProperties
func (*IssuerMeta) Set
func (a *IssuerMeta) Set(fieldName string, value interface{})
Setter for additional properties for IssuerMeta
func (*IssuerMeta) UnmarshalJSON
func (a *IssuerMeta) UnmarshalJSON(b []byte) error
Override default JSON handling for IssuerMeta to handle AdditionalProperties
type LinkedVpCreateRequest
LinkedVpCreateRequest defines model for LinkedVpCreateRequest.
type LinkedVpCreateRequest struct {
CredentialsToPresent []InputDescriptorSuitableCredentials `json:"credentialsToPresent"`
ExpirationDate *time.Time `json:"expirationDate,omitempty"`
PresentationDefinition PresentationDefinition `json:"presentationDefinition"`
}
type LinkedVpList
LinkedVpList defines model for LinkedVpList.
type LinkedVpList = []LinkedVpMetadata
type LinkedVpMetadata
LinkedVpMetadata defines model for LinkedVpMetadata.
type LinkedVpMetadata struct {
LinkedVpId string `json:"linkedVpId"`
LinkedVpUrl string `json:"linkedVpUrl"`
}
type ListSort
ListSort Sort flag controls the sort direction by the time created
type ListSort string
const (
Asc ListSort = "asc"
Desc ListSort = "desc"
)
type NotFoundError
NotFoundError Common error message
type NotFoundError = Error
type OfferReceivedNotification
OfferReceivedNotification defines model for OfferReceivedNotification.
type OfferReceivedNotification struct {
CredentialId *string `json:"credentialId,omitempty"`
CredentialType string `json:"credentialType"`
HolderDid string `json:"holderDid"`
}
type OidcRevision
OidcRevision OIDC specifications are differs drastically from version to version. EBSI needs Draft 11 revision, EUDI uses Release 1.0 revision, so this field should set the revision wallet uses. If omited Draft11 for OIDC4VCI, and Draft16 for OIDC4VP are used for the EBSI compatibility
type OidcRevision struct {
Oidc4vci *OidcRevisionOidc4vci `json:"oidc4vci,omitempty"`
Oidc4vp *OidcRevisionOidc4vp `json:"oidc4vp,omitempty"`
}
type OidcRevisionOidc4vci
OidcRevisionOidc4vci defines model for OidcRevision.Oidc4vci.
type OidcRevisionOidc4vci string
Defines values for OidcRevisionOidc4vci.
const (
Draft11 OidcRevisionOidc4vci = "Draft11"
Draft13 OidcRevisionOidc4vci = "Draft13"
Release10 OidcRevisionOidc4vci = "Release10"
)
type OidcRevisionOidc4vp
OidcRevisionOidc4vp defines model for OidcRevision.Oidc4vp.
type OidcRevisionOidc4vp string
Defines values for OidcRevisionOidc4vp.
const (
Draft16 OidcRevisionOidc4vp = "Draft16"
Draft23 OidcRevisionOidc4vp = "Draft23"
)
type OnboardResult
OnboardResult On successful EBSI-onboarding result contains "did:ebsi" decentralized identifier
type OnboardResult struct {
Did string `json:"did"`
}
type PreAuthOffer
PreAuthOffer Result of the preauthorized issuance process start. Consists of the preauthorized code, pin, and the issuer url.
type PreAuthOffer struct {
IssuerUrl string `json:"issuerUrl"`
Offer string `json:"offer"`
Pin string `json:"pin"`
PreauthCode string `json:"preauthCode"`
ValidUntil time.Time `json:"validUntil"`
}
type PrepareToAccreditRequest
PrepareToAccreditRequest Prepares to accredit legal entity's DID
type PrepareToAccreditRequest struct {
// AccreditedFor Base64 encoded json to be used for the `accreditedFor` property of the credential
AccreditedFor string `json:"accreditedFor"`
Did string `json:"did"`
Type PrepareToAccreditRequestType `json:"type"`
// ValidUntil Specifies when will the accreditation credential expire
ValidUntil time.Time `json:"validUntil"`
}
type PrepareToAccreditRequestType
PrepareToAccreditRequestType defines model for PrepareToAccreditRequest.Type.
type PrepareToAccreditRequestType string
Defines values for PrepareToAccreditRequestType.
const (
PrepareToAccreditRequestTypeTrustedAccreditationOrganisation PrepareToAccreditRequestType = "TrustedAccreditationOrganisation"
PrepareToAccreditRequestTypeTrustedIssuer PrepareToAccreditRequestType = "TrustedIssuer"
)
type PrepareToOnboardRequest
PrepareToOnboardRequest Prepares to onboard legal entity's DID
type PrepareToOnboardRequest struct {
// Did DID which will be onboarded
Did string `json:"did"`
// ValidUntil Specifies when the authorization to onboard credential will expire
ValidUntil time.Time `json:"validUntil"`
}
type PresentationDefinition
PresentationDefinition defines model for PresentationDefinition.
type PresentationDefinition struct {
Format PresentationDefinitionFormat `json:"format"`
Id string `json:"id"`
InputDescriptors []PresentationDefinitionInputDescriptor `json:"input_descriptors"`
SubmissionRequirements *[]PresentationDefinitionSubmissionRequirements `json:"submission_requirements,omitempty"`
}
type PresentationDefinitionFormat
PresentationDefinitionFormat defines model for PresentationDefinitionFormat.
type PresentationDefinitionFormat struct {
JwtVc *PresentationDefinitionFormatAlg `json:"jwt_vc,omitempty"`
JwtVp *PresentationDefinitionFormatAlg `json:"jwt_vp,omitempty"`
MsoMdoc *PresentationDefinitionFormatAlg `json:"mso_mdoc,omitempty"`
}
type PresentationDefinitionFormatAlg
PresentationDefinitionFormatAlg defines model for PresentationDefinitionFormatAlg.
type PresentationDefinitionFormatAlg struct {
Alg []string `json:"alg"`
}
type PresentationDefinitionInputConstraint
PresentationDefinitionInputConstraint defines model for PresentationDefinitionInputConstraint.
type PresentationDefinitionInputConstraint struct {
Fields []PresentationDefinitionInputConstraintField `json:"fields"`
}
type PresentationDefinitionInputConstraintField
PresentationDefinitionInputConstraintField defines model for PresentationDefinitionInputConstraintField.
type PresentationDefinitionInputConstraintField struct {
Filter *map[string]interface{} `json:"filter,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Path []string `json:"path"`
Purpose *string `json:"purpose,omitempty"`
}
type PresentationDefinitionInputDescriptor
PresentationDefinitionInputDescriptor defines model for PresentationDefinitionInputDescriptor.
type PresentationDefinitionInputDescriptor struct {
Constraints PresentationDefinitionInputConstraint `json:"constraints"`
Format *PresentationDefinitionFormat `json:"format,omitempty"`
Group *[]string `json:"group,omitempty"`
Id string `json:"id"`
}
type PresentationDefinitionSubmissionRequirements
PresentationDefinitionSubmissionRequirements defines model for PresentationDefinitionSubmissionRequirements.
type PresentationDefinitionSubmissionRequirements struct {
Count *int `json:"count,omitempty"`
From *string `json:"from,omitempty"`
FromNested *[]PresentationDefinitionSubmissionRequirements `json:"from_nested,omitempty"`
Max *int `json:"max,omitempty"`
Min *int `json:"min,omitempty"`
Name *string `json:"name,omitempty"`
Rule PresentationDefinitionSubmissionRequirementsRule `json:"rule"`
}
type PresentationDefinitionSubmissionRequirementsRule
PresentationDefinitionSubmissionRequirementsRule defines model for PresentationDefinitionSubmissionRequirements.Rule.
type PresentationDefinitionSubmissionRequirementsRule string
Defines values for PresentationDefinitionSubmissionRequirementsRule.
const (
All PresentationDefinitionSubmissionRequirementsRule = "all"
Pick PresentationDefinitionSubmissionRequirementsRule = "pick"
)
type PresentationRequest
PresentationRequest defines model for PresentationRequest.
type PresentationRequest struct {
// VerifierUrl URL of verifier authorization server. MUST contain the verifier scope as a query parameter(`scope`).
VerifierUrl string `json:"verifierUrl"`
}
type Proof
Proof One or more cryptographic proofs that can be used to detect tampering and verify the authorship of a verifiable credential or verifiable presentation https://www.w3.org/TR/vc-data-model-2.0/#securing-verifiable-credentials
type Proof struct {
Created time.Time `json:"created"`
ProofPurpose string `json:"proofPurpose"`
ProofValue *string `json:"proofValue,omitempty"`
Type string `json:"type"`
VerificationMethod string `json:"verificationMethod"`
}
type RefreshService
RefreshService A refresh service is a mechanism that can be utilized by software agents to retrieve an updated copy of a Verifiable Credential https://www.w3.org/TR/vc-data-model-2.0/#defn-refreshService
type RefreshService struct {
// contains filtered or unexported fields
}
func (RefreshService) AsRefreshService1
func (t RefreshService) AsRefreshService1() (RefreshService1, error)
AsRefreshService1 returns the union data inside the RefreshService as a RefreshService1
func (RefreshService) AsRefreshServiceItem
func (t RefreshService) AsRefreshServiceItem() (RefreshServiceItem, error)
AsRefreshServiceItem returns the union data inside the RefreshService as a RefreshServiceItem
func (*RefreshService) FromRefreshService1
func (t *RefreshService) FromRefreshService1(v RefreshService1) error
FromRefreshService1 overwrites any union data inside the RefreshService as the provided RefreshService1
func (*RefreshService) FromRefreshServiceItem
func (t *RefreshService) FromRefreshServiceItem(v RefreshServiceItem) error
FromRefreshServiceItem overwrites any union data inside the RefreshService as the provided RefreshServiceItem
func (RefreshService) MarshalJSON
func (t RefreshService) MarshalJSON() ([]byte, error)
func (*RefreshService) MergeRefreshService1
func (t *RefreshService) MergeRefreshService1(v RefreshService1) error
MergeRefreshService1 performs a merge with any union data inside the RefreshService, using the provided RefreshService1
func (*RefreshService) MergeRefreshServiceItem
func (t *RefreshService) MergeRefreshServiceItem(v RefreshServiceItem) error
MergeRefreshServiceItem performs a merge with any union data inside the RefreshService, using the provided RefreshServiceItem
func (*RefreshService) UnmarshalJSON
func (t *RefreshService) UnmarshalJSON(b []byte) error
type RefreshService1
RefreshService1 defines model for .
type RefreshService1 = []RefreshServiceItem
type RefreshServiceItem
RefreshServiceItem defines model for RefreshServiceItem.
type RefreshServiceItem struct {
// Id The URL of the service
Id string `json:"id"`
Type string `json:"type"`
}
type RequestEditorFn
RequestEditorFn is the function signature for the RequestEditor callback function
type RequestEditorFn func(ctx context.Context, req *http.Request) error
type RevokeAccreditationRequest
RevokeAccreditationRequest Info needed to revoke legal entity's DID
type RevokeAccreditationRequest struct {
Did string `json:"did"`
Type RevokeAccreditationRequestType `json:"type"`
}
type RevokeAccreditationRequestType
RevokeAccreditationRequestType defines model for RevokeAccreditationRequest.Type.
type RevokeAccreditationRequestType string
Defines values for RevokeAccreditationRequestType.
const (
TrustedAccreditationOrganisation RevokeAccreditationRequestType = "TrustedAccreditationOrganisation"
TrustedIssuer RevokeAccreditationRequestType = "TrustedIssuer"
)
type SystemImpact
SystemImpact The subsystem status impact on the overall system
type SystemImpact struct {
Message string `json:"message"`
Status SystemImpactStatus `json:"status"`
Subsystem string `json:"subsystem"`
}
type SystemImpactStatus
SystemImpactStatus defines model for SystemImpact.Status.
type SystemImpactStatus string
Defines values for SystemImpactStatus.
const (
SystemImpactStatusCritical SystemImpactStatus = "critical"
SystemImpactStatusLimited SystemImpactStatus = "limited"
SystemImpactStatusOk SystemImpactStatus = "ok"
)
type TermsOfUse
TermsOfUse Policy under which the creator issued the credential or presentation https://www.w3.org/TR/vc-data-model-2.0/#defn-termsOfUse
type TermsOfUse struct {
Id *string `json:"id,omitempty"`
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func (TermsOfUse) Get
func (a TermsOfUse) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for TermsOfUse. Returns the specified element and whether it was found
func (TermsOfUse) MarshalJSON
func (a TermsOfUse) MarshalJSON() ([]byte, error)
Override default JSON handling for TermsOfUse to handle AdditionalProperties
func (*TermsOfUse) Set
func (a *TermsOfUse) Set(fieldName string, value interface{})
Setter for additional properties for TermsOfUse
func (*TermsOfUse) UnmarshalJSON
func (a *TermsOfUse) UnmarshalJSON(b []byte) error
Override default JSON handling for TermsOfUse to handle AdditionalProperties
type TfAccreditAsJSONRequestBody
TfAccreditAsJSONRequestBody defines body for TfAccreditAs for application/json ContentType.
type TfAccreditAsJSONRequestBody = AccreditationRequest
type TfAccreditAsResponse
type TfAccreditAsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseTfAccreditAsResponse
func ParseTfAccreditAsResponse(rsp *http.Response) (*TfAccreditAsResponse, error)
ParseTfAccreditAsResponse parses an HTTP response from a TfAccreditAsWithResponse call
func (TfAccreditAsResponse) Status
func (r TfAccreditAsResponse) Status() string
Status returns HTTPResponse.Status
func (TfAccreditAsResponse) StatusCode
func (r TfAccreditAsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TfAccreditAsTrustedIssuerResponse
type TfAccreditAsTrustedIssuerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseTfAccreditAsTrustedIssuerResponse
func ParseTfAccreditAsTrustedIssuerResponse(rsp *http.Response) (*TfAccreditAsTrustedIssuerResponse, error)
ParseTfAccreditAsTrustedIssuerResponse parses an HTTP response from a TfAccreditAsTrustedIssuerWithResponse call
func (TfAccreditAsTrustedIssuerResponse) Status
func (r TfAccreditAsTrustedIssuerResponse) Status() string
Status returns HTTPResponse.Status
func (TfAccreditAsTrustedIssuerResponse) StatusCode
func (r TfAccreditAsTrustedIssuerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TfInsertIssuerProxyResponse
type TfInsertIssuerProxyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseTfInsertIssuerProxyResponse
func ParseTfInsertIssuerProxyResponse(rsp *http.Response) (*TfInsertIssuerProxyResponse, error)
ParseTfInsertIssuerProxyResponse parses an HTTP response from a TfInsertIssuerProxyWithResponse call
func (TfInsertIssuerProxyResponse) Status
func (r TfInsertIssuerProxyResponse) Status() string
Status returns HTTPResponse.Status
func (TfInsertIssuerProxyResponse) StatusCode
func (r TfInsertIssuerProxyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TfOnboardLegalEntityResponse
type TfOnboardLegalEntityResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *OnboardResult
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseTfOnboardLegalEntityResponse
func ParseTfOnboardLegalEntityResponse(rsp *http.Response) (*TfOnboardLegalEntityResponse, error)
ParseTfOnboardLegalEntityResponse parses an HTTP response from a TfOnboardLegalEntityWithResponse call
func (TfOnboardLegalEntityResponse) Status
func (r TfOnboardLegalEntityResponse) Status() string
Status returns HTTPResponse.Status
func (TfOnboardLegalEntityResponse) StatusCode
func (r TfOnboardLegalEntityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TfPrepareToAccreditJSONRequestBody
TfPrepareToAccreditJSONRequestBody defines body for TfPrepareToAccredit for application/json ContentType.
type TfPrepareToAccreditJSONRequestBody = PrepareToAccreditRequest
type TfPrepareToAccreditResponse
type TfPrepareToAccreditResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseTfPrepareToAccreditResponse
func ParseTfPrepareToAccreditResponse(rsp *http.Response) (*TfPrepareToAccreditResponse, error)
ParseTfPrepareToAccreditResponse parses an HTTP response from a TfPrepareToAccreditWithResponse call
func (TfPrepareToAccreditResponse) Status
func (r TfPrepareToAccreditResponse) Status() string
Status returns HTTPResponse.Status
func (TfPrepareToAccreditResponse) StatusCode
func (r TfPrepareToAccreditResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TfPrepareToOnboardJSONRequestBody
TfPrepareToOnboardJSONRequestBody defines body for TfPrepareToOnboard for application/json ContentType.
type TfPrepareToOnboardJSONRequestBody = PrepareToOnboardRequest
type TfPrepareToOnboardResponse
type TfPrepareToOnboardResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseTfPrepareToOnboardResponse
func ParseTfPrepareToOnboardResponse(rsp *http.Response) (*TfPrepareToOnboardResponse, error)
ParseTfPrepareToOnboardResponse parses an HTTP response from a TfPrepareToOnboardWithResponse call
func (TfPrepareToOnboardResponse) Status
func (r TfPrepareToOnboardResponse) Status() string
Status returns HTTPResponse.Status
func (TfPrepareToOnboardResponse) StatusCode
func (r TfPrepareToOnboardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TfRevokeAccreditationJSONRequestBody
TfRevokeAccreditationJSONRequestBody defines body for TfRevokeAccreditation for application/json ContentType.
type TfRevokeAccreditationJSONRequestBody = RevokeAccreditationRequest
type TfRevokeAccreditationResponse
type TfRevokeAccreditationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseTfRevokeAccreditationResponse
func ParseTfRevokeAccreditationResponse(rsp *http.Response) (*TfRevokeAccreditationResponse, error)
ParseTfRevokeAccreditationResponse parses an HTTP response from a TfRevokeAccreditationWithResponse call
func (TfRevokeAccreditationResponse) Status
func (r TfRevokeAccreditationResponse) Status() string
Status returns HTTPResponse.Status
func (TfRevokeAccreditationResponse) StatusCode
func (r TfRevokeAccreditationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VPDrivenIssuerConfig
VPDrivenIssuerConfig defines model for VPDrivenIssuerConfig.
type VPDrivenIssuerConfig struct {
// CredentialVerifierId ID of the verifier used for verification of presented credential.
CredentialVerifierId string `json:"credentialVerifierId"`
// Mapping Mapping of the input values set as JSONPath elements to the output credential claims.
Mapping *map[string]interface{} `json:"mapping,omitempty"`
}
type VcOffer
VcOffer The offer to be accepted. The offer URL is mandatory.
type VcOffer struct {
Url string `json:"Url"`
}
type VerifiedLinkedVp
VerifiedLinkedVp defines model for VerifiedLinkedVp.
type VerifiedLinkedVp struct {
Credentials []Credential `json:"credentials"`
LinkedVpId string `json:"linkedVpId"`
}
type VerifiedWrapper
VerifiedWrapper Wrapped result of successful verification interaction.
type VerifiedWrapper struct {
Credentials []Credential `json:"credentials"`
// Vp The Verifiable Presentation that was presented during the interaction.
Vp string `json:"vp"`
}
type VerifierInitUrlCreateJSONRequestBody
VerifierInitUrlCreateJSONRequestBody defines body for VerifierInitUrlCreate for application/json ContentType.
type VerifierInitUrlCreateJSONRequestBody = VerifyInitRequest
type VerifierInitUrlCreateParams
VerifierInitUrlCreateParams defines parameters for VerifierInitUrlCreate.
type VerifierInitUrlCreateParams struct {
WalletId string `json:"wallet-id"`
}
type VerifierInitUrlCreateResponse
type VerifierInitUrlCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *VerifyInitResponse
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseVerifierInitUrlCreateResponse
func ParseVerifierInitUrlCreateResponse(rsp *http.Response) (*VerifierInitUrlCreateResponse, error)
ParseVerifierInitUrlCreateResponse parses an HTTP response from a VerifierInitUrlCreateWithResponse call
func (VerifierInitUrlCreateResponse) Status
func (r VerifierInitUrlCreateResponse) Status() string
Status returns HTTPResponse.Status
func (VerifierInitUrlCreateResponse) StatusCode
func (r VerifierInitUrlCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VerifierLinkedVpVerifyParams
VerifierLinkedVpVerifyParams defines parameters for VerifierLinkedVpVerify.
type VerifierLinkedVpVerifyParams struct {
Did string `form:"did" json:"did"`
WalletId string `json:"wallet-id"`
}
type VerifierLinkedVpVerifyResponse
type VerifierLinkedVpVerifyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]VerifiedLinkedVp
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseVerifierLinkedVpVerifyResponse
func ParseVerifierLinkedVpVerifyResponse(rsp *http.Response) (*VerifierLinkedVpVerifyResponse, error)
ParseVerifierLinkedVpVerifyResponse parses an HTTP response from a VerifierLinkedVpVerifyWithResponse call
func (VerifierLinkedVpVerifyResponse) Status
func (r VerifierLinkedVpVerifyResponse) Status() string
Status returns HTTPResponse.Status
func (VerifierLinkedVpVerifyResponse) StatusCode
func (r VerifierLinkedVpVerifyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VerifyInitRequest
VerifyInitRequest Request for the creation of URL used by holder to present credentials to a verifier.
type VerifyInitRequest struct {
VerifierId string `json:"verifierId"`
}
type VerifyInitResponse
VerifyInitResponse defines model for VerifyInitResponse.
type VerifyInitResponse struct {
// VerifierState A code that can be used to match the verified credential for later use.
VerifierState string `json:"verifierState"`
// VerifierUrl Url of verifier authorization server that contains the requested verifier scope.
VerifierUrl string `json:"verifierUrl"`
}
type VpVerifiedNotification
VpVerifiedNotification defines model for VpVerifiedNotification.
type VpVerifiedNotification struct {
VerifierId string `json:"verifierId"`
}
type Wallet
Wallet Wallet details
type Wallet struct {
// Capabilities This property defines the capabilities which the wallet has. It may be any of "holder", "issuer" and "verifier".
Capabilities *[]WalletCapability `json:"capabilities,omitempty"`
// Config Wallet specific configuration.
Config WalletConfig `json:"config"`
Name string `json:"name"`
WalletId *WalletId `json:"walletId,omitempty"`
}
type WalletCapability
WalletCapability Defines the capabilities which the wallet has. It may be any of "holder", "issuer" and "verifier".
type WalletCapability string
Defines values for WalletCapability.
const (
Holder WalletCapability = "holder"
Issuer WalletCapability = "issuer"
Verifier WalletCapability = "verifier"
)
type WalletConfig
WalletConfig Wallet specific configuration.
type WalletConfig struct {
// EBSI EBSI specific data
EBSI *EbsiSpecificWalletData `json:"EBSI,omitempty"`
// CredentialIssuers List of credential issuers to be used with credentials of a specific type during their issuance.
CredentialIssuers *[]CredentialIssuerDefinition `json:"credentialIssuers,omitempty"`
// CredentialVerifiers List of verification definitions that the wallet will be able to use for verification process.
CredentialVerifiers *[]CredentialVerifierDefinition `json:"credentialVerifiers,omitempty"`
// OidcRevision OIDC specifications are differs drastically from version to version. EBSI needs Draft 11 revision, EUDI uses
// Release 1.0 revision, so this field should set the revision wallet uses. If omited Draft11 for OIDC4VCI, and
// Draft16 for OIDC4VP are used for the EBSI compatibility
OidcRevision *OidcRevision `json:"oidcRevision,omitempty"`
// TrustFramework What trust framework should we use with this wallet. This property COULD NOT change later.
// Supported frameworks: EBSI - the European Blockchain Services Infrastructure, TTS - Triveria Trust Service,
// Noop - did:key based no-op trust framework (mainly for the personal use)
TrustFramework WalletConfigTrustFramework `json:"trustFramework"`
}
type WalletConfigTrustFramework
WalletConfigTrustFramework What trust framework should we use with this wallet. This property COULD NOT change later. Supported frameworks: EBSI - the European Blockchain Services Infrastructure, TTS - Triveria Trust Service, Noop - did:key based no-op trust framework (mainly for the personal use)
type WalletConfigTrustFramework string
Defines values for WalletConfigTrustFramework.
const (
EBSI WalletConfigTrustFramework = "EBSI"
NOOP WalletConfigTrustFramework = "NOOP"
TTS WalletConfigTrustFramework = "TTS"
)
type WalletCreateJSONRequestBody
WalletCreateJSONRequestBody defines body for WalletCreate for application/json ContentType.
type WalletCreateJSONRequestBody = Wallet
type WalletCreateResponse
type WalletCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WalletIdObject
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseWalletCreateResponse
func ParseWalletCreateResponse(rsp *http.Response) (*WalletCreateResponse, error)
ParseWalletCreateResponse parses an HTTP response from a WalletCreateWithResponse call
func (WalletCreateResponse) Status
func (r WalletCreateResponse) Status() string
Status returns HTTPResponse.Status
func (WalletCreateResponse) StatusCode
func (r WalletCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletDeleteResponse
type WalletDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseWalletDeleteResponse
func ParseWalletDeleteResponse(rsp *http.Response) (*WalletDeleteResponse, error)
ParseWalletDeleteResponse parses an HTTP response from a WalletDeleteWithResponse call
func (WalletDeleteResponse) Status
func (r WalletDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (WalletDeleteResponse) StatusCode
func (r WalletDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletGetResponse
type WalletGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Wallet
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseWalletGetResponse
func ParseWalletGetResponse(rsp *http.Response) (*WalletGetResponse, error)
ParseWalletGetResponse parses an HTTP response from a WalletGetWithResponse call
func (WalletGetResponse) Status
func (r WalletGetResponse) Status() string
Status returns HTTPResponse.Status
func (WalletGetResponse) StatusCode
func (r WalletGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletId
WalletId defines model for WalletId.
type WalletId = string
type WalletIdObject
WalletIdObject defines model for WalletIdObject.
type WalletIdObject struct {
Id WalletId `json:"id"`
}
type WalletKeys
WalletKeys Wallet keys used for signing
type WalletKeys map[string]interface{}
type WalletKeysResponse
type WalletKeysResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WalletKeys
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseWalletKeysResponse
func ParseWalletKeysResponse(rsp *http.Response) (*WalletKeysResponse, error)
ParseWalletKeysResponse parses an HTTP response from a WalletKeysWithResponse call
func (WalletKeysResponse) Status
func (r WalletKeysResponse) Status() string
Status returns HTTPResponse.Status
func (WalletKeysResponse) StatusCode
func (r WalletKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletList
WalletList defines model for WalletList.
type WalletList = []WalletListItem
type WalletListItem
WalletListItem defines model for WalletListItem.
type WalletListItem struct {
Capabilities []WalletCapability `json:"capabilities"`
Name string `json:"name"`
WalletId WalletId `json:"walletId"`
}
type WalletListParams
WalletListParams defines parameters for WalletList.
type WalletListParams struct {
OwnerId *string `form:"ownerId,omitempty" json:"ownerId,omitempty"`
}
type WalletListResponse
type WalletListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WalletList
JSON400 *BadRequestError
JSON500 *InternalServerError
}
func ParseWalletListResponse
func ParseWalletListResponse(rsp *http.Response) (*WalletListResponse, error)
ParseWalletListResponse parses an HTTP response from a WalletListWithResponse call
func (WalletListResponse) Status
func (r WalletListResponse) Status() string
Status returns HTTPResponse.Status
func (WalletListResponse) StatusCode
func (r WalletListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletNotification
WalletNotification defines model for WalletNotification.
type WalletNotification struct {
EventDetails *WalletNotification_EventDetails `json:"eventDetails,omitempty"`
EventType WalletNotificationEventType `json:"eventType"`
SubjectDid string `json:"subjectDid"`
Time time.Time `json:"time"`
}
type WalletNotificationEventType
WalletNotificationEventType defines model for WalletNotificationEventType.
type WalletNotificationEventType string
Defines values for WalletNotificationEventType.
const (
IdTokenReceived WalletNotificationEventType = "idToken.received"
OfferInitiated WalletNotificationEventType = "offer.initiated"
OfferProcessed WalletNotificationEventType = "offer.processed"
VpInvalid WalletNotificationEventType = "vp.invalid"
VpVerified WalletNotificationEventType = "vp.verified"
)
type WalletNotificationGetByStateResponse
type WalletNotificationGetByStateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WalletNotification
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseWalletNotificationGetByStateResponse
func ParseWalletNotificationGetByStateResponse(rsp *http.Response) (*WalletNotificationGetByStateResponse, error)
ParseWalletNotificationGetByStateResponse parses an HTTP response from a WalletNotificationGetByStateWithResponse call
func (WalletNotificationGetByStateResponse) Status
func (r WalletNotificationGetByStateResponse) Status() string
Status returns HTTPResponse.Status
func (WalletNotificationGetByStateResponse) StatusCode
func (r WalletNotificationGetByStateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletNotificationHistory
WalletNotificationHistory defines model for WalletNotificationHistory.
type WalletNotificationHistory struct {
List WalletNotificationList `json:"list"`
Next string `json:"next"`
}
type WalletNotificationHistoryParams
WalletNotificationHistoryParams defines parameters for WalletNotificationHistory.
type WalletNotificationHistoryParams struct {
// Limit The number of items
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// NextMarker Marking the next set of items
NextMarker *string `form:"nextMarker,omitempty" json:"nextMarker,omitempty"`
// Type Notification types
Type *[]WalletNotificationEventType `form:"type,omitempty" json:"type,omitempty"`
// Sort Sort flag controls the sort direction by the time created
Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"`
}
type WalletNotificationHistoryResponse
type WalletNotificationHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WalletNotificationHistory
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseWalletNotificationHistoryResponse
func ParseWalletNotificationHistoryResponse(rsp *http.Response) (*WalletNotificationHistoryResponse, error)
ParseWalletNotificationHistoryResponse parses an HTTP response from a WalletNotificationHistoryWithResponse call
func (WalletNotificationHistoryResponse) Status
func (r WalletNotificationHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (WalletNotificationHistoryResponse) StatusCode
func (r WalletNotificationHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletNotificationList
WalletNotificationList defines model for WalletNotificationList.
type WalletNotificationList = []WalletNotification
type WalletNotification_EventDetails
WalletNotification_EventDetails defines model for WalletNotification.EventDetails.
type WalletNotification_EventDetails struct {
// contains filtered or unexported fields
}
func (WalletNotification_EventDetails) AsIdTokenReceivedNotification
func (t WalletNotification_EventDetails) AsIdTokenReceivedNotification() (IdTokenReceivedNotification, error)
AsIdTokenReceivedNotification returns the union data inside the WalletNotification_EventDetails as a IdTokenReceivedNotification
func (WalletNotification_EventDetails) AsOfferReceivedNotification
func (t WalletNotification_EventDetails) AsOfferReceivedNotification() (OfferReceivedNotification, error)
AsOfferReceivedNotification returns the union data inside the WalletNotification_EventDetails as a OfferReceivedNotification
func (WalletNotification_EventDetails) AsVpVerifiedNotification
func (t WalletNotification_EventDetails) AsVpVerifiedNotification() (VpVerifiedNotification, error)
AsVpVerifiedNotification returns the union data inside the WalletNotification_EventDetails as a VpVerifiedNotification
func (*WalletNotification_EventDetails) FromIdTokenReceivedNotification
func (t *WalletNotification_EventDetails) FromIdTokenReceivedNotification(v IdTokenReceivedNotification) error
FromIdTokenReceivedNotification overwrites any union data inside the WalletNotification_EventDetails as the provided IdTokenReceivedNotification
func (*WalletNotification_EventDetails) FromOfferReceivedNotification
func (t *WalletNotification_EventDetails) FromOfferReceivedNotification(v OfferReceivedNotification) error
FromOfferReceivedNotification overwrites any union data inside the WalletNotification_EventDetails as the provided OfferReceivedNotification
func (*WalletNotification_EventDetails) FromVpVerifiedNotification
func (t *WalletNotification_EventDetails) FromVpVerifiedNotification(v VpVerifiedNotification) error
FromVpVerifiedNotification overwrites any union data inside the WalletNotification_EventDetails as the provided VpVerifiedNotification
func (WalletNotification_EventDetails) MarshalJSON
func (t WalletNotification_EventDetails) MarshalJSON() ([]byte, error)
func (*WalletNotification_EventDetails) MergeIdTokenReceivedNotification
func (t *WalletNotification_EventDetails) MergeIdTokenReceivedNotification(v IdTokenReceivedNotification) error
MergeIdTokenReceivedNotification performs a merge with any union data inside the WalletNotification_EventDetails, using the provided IdTokenReceivedNotification
func (*WalletNotification_EventDetails) MergeOfferReceivedNotification
func (t *WalletNotification_EventDetails) MergeOfferReceivedNotification(v OfferReceivedNotification) error
MergeOfferReceivedNotification performs a merge with any union data inside the WalletNotification_EventDetails, using the provided OfferReceivedNotification
func (*WalletNotification_EventDetails) MergeVpVerifiedNotification
func (t *WalletNotification_EventDetails) MergeVpVerifiedNotification(v VpVerifiedNotification) error
MergeVpVerifiedNotification performs a merge with any union data inside the WalletNotification_EventDetails, using the provided VpVerifiedNotification
func (*WalletNotification_EventDetails) UnmarshalJSON
func (t *WalletNotification_EventDetails) UnmarshalJSON(b []byte) error
type WalletNotificationsResponse
type WalletNotificationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WalletNotificationList
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseWalletNotificationsResponse
func ParseWalletNotificationsResponse(rsp *http.Response) (*WalletNotificationsResponse, error)
ParseWalletNotificationsResponse parses an HTTP response from a WalletNotificationsWithResponse call
func (WalletNotificationsResponse) Status
func (r WalletNotificationsResponse) Status() string
Status returns HTTPResponse.Status
func (WalletNotificationsResponse) StatusCode
func (r WalletNotificationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletPatchJSONRequestBody
WalletPatchJSONRequestBody defines body for WalletPatch for application/json ContentType.
type WalletPatchJSONRequestBody = Wallet
type WalletPatchResponse
type WalletPatchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WalletIdObject
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseWalletPatchResponse
func ParseWalletPatchResponse(rsp *http.Response) (*WalletPatchResponse, error)
ParseWalletPatchResponse parses an HTTP response from a WalletPatchWithResponse call
func (WalletPatchResponse) Status
func (r WalletPatchResponse) Status() string
Status returns HTTPResponse.Status
func (WalletPatchResponse) StatusCode
func (r WalletPatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletVerifiedCredentialsByStateResponse
type WalletVerifiedCredentialsByStateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *VerifiedWrapper
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseWalletVerifiedCredentialsByStateResponse
func ParseWalletVerifiedCredentialsByStateResponse(rsp *http.Response) (*WalletVerifiedCredentialsByStateResponse, error)
ParseWalletVerifiedCredentialsByStateResponse parses an HTTP response from a WalletVerifiedCredentialsByStateWithResponse call
func (WalletVerifiedCredentialsByStateResponse) Status
func (r WalletVerifiedCredentialsByStateResponse) Status() string
Status returns HTTPResponse.Status
func (WalletVerifiedCredentialsByStateResponse) StatusCode
func (r WalletVerifiedCredentialsByStateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletVerifiedCredentialsDeleteByStateResponse
type WalletVerifiedCredentialsDeleteByStateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON404 *NotFoundError
JSON500 *InternalServerError
}
func ParseWalletVerifiedCredentialsDeleteByStateResponse
func ParseWalletVerifiedCredentialsDeleteByStateResponse(rsp *http.Response) (*WalletVerifiedCredentialsDeleteByStateResponse, error)
ParseWalletVerifiedCredentialsDeleteByStateResponse parses an HTTP response from a WalletVerifiedCredentialsDeleteByStateWithResponse call
func (WalletVerifiedCredentialsDeleteByStateResponse) Status
func (r WalletVerifiedCredentialsDeleteByStateResponse) Status() string
Status returns HTTPResponse.Status
func (WalletVerifiedCredentialsDeleteByStateResponse) StatusCode
func (r WalletVerifiedCredentialsDeleteByStateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
Generated by gomarkdoc