wallet

package
v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UniversalWallet_GetItem_FullMethodName                       = "/services.universalwallet.v1.UniversalWallet/GetItem"
	UniversalWallet_Search_FullMethodName                        = "/services.universalwallet.v1.UniversalWallet/Search"
	UniversalWallet_InsertItem_FullMethodName                    = "/services.universalwallet.v1.UniversalWallet/InsertItem"
	UniversalWallet_UpdateItem_FullMethodName                    = "/services.universalwallet.v1.UniversalWallet/UpdateItem"
	UniversalWallet_DeleteItem_FullMethodName                    = "/services.universalwallet.v1.UniversalWallet/DeleteItem"
	UniversalWallet_DeleteWallet_FullMethodName                  = "/services.universalwallet.v1.UniversalWallet/DeleteWallet"
	UniversalWallet_CreateWallet_FullMethodName                  = "/services.universalwallet.v1.UniversalWallet/CreateWallet"
	UniversalWallet_GetWalletInfo_FullMethodName                 = "/services.universalwallet.v1.UniversalWallet/GetWalletInfo"
	UniversalWallet_GetMyInfo_FullMethodName                     = "/services.universalwallet.v1.UniversalWallet/GetMyInfo"
	UniversalWallet_GetWalletFromExternalIdentity_FullMethodName = "/services.universalwallet.v1.UniversalWallet/GetWalletFromExternalIdentity"
	UniversalWallet_GenerateAuthToken_FullMethodName             = "/services.universalwallet.v1.UniversalWallet/GenerateAuthToken"
	UniversalWallet_RevokeAuthToken_FullMethodName               = "/services.universalwallet.v1.UniversalWallet/RevokeAuthToken"
	UniversalWallet_AddExternalIdentityInit_FullMethodName       = "/services.universalwallet.v1.UniversalWallet/AddExternalIdentityInit"
	UniversalWallet_AddExternalIdentityConfirm_FullMethodName    = "/services.universalwallet.v1.UniversalWallet/AddExternalIdentityConfirm"
	UniversalWallet_RemoveExternalIdentity_FullMethodName        = "/services.universalwallet.v1.UniversalWallet/RemoveExternalIdentity"
	UniversalWallet_AuthenticateInit_FullMethodName              = "/services.universalwallet.v1.UniversalWallet/AuthenticateInit"
	UniversalWallet_AuthenticateConfirm_FullMethodName           = "/services.universalwallet.v1.UniversalWallet/AuthenticateConfirm"
	UniversalWallet_AuthenticateResendCode_FullMethodName        = "/services.universalwallet.v1.UniversalWallet/AuthenticateResendCode"
	UniversalWallet_ListWallets_FullMethodName                   = "/services.universalwallet.v1.UniversalWallet/ListWallets"
	UniversalWallet_ListByVerificationTemplate_FullMethodName    = "/services.universalwallet.v1.UniversalWallet/ListByVerificationTemplate"
)

Variables

View Source
var File_services_universal_wallet_v1_universal_wallet_proto protoreflect.FileDescriptor
View Source
var UniversalWallet_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.universalwallet.v1.UniversalWallet",
	HandlerType: (*UniversalWalletServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetItem",
			Handler:    _UniversalWallet_GetItem_Handler,
		},
		{
			MethodName: "Search",
			Handler:    _UniversalWallet_Search_Handler,
		},
		{
			MethodName: "InsertItem",
			Handler:    _UniversalWallet_InsertItem_Handler,
		},
		{
			MethodName: "UpdateItem",
			Handler:    _UniversalWallet_UpdateItem_Handler,
		},
		{
			MethodName: "DeleteItem",
			Handler:    _UniversalWallet_DeleteItem_Handler,
		},
		{
			MethodName: "DeleteWallet",
			Handler:    _UniversalWallet_DeleteWallet_Handler,
		},
		{
			MethodName: "CreateWallet",
			Handler:    _UniversalWallet_CreateWallet_Handler,
		},
		{
			MethodName: "GetWalletInfo",
			Handler:    _UniversalWallet_GetWalletInfo_Handler,
		},
		{
			MethodName: "GetMyInfo",
			Handler:    _UniversalWallet_GetMyInfo_Handler,
		},
		{
			MethodName: "GetWalletFromExternalIdentity",
			Handler:    _UniversalWallet_GetWalletFromExternalIdentity_Handler,
		},
		{
			MethodName: "GenerateAuthToken",
			Handler:    _UniversalWallet_GenerateAuthToken_Handler,
		},
		{
			MethodName: "RevokeAuthToken",
			Handler:    _UniversalWallet_RevokeAuthToken_Handler,
		},
		{
			MethodName: "AddExternalIdentityInit",
			Handler:    _UniversalWallet_AddExternalIdentityInit_Handler,
		},
		{
			MethodName: "AddExternalIdentityConfirm",
			Handler:    _UniversalWallet_AddExternalIdentityConfirm_Handler,
		},
		{
			MethodName: "RemoveExternalIdentity",
			Handler:    _UniversalWallet_RemoveExternalIdentity_Handler,
		},
		{
			MethodName: "AuthenticateInit",
			Handler:    _UniversalWallet_AuthenticateInit_Handler,
		},
		{
			MethodName: "AuthenticateConfirm",
			Handler:    _UniversalWallet_AuthenticateConfirm_Handler,
		},
		{
			MethodName: "AuthenticateResendCode",
			Handler:    _UniversalWallet_AuthenticateResendCode_Handler,
		},
		{
			MethodName: "ListWallets",
			Handler:    _UniversalWallet_ListWallets_Handler,
		},
		{
			MethodName: "ListByVerificationTemplate",
			Handler:    _UniversalWallet_ListByVerificationTemplate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/universal-wallet/v1/universal-wallet.proto",
}

UniversalWallet_ServiceDesc is the grpc.ServiceDesc for UniversalWallet service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterUniversalWalletServer

func RegisterUniversalWalletServer(s grpc.ServiceRegistrar, srv UniversalWalletServer)

Types

type AddExternalIdentityConfirmRequest added in v1.11.0

type AddExternalIdentityConfirmRequest struct {

	// The challenge received from the `AddExternalIdentityInit` endpoint
	Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
	// The response to the challenge. If using Email or Phone,
	// this is the OTP code sent to the user's email or phone
	Response string `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*AddExternalIdentityConfirmRequest) Descriptor deprecated added in v1.11.0

func (*AddExternalIdentityConfirmRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddExternalIdentityConfirmRequest.ProtoReflect.Descriptor instead.

func (*AddExternalIdentityConfirmRequest) GetChallenge added in v1.11.0

func (x *AddExternalIdentityConfirmRequest) GetChallenge() string

func (*AddExternalIdentityConfirmRequest) GetResponse added in v1.11.0

func (x *AddExternalIdentityConfirmRequest) GetResponse() string

func (*AddExternalIdentityConfirmRequest) ProtoMessage added in v1.11.0

func (*AddExternalIdentityConfirmRequest) ProtoMessage()

func (*AddExternalIdentityConfirmRequest) ProtoReflect added in v1.11.0

func (*AddExternalIdentityConfirmRequest) Reset added in v1.11.0

func (*AddExternalIdentityConfirmRequest) String added in v1.11.0

type AddExternalIdentityConfirmResponse added in v1.11.0

type AddExternalIdentityConfirmResponse struct {
	// contains filtered or unexported fields
}

func (*AddExternalIdentityConfirmResponse) Descriptor deprecated added in v1.11.0

func (*AddExternalIdentityConfirmResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddExternalIdentityConfirmResponse.ProtoReflect.Descriptor instead.

func (*AddExternalIdentityConfirmResponse) ProtoMessage added in v1.11.0

func (*AddExternalIdentityConfirmResponse) ProtoMessage()

func (*AddExternalIdentityConfirmResponse) ProtoReflect added in v1.11.0

func (*AddExternalIdentityConfirmResponse) Reset added in v1.11.0

func (*AddExternalIdentityConfirmResponse) String added in v1.11.0

type AddExternalIdentityInitRequest added in v1.11.0

type AddExternalIdentityInitRequest struct {

	// The user identity to add to the wallet
	// This can be an email address or phone number (formatted as +[country code][phone number])
	Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// The type of identity provider, like EMAIL or PHONE
	Provider provider.IdentityProvider `protobuf:"varint,2,opt,name=provider,proto3,enum=services.provider.v1.IdentityProvider" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*AddExternalIdentityInitRequest) Descriptor deprecated added in v1.11.0

func (*AddExternalIdentityInitRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddExternalIdentityInitRequest.ProtoReflect.Descriptor instead.

func (*AddExternalIdentityInitRequest) GetIdentity added in v1.11.0

func (x *AddExternalIdentityInitRequest) GetIdentity() string

func (*AddExternalIdentityInitRequest) GetProvider added in v1.11.0

func (*AddExternalIdentityInitRequest) ProtoMessage added in v1.11.0

func (*AddExternalIdentityInitRequest) ProtoMessage()

func (*AddExternalIdentityInitRequest) ProtoReflect added in v1.11.0

func (*AddExternalIdentityInitRequest) Reset added in v1.11.0

func (x *AddExternalIdentityInitRequest) Reset()

func (*AddExternalIdentityInitRequest) String added in v1.11.0

type AddExternalIdentityInitResponse added in v1.11.0

type AddExternalIdentityInitResponse struct {

	// Challenge or reference to the challenge to be used in the `AddExternalIdentityConfirm` endpoint
	Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
	// contains filtered or unexported fields
}

func (*AddExternalIdentityInitResponse) Descriptor deprecated added in v1.11.0

func (*AddExternalIdentityInitResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddExternalIdentityInitResponse.ProtoReflect.Descriptor instead.

func (*AddExternalIdentityInitResponse) GetChallenge added in v1.11.0

func (x *AddExternalIdentityInitResponse) GetChallenge() string

func (*AddExternalIdentityInitResponse) ProtoMessage added in v1.11.0

func (*AddExternalIdentityInitResponse) ProtoMessage()

func (*AddExternalIdentityInitResponse) ProtoReflect added in v1.11.0

func (*AddExternalIdentityInitResponse) Reset added in v1.11.0

func (*AddExternalIdentityInitResponse) String added in v1.11.0

type AuthenticateConfirmRequest added in v1.11.0

type AuthenticateConfirmRequest struct {

	// The challenge received from the `AcquireAuthTokenInit` endpoint
	Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
	// The response to the challenge. If using Email or Phone,
	// this is the OTP code sent to the user's email or phone
	Response string `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateConfirmRequest) Descriptor deprecated added in v1.11.0

func (*AuthenticateConfirmRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateConfirmRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateConfirmRequest) GetChallenge added in v1.11.0

func (x *AuthenticateConfirmRequest) GetChallenge() string

func (*AuthenticateConfirmRequest) GetResponse added in v1.11.0

func (x *AuthenticateConfirmRequest) GetResponse() string

func (*AuthenticateConfirmRequest) ProtoMessage added in v1.11.0

func (*AuthenticateConfirmRequest) ProtoMessage()

func (*AuthenticateConfirmRequest) ProtoReflect added in v1.11.0

func (*AuthenticateConfirmRequest) Reset added in v1.11.0

func (x *AuthenticateConfirmRequest) Reset()

func (*AuthenticateConfirmRequest) String added in v1.11.0

func (x *AuthenticateConfirmRequest) String() string

type AuthenticateConfirmResponse added in v1.11.0

type AuthenticateConfirmResponse struct {

	// Auth token for the wallet
	AuthToken string `protobuf:"bytes,1,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateConfirmResponse) Descriptor deprecated added in v1.11.0

func (*AuthenticateConfirmResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateConfirmResponse.ProtoReflect.Descriptor instead.

func (*AuthenticateConfirmResponse) GetAuthToken added in v1.11.0

func (x *AuthenticateConfirmResponse) GetAuthToken() string

func (*AuthenticateConfirmResponse) ProtoMessage added in v1.11.0

func (*AuthenticateConfirmResponse) ProtoMessage()

func (*AuthenticateConfirmResponse) ProtoReflect added in v1.11.0

func (*AuthenticateConfirmResponse) Reset added in v1.11.0

func (x *AuthenticateConfirmResponse) Reset()

func (*AuthenticateConfirmResponse) String added in v1.11.0

func (x *AuthenticateConfirmResponse) String() string

type AuthenticateInitRequest added in v1.11.0

type AuthenticateInitRequest struct {

	// Identity to add to the wallet
	Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// Identity provider
	Provider provider.IdentityProvider `protobuf:"varint,2,opt,name=provider,proto3,enum=services.provider.v1.IdentityProvider" json:"provider,omitempty"`
	// Ecosystem ID to which the wallet belongs
	EcosystemId string `protobuf:"bytes,3,opt,name=ecosystem_id,json=ecosystemId,proto3" json:"ecosystem_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateInitRequest) Descriptor deprecated added in v1.11.0

func (*AuthenticateInitRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateInitRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateInitRequest) GetEcosystemId added in v1.11.0

func (x *AuthenticateInitRequest) GetEcosystemId() string

func (*AuthenticateInitRequest) GetIdentity added in v1.11.0

func (x *AuthenticateInitRequest) GetIdentity() string

func (*AuthenticateInitRequest) GetProvider added in v1.11.0

func (*AuthenticateInitRequest) ProtoMessage added in v1.11.0

func (*AuthenticateInitRequest) ProtoMessage()

func (*AuthenticateInitRequest) ProtoReflect added in v1.11.0

func (x *AuthenticateInitRequest) ProtoReflect() protoreflect.Message

func (*AuthenticateInitRequest) Reset added in v1.11.0

func (x *AuthenticateInitRequest) Reset()

func (*AuthenticateInitRequest) String added in v1.11.0

func (x *AuthenticateInitRequest) String() string

type AuthenticateInitResponse added in v1.11.0

type AuthenticateInitResponse struct {

	// The challenge received from the `AcquireAuthTokenInit` endpoint
	// Pass this challenge back to the `AcquireAuthTokenConfirm` endpoint
	Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateInitResponse) Descriptor deprecated added in v1.11.0

func (*AuthenticateInitResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateInitResponse.ProtoReflect.Descriptor instead.

func (*AuthenticateInitResponse) GetChallenge added in v1.11.0

func (x *AuthenticateInitResponse) GetChallenge() string

func (*AuthenticateInitResponse) ProtoMessage added in v1.11.0

func (*AuthenticateInitResponse) ProtoMessage()

func (*AuthenticateInitResponse) ProtoReflect added in v1.11.0

func (x *AuthenticateInitResponse) ProtoReflect() protoreflect.Message

func (*AuthenticateInitResponse) Reset added in v1.11.0

func (x *AuthenticateInitResponse) Reset()

func (*AuthenticateInitResponse) String added in v1.11.0

func (x *AuthenticateInitResponse) String() string

type AuthenticateResendCodeRequest added in v1.11.8

type AuthenticateResendCodeRequest struct {

	// Challenge for the code you want resent.
	Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateResendCodeRequest) Descriptor deprecated added in v1.11.8

func (*AuthenticateResendCodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateResendCodeRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateResendCodeRequest) GetChallenge added in v1.11.8

func (x *AuthenticateResendCodeRequest) GetChallenge() string

func (*AuthenticateResendCodeRequest) ProtoMessage added in v1.11.8

func (*AuthenticateResendCodeRequest) ProtoMessage()

func (*AuthenticateResendCodeRequest) ProtoReflect added in v1.11.8

func (*AuthenticateResendCodeRequest) Reset added in v1.11.8

func (x *AuthenticateResendCodeRequest) Reset()

func (*AuthenticateResendCodeRequest) String added in v1.11.8

type AuthenticateResendCodeResponse added in v1.11.8

type AuthenticateResendCodeResponse struct {
	// contains filtered or unexported fields
}

func (*AuthenticateResendCodeResponse) Descriptor deprecated added in v1.11.8

func (*AuthenticateResendCodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateResendCodeResponse.ProtoReflect.Descriptor instead.

func (*AuthenticateResendCodeResponse) ProtoMessage added in v1.11.8

func (*AuthenticateResendCodeResponse) ProtoMessage()

func (*AuthenticateResendCodeResponse) ProtoReflect added in v1.11.8

func (*AuthenticateResendCodeResponse) Reset added in v1.11.8

func (x *AuthenticateResendCodeResponse) Reset()

func (*AuthenticateResendCodeResponse) String added in v1.11.8

type CreateWalletRequest added in v1.11.0

type CreateWalletRequest struct {

	// Ecosystem ID of the wallet to create
	EcosystemId string `protobuf:"bytes,1,opt,name=ecosystem_id,json=ecosystemId,proto3" json:"ecosystem_id,omitempty"`
	// Wallet name or description.
	// Use this field to add vendor specific information about this wallet,
	// such as email, phone, internal ID, or anything you'd like to associate
	// with this wallet. This field is searchable.
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Optional identity to add to the wallet (email or sms).
	// Use this field when inviting participants into an ecosystem.
	// If this field is set, an auth token will not be sent in the response.
	Identity *CreateWalletRequest_ExternalIdentity `protobuf:"bytes,3,opt,name=identity,proto3,oneof" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWalletRequest) Descriptor deprecated added in v1.11.0

func (*CreateWalletRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateWalletRequest.ProtoReflect.Descriptor instead.

func (*CreateWalletRequest) GetDescription added in v1.11.0

func (x *CreateWalletRequest) GetDescription() string

func (*CreateWalletRequest) GetEcosystemId added in v1.11.0

func (x *CreateWalletRequest) GetEcosystemId() string

func (*CreateWalletRequest) GetIdentity added in v1.11.8

func (*CreateWalletRequest) ProtoMessage added in v1.11.0

func (*CreateWalletRequest) ProtoMessage()

func (*CreateWalletRequest) ProtoReflect added in v1.11.0

func (x *CreateWalletRequest) ProtoReflect() protoreflect.Message

func (*CreateWalletRequest) Reset added in v1.11.0

func (x *CreateWalletRequest) Reset()

func (*CreateWalletRequest) String added in v1.11.0

func (x *CreateWalletRequest) String() string

type CreateWalletRequest_ExternalIdentity added in v1.11.8

type CreateWalletRequest_ExternalIdentity struct {

	// The user identity to add to the wallet
	// This can be an email address or phone number (formatted as +[country code][phone number])
	Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// The type of identity provider, like EMAIL or PHONE
	Provider provider.IdentityProvider `protobuf:"varint,2,opt,name=provider,proto3,enum=services.provider.v1.IdentityProvider" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWalletRequest_ExternalIdentity) Descriptor deprecated added in v1.11.8

func (*CreateWalletRequest_ExternalIdentity) Descriptor() ([]byte, []int)

Deprecated: Use CreateWalletRequest_ExternalIdentity.ProtoReflect.Descriptor instead.

func (*CreateWalletRequest_ExternalIdentity) GetIdentity added in v1.11.8

func (*CreateWalletRequest_ExternalIdentity) GetProvider added in v1.11.8

func (*CreateWalletRequest_ExternalIdentity) ProtoMessage added in v1.11.8

func (*CreateWalletRequest_ExternalIdentity) ProtoMessage()

func (*CreateWalletRequest_ExternalIdentity) ProtoReflect added in v1.11.8

func (*CreateWalletRequest_ExternalIdentity) Reset added in v1.11.8

func (*CreateWalletRequest_ExternalIdentity) String added in v1.11.8

type CreateWalletResponse added in v1.11.0

type CreateWalletResponse struct {

	// Auth token for the newly created wallet
	AuthToken string `protobuf:"bytes,2,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
	// Token ID of the newly generated token
	TokenId string `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// Wallet configuration
	Wallet *provider.WalletConfiguration `protobuf:"bytes,4,opt,name=wallet,proto3" json:"wallet,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWalletResponse) Descriptor deprecated added in v1.11.0

func (*CreateWalletResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateWalletResponse.ProtoReflect.Descriptor instead.

func (*CreateWalletResponse) GetAuthToken added in v1.11.0

func (x *CreateWalletResponse) GetAuthToken() string

func (*CreateWalletResponse) GetTokenId added in v1.11.0

func (x *CreateWalletResponse) GetTokenId() string

func (*CreateWalletResponse) GetWallet added in v1.11.0

func (*CreateWalletResponse) ProtoMessage added in v1.11.0

func (*CreateWalletResponse) ProtoMessage()

func (*CreateWalletResponse) ProtoReflect added in v1.11.0

func (x *CreateWalletResponse) ProtoReflect() protoreflect.Message

func (*CreateWalletResponse) Reset added in v1.11.0

func (x *CreateWalletResponse) Reset()

func (*CreateWalletResponse) String added in v1.11.0

func (x *CreateWalletResponse) String() string

type DeleteItemRequest

type DeleteItemRequest struct {

	// ID of item to delete
	ItemId string `protobuf:"bytes,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	// contains filtered or unexported fields
}

Request to delete an item in a wallet

func (*DeleteItemRequest) Descriptor deprecated

func (*DeleteItemRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteItemRequest.ProtoReflect.Descriptor instead.

func (*DeleteItemRequest) GetItemId

func (x *DeleteItemRequest) GetItemId() string

func (*DeleteItemRequest) ProtoMessage

func (*DeleteItemRequest) ProtoMessage()

func (*DeleteItemRequest) ProtoReflect

func (x *DeleteItemRequest) ProtoReflect() protoreflect.Message

func (*DeleteItemRequest) Reset

func (x *DeleteItemRequest) Reset()

func (*DeleteItemRequest) String

func (x *DeleteItemRequest) String() string

type DeleteItemResponse

type DeleteItemResponse struct {
	// contains filtered or unexported fields
}

Response to `DeleteItemRequest`

func (*DeleteItemResponse) Descriptor deprecated

func (*DeleteItemResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteItemResponse.ProtoReflect.Descriptor instead.

func (*DeleteItemResponse) ProtoMessage

func (*DeleteItemResponse) ProtoMessage()

func (*DeleteItemResponse) ProtoReflect

func (x *DeleteItemResponse) ProtoReflect() protoreflect.Message

func (*DeleteItemResponse) Reset

func (x *DeleteItemResponse) Reset()

func (*DeleteItemResponse) String

func (x *DeleteItemResponse) String() string

type DeleteWalletRequest added in v1.9.0

type DeleteWalletRequest struct {

	// Types that are assignable to Account:
	//
	//	*DeleteWalletRequest_Email
	//	*DeleteWalletRequest_WalletId
	//	*DeleteWalletRequest_DidUri
	Account isDeleteWalletRequest_Account `protobuf_oneof:"account"`
	// contains filtered or unexported fields
}

Request to delete a wallet

func (*DeleteWalletRequest) Descriptor deprecated added in v1.9.0

func (*DeleteWalletRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWalletRequest.ProtoReflect.Descriptor instead.

func (*DeleteWalletRequest) GetAccount added in v1.9.0

func (m *DeleteWalletRequest) GetAccount() isDeleteWalletRequest_Account

func (*DeleteWalletRequest) GetDidUri added in v1.9.0

func (x *DeleteWalletRequest) GetDidUri() string

func (*DeleteWalletRequest) GetEmail added in v1.9.0

func (x *DeleteWalletRequest) GetEmail() string

func (*DeleteWalletRequest) GetWalletId added in v1.9.0

func (x *DeleteWalletRequest) GetWalletId() string

func (*DeleteWalletRequest) ProtoMessage added in v1.9.0

func (*DeleteWalletRequest) ProtoMessage()

func (*DeleteWalletRequest) ProtoReflect added in v1.9.0

func (x *DeleteWalletRequest) ProtoReflect() protoreflect.Message

func (*DeleteWalletRequest) Reset added in v1.9.0

func (x *DeleteWalletRequest) Reset()

func (*DeleteWalletRequest) String added in v1.9.0

func (x *DeleteWalletRequest) String() string

type DeleteWalletRequest_DidUri added in v1.9.0

type DeleteWalletRequest_DidUri struct {
	// DID URI of the account to delete.
	// Mutually exclusive with `email` and `walletId`.
	DidUri string `protobuf:"bytes,4,opt,name=did_uri,json=didUri,proto3,oneof"`
}

type DeleteWalletRequest_Email added in v1.9.0

type DeleteWalletRequest_Email struct {
	// Email address of account to delete.
	// Mutually exclusive with `walletId` and `didUri`.
	Email string `protobuf:"bytes,1,opt,name=email,proto3,oneof"`
}

type DeleteWalletRequest_WalletId added in v1.9.0

type DeleteWalletRequest_WalletId struct {
	// Wallet ID of account to delete.
	// Mutually exclusive with `email` and `didUri`.
	WalletId string `protobuf:"bytes,2,opt,name=wallet_id,json=walletId,proto3,oneof"`
}

type DeleteWalletResponse added in v1.9.0

type DeleteWalletResponse struct {
	// contains filtered or unexported fields
}

Response to `DeleteWalletRequest`. Empty payload.

func (*DeleteWalletResponse) Descriptor deprecated added in v1.9.0

func (*DeleteWalletResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWalletResponse.ProtoReflect.Descriptor instead.

func (*DeleteWalletResponse) ProtoMessage added in v1.9.0

func (*DeleteWalletResponse) ProtoMessage()

func (*DeleteWalletResponse) ProtoReflect added in v1.9.0

func (x *DeleteWalletResponse) ProtoReflect() protoreflect.Message

func (*DeleteWalletResponse) Reset added in v1.9.0

func (x *DeleteWalletResponse) Reset()

func (*DeleteWalletResponse) String added in v1.9.0

func (x *DeleteWalletResponse) String() string

type GenerateAuthTokenRequest added in v1.11.0

type GenerateAuthTokenRequest struct {
	WalletId         string `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"`
	TokenDescription string `protobuf:"bytes,2,opt,name=token_description,json=tokenDescription,proto3" json:"token_description,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateAuthTokenRequest) Descriptor deprecated added in v1.11.0

func (*GenerateAuthTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateAuthTokenRequest.ProtoReflect.Descriptor instead.

func (*GenerateAuthTokenRequest) GetTokenDescription added in v1.11.0

func (x *GenerateAuthTokenRequest) GetTokenDescription() string

func (*GenerateAuthTokenRequest) GetWalletId added in v1.11.0

func (x *GenerateAuthTokenRequest) GetWalletId() string

func (*GenerateAuthTokenRequest) ProtoMessage added in v1.11.0

func (*GenerateAuthTokenRequest) ProtoMessage()

func (*GenerateAuthTokenRequest) ProtoReflect added in v1.11.0

func (x *GenerateAuthTokenRequest) ProtoReflect() protoreflect.Message

func (*GenerateAuthTokenRequest) Reset added in v1.11.0

func (x *GenerateAuthTokenRequest) Reset()

func (*GenerateAuthTokenRequest) String added in v1.11.0

func (x *GenerateAuthTokenRequest) String() string

type GenerateAuthTokenResponse added in v1.11.0

type GenerateAuthTokenResponse struct {
	TokenId   string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	AuthToken string `protobuf:"bytes,2,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateAuthTokenResponse) Descriptor deprecated added in v1.11.0

func (*GenerateAuthTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateAuthTokenResponse.ProtoReflect.Descriptor instead.

func (*GenerateAuthTokenResponse) GetAuthToken added in v1.11.0

func (x *GenerateAuthTokenResponse) GetAuthToken() string

func (*GenerateAuthTokenResponse) GetTokenId added in v1.11.0

func (x *GenerateAuthTokenResponse) GetTokenId() string

func (*GenerateAuthTokenResponse) ProtoMessage added in v1.11.0

func (*GenerateAuthTokenResponse) ProtoMessage()

func (*GenerateAuthTokenResponse) ProtoReflect added in v1.11.0

func (*GenerateAuthTokenResponse) Reset added in v1.11.0

func (x *GenerateAuthTokenResponse) Reset()

func (*GenerateAuthTokenResponse) String added in v1.11.0

func (x *GenerateAuthTokenResponse) String() string

type GetItemRequest

type GetItemRequest struct {

	// ID of item in wallet
	ItemId string `protobuf:"bytes,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	// contains filtered or unexported fields
}

Request to fetch an item from wallet

func (*GetItemRequest) Descriptor deprecated

func (*GetItemRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetItemRequest.ProtoReflect.Descriptor instead.

func (*GetItemRequest) GetItemId

func (x *GetItemRequest) GetItemId() string

func (*GetItemRequest) ProtoMessage

func (*GetItemRequest) ProtoMessage()

func (*GetItemRequest) ProtoReflect

func (x *GetItemRequest) ProtoReflect() protoreflect.Message

func (*GetItemRequest) Reset

func (x *GetItemRequest) Reset()

func (*GetItemRequest) String

func (x *GetItemRequest) String() string

type GetItemResponse

type GetItemResponse struct {

	// Item data as a JSON string
	ItemJson string `protobuf:"bytes,1,opt,name=item_json,json=itemJson,proto3" json:"item_json,omitempty"`
	// Type of item specified when item was inserted into wallet
	ItemType string `protobuf:"bytes,2,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"`
	// contains filtered or unexported fields
}

Response to `GetItemRequest`

func (*GetItemResponse) Descriptor deprecated

func (*GetItemResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetItemResponse.ProtoReflect.Descriptor instead.

func (*GetItemResponse) GetItemJson

func (x *GetItemResponse) GetItemJson() string

func (*GetItemResponse) GetItemType

func (x *GetItemResponse) GetItemType() string

func (*GetItemResponse) ProtoMessage

func (*GetItemResponse) ProtoMessage()

func (*GetItemResponse) ProtoReflect

func (x *GetItemResponse) ProtoReflect() protoreflect.Message

func (*GetItemResponse) Reset

func (x *GetItemResponse) Reset()

func (*GetItemResponse) String

func (x *GetItemResponse) String() string

type GetMyInfoRequest added in v1.11.0

type GetMyInfoRequest struct {
	// contains filtered or unexported fields
}

Request to retrieve wallet information about the currently authenticated wallet

func (*GetMyInfoRequest) Descriptor deprecated added in v1.11.0

func (*GetMyInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMyInfoRequest.ProtoReflect.Descriptor instead.

func (*GetMyInfoRequest) ProtoMessage added in v1.11.0

func (*GetMyInfoRequest) ProtoMessage()

func (*GetMyInfoRequest) ProtoReflect added in v1.11.0

func (x *GetMyInfoRequest) ProtoReflect() protoreflect.Message

func (*GetMyInfoRequest) Reset added in v1.11.0

func (x *GetMyInfoRequest) Reset()

func (*GetMyInfoRequest) String added in v1.11.0

func (x *GetMyInfoRequest) String() string

type GetMyInfoResponse added in v1.11.0

type GetMyInfoResponse struct {

	// Wallet configuration
	Wallet *provider.WalletConfiguration `protobuf:"bytes,1,opt,name=wallet,proto3" json:"wallet,omitempty"`
	// contains filtered or unexported fields
}

Response to `GetMyInfoRequest`

func (*GetMyInfoResponse) Descriptor deprecated added in v1.11.0

func (*GetMyInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMyInfoResponse.ProtoReflect.Descriptor instead.

func (*GetMyInfoResponse) GetWallet added in v1.11.0

func (*GetMyInfoResponse) ProtoMessage added in v1.11.0

func (*GetMyInfoResponse) ProtoMessage()

func (*GetMyInfoResponse) ProtoReflect added in v1.11.0

func (x *GetMyInfoResponse) ProtoReflect() protoreflect.Message

func (*GetMyInfoResponse) Reset added in v1.11.0

func (x *GetMyInfoResponse) Reset()

func (*GetMyInfoResponse) String added in v1.11.0

func (x *GetMyInfoResponse) String() string

type GetWalletFromExternalIdentityRequest added in v1.13.0

type GetWalletFromExternalIdentityRequest struct {
	Identity *provider.WalletExternalIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWalletFromExternalIdentityRequest) Descriptor deprecated added in v1.13.0

func (*GetWalletFromExternalIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWalletFromExternalIdentityRequest.ProtoReflect.Descriptor instead.

func (*GetWalletFromExternalIdentityRequest) GetIdentity added in v1.13.0

func (*GetWalletFromExternalIdentityRequest) ProtoMessage added in v1.13.0

func (*GetWalletFromExternalIdentityRequest) ProtoMessage()

func (*GetWalletFromExternalIdentityRequest) ProtoReflect added in v1.13.0

func (*GetWalletFromExternalIdentityRequest) Reset added in v1.13.0

func (*GetWalletFromExternalIdentityRequest) String added in v1.13.0

type GetWalletFromExternalIdentityResponse added in v1.13.0

type GetWalletFromExternalIdentityResponse struct {

	// Wallet configuration
	Wallet *provider.WalletConfiguration `protobuf:"bytes,1,opt,name=wallet,proto3" json:"wallet,omitempty"`
	// contains filtered or unexported fields
}

Response to `GetWalletFromExternalIdentityRequest`

func (*GetWalletFromExternalIdentityResponse) Descriptor deprecated added in v1.13.0

func (*GetWalletFromExternalIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetWalletFromExternalIdentityResponse.ProtoReflect.Descriptor instead.

func (*GetWalletFromExternalIdentityResponse) GetWallet added in v1.13.0

func (*GetWalletFromExternalIdentityResponse) ProtoMessage added in v1.13.0

func (*GetWalletFromExternalIdentityResponse) ProtoMessage()

func (*GetWalletFromExternalIdentityResponse) ProtoReflect added in v1.13.0

func (*GetWalletFromExternalIdentityResponse) Reset added in v1.13.0

func (*GetWalletFromExternalIdentityResponse) String added in v1.13.0

type GetWalletInfoRequest added in v1.11.0

type GetWalletInfoRequest struct {

	// Wallet ID of the wallet to retrieve
	WalletId string `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"`
	// contains filtered or unexported fields
}

Request to retrieve wallet information about a given wallet identified by its wallet ID

func (*GetWalletInfoRequest) Descriptor deprecated added in v1.11.0

func (*GetWalletInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWalletInfoRequest.ProtoReflect.Descriptor instead.

func (*GetWalletInfoRequest) GetWalletId added in v1.11.0

func (x *GetWalletInfoRequest) GetWalletId() string

func (*GetWalletInfoRequest) ProtoMessage added in v1.11.0

func (*GetWalletInfoRequest) ProtoMessage()

func (*GetWalletInfoRequest) ProtoReflect added in v1.11.0

func (x *GetWalletInfoRequest) ProtoReflect() protoreflect.Message

func (*GetWalletInfoRequest) Reset added in v1.11.0

func (x *GetWalletInfoRequest) Reset()

func (*GetWalletInfoRequest) String added in v1.11.0

func (x *GetWalletInfoRequest) String() string

type GetWalletInfoResponse added in v1.11.0

type GetWalletInfoResponse struct {

	// Wallet configuration
	Wallet *provider.WalletConfiguration `protobuf:"bytes,1,opt,name=wallet,proto3" json:"wallet,omitempty"`
	// contains filtered or unexported fields
}

Response to `GetWalletInfoRequest`

func (*GetWalletInfoResponse) Descriptor deprecated added in v1.11.0

func (*GetWalletInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetWalletInfoResponse.ProtoReflect.Descriptor instead.

func (*GetWalletInfoResponse) GetWallet added in v1.11.0

func (*GetWalletInfoResponse) ProtoMessage added in v1.11.0

func (*GetWalletInfoResponse) ProtoMessage()

func (*GetWalletInfoResponse) ProtoReflect added in v1.11.0

func (x *GetWalletInfoResponse) ProtoReflect() protoreflect.Message

func (*GetWalletInfoResponse) Reset added in v1.11.0

func (x *GetWalletInfoResponse) Reset()

func (*GetWalletInfoResponse) String added in v1.11.0

func (x *GetWalletInfoResponse) String() string

type InsertItemRequest

type InsertItemRequest struct {

	// Document to insert; must be stringified JSON
	ItemJson string `protobuf:"bytes,1,opt,name=item_json,json=itemJson,proto3" json:"item_json,omitempty"`
	// Item type (ex. "VerifiableCredential")
	ItemType string `protobuf:"bytes,2,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"`
	// contains filtered or unexported fields
}

Request to insert a JSON document into a wallet

func (*InsertItemRequest) Descriptor deprecated

func (*InsertItemRequest) Descriptor() ([]byte, []int)

Deprecated: Use InsertItemRequest.ProtoReflect.Descriptor instead.

func (*InsertItemRequest) GetItemJson

func (x *InsertItemRequest) GetItemJson() string

func (*InsertItemRequest) GetItemType

func (x *InsertItemRequest) GetItemType() string

func (*InsertItemRequest) ProtoMessage

func (*InsertItemRequest) ProtoMessage()

func (*InsertItemRequest) ProtoReflect

func (x *InsertItemRequest) ProtoReflect() protoreflect.Message

func (*InsertItemRequest) Reset

func (x *InsertItemRequest) Reset()

func (*InsertItemRequest) String

func (x *InsertItemRequest) String() string

type InsertItemResponse

type InsertItemResponse struct {

	// ID of item inserted into wallet
	ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	// contains filtered or unexported fields
}

Response to `InsertItemRequest`

func (*InsertItemResponse) Descriptor deprecated

func (*InsertItemResponse) Descriptor() ([]byte, []int)

Deprecated: Use InsertItemResponse.ProtoReflect.Descriptor instead.

func (*InsertItemResponse) GetItemId

func (x *InsertItemResponse) GetItemId() string

func (*InsertItemResponse) ProtoMessage

func (*InsertItemResponse) ProtoMessage()

func (*InsertItemResponse) ProtoReflect

func (x *InsertItemResponse) ProtoReflect() protoreflect.Message

func (*InsertItemResponse) Reset

func (x *InsertItemResponse) Reset()

func (*InsertItemResponse) String

func (x *InsertItemResponse) String() string

type ListByVerificationTemplateRequest added in v1.11.8

type ListByVerificationTemplateRequest struct {

	// ID of verification template to list matching credentials
	VerificationTemplateId string `` /* 129-byte string literal not displayed */
	// Token provided by previous `ListCredentialTemplatesResponse`
	// if more data is available for query
	ContinuationToken string `protobuf:"bytes,2,opt,name=continuation_token,json=continuationToken,proto3" json:"continuation_token,omitempty"`
	// contains filtered or unexported fields
}

Request to list templates by

func (*ListByVerificationTemplateRequest) Descriptor deprecated added in v1.11.8

func (*ListByVerificationTemplateRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListByVerificationTemplateRequest.ProtoReflect.Descriptor instead.

func (*ListByVerificationTemplateRequest) GetContinuationToken added in v1.11.8

func (x *ListByVerificationTemplateRequest) GetContinuationToken() string

func (*ListByVerificationTemplateRequest) GetVerificationTemplateId added in v1.11.8

func (x *ListByVerificationTemplateRequest) GetVerificationTemplateId() string

func (*ListByVerificationTemplateRequest) ProtoMessage added in v1.11.8

func (*ListByVerificationTemplateRequest) ProtoMessage()

func (*ListByVerificationTemplateRequest) ProtoReflect added in v1.11.8

func (*ListByVerificationTemplateRequest) Reset added in v1.11.8

func (*ListByVerificationTemplateRequest) String added in v1.11.8

type ListByVerificationTemplateResponse added in v1.11.8

type ListByVerificationTemplateResponse struct {

	// Array of query results, as JSON strings
	Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// Whether more results are available for this query via `continuation_token`
	HasMoreResults bool `protobuf:"varint,2,opt,name=has_more_results,json=hasMoreResults,proto3" json:"has_more_results,omitempty"`
	// Token to fetch next set of results via `ListByVerificationTemplateRequest`
	ContinuationToken string `protobuf:"bytes,3,opt,name=continuation_token,json=continuationToken,proto3" json:"continuation_token,omitempty"`
	// contains filtered or unexported fields
}

Response to `ListByVerificationTemplateRequest`

func (*ListByVerificationTemplateResponse) Descriptor deprecated added in v1.11.8

func (*ListByVerificationTemplateResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListByVerificationTemplateResponse.ProtoReflect.Descriptor instead.

func (*ListByVerificationTemplateResponse) GetContinuationToken added in v1.11.8

func (x *ListByVerificationTemplateResponse) GetContinuationToken() string

func (*ListByVerificationTemplateResponse) GetHasMoreResults added in v1.11.8

func (x *ListByVerificationTemplateResponse) GetHasMoreResults() bool

func (*ListByVerificationTemplateResponse) GetItems added in v1.11.8

func (*ListByVerificationTemplateResponse) ProtoMessage added in v1.11.8

func (*ListByVerificationTemplateResponse) ProtoMessage()

func (*ListByVerificationTemplateResponse) ProtoReflect added in v1.11.8

func (*ListByVerificationTemplateResponse) Reset added in v1.11.8

func (*ListByVerificationTemplateResponse) String added in v1.11.8

type ListWalletsRequest added in v1.11.0

type ListWalletsRequest struct {
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWalletsRequest) Descriptor deprecated added in v1.11.0

func (*ListWalletsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListWalletsRequest.ProtoReflect.Descriptor instead.

func (*ListWalletsRequest) GetFilter added in v1.11.0

func (x *ListWalletsRequest) GetFilter() string

func (*ListWalletsRequest) ProtoMessage added in v1.11.0

func (*ListWalletsRequest) ProtoMessage()

func (*ListWalletsRequest) ProtoReflect added in v1.11.0

func (x *ListWalletsRequest) ProtoReflect() protoreflect.Message

func (*ListWalletsRequest) Reset added in v1.11.0

func (x *ListWalletsRequest) Reset()

func (*ListWalletsRequest) String added in v1.11.0

func (x *ListWalletsRequest) String() string

type ListWalletsResponse added in v1.11.0

type ListWalletsResponse struct {
	Wallets []*provider.WalletConfiguration `protobuf:"bytes,1,rep,name=wallets,proto3" json:"wallets,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWalletsResponse) Descriptor deprecated added in v1.11.0

func (*ListWalletsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListWalletsResponse.ProtoReflect.Descriptor instead.

func (*ListWalletsResponse) GetWallets added in v1.11.0

func (*ListWalletsResponse) ProtoMessage added in v1.11.0

func (*ListWalletsResponse) ProtoMessage()

func (*ListWalletsResponse) ProtoReflect added in v1.11.0

func (x *ListWalletsResponse) ProtoReflect() protoreflect.Message

func (*ListWalletsResponse) Reset added in v1.11.0

func (x *ListWalletsResponse) Reset()

func (*ListWalletsResponse) String added in v1.11.0

func (x *ListWalletsResponse) String() string

type RemoveExternalIdentityRequest added in v1.11.0

type RemoveExternalIdentityRequest struct {

	// The user identity to remove from the wallet
	// This can be an email address or phone number (formatted as +[country code][phone number])
	Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveExternalIdentityRequest) Descriptor deprecated added in v1.11.0

func (*RemoveExternalIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveExternalIdentityRequest.ProtoReflect.Descriptor instead.

func (*RemoveExternalIdentityRequest) GetIdentity added in v1.11.0

func (x *RemoveExternalIdentityRequest) GetIdentity() string

func (*RemoveExternalIdentityRequest) ProtoMessage added in v1.11.0

func (*RemoveExternalIdentityRequest) ProtoMessage()

func (*RemoveExternalIdentityRequest) ProtoReflect added in v1.11.0

func (*RemoveExternalIdentityRequest) Reset added in v1.11.0

func (x *RemoveExternalIdentityRequest) Reset()

func (*RemoveExternalIdentityRequest) String added in v1.11.0

type RemoveExternalIdentityResponse added in v1.11.0

type RemoveExternalIdentityResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveExternalIdentityResponse) Descriptor deprecated added in v1.11.0

func (*RemoveExternalIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveExternalIdentityResponse.ProtoReflect.Descriptor instead.

func (*RemoveExternalIdentityResponse) ProtoMessage added in v1.11.0

func (*RemoveExternalIdentityResponse) ProtoMessage()

func (*RemoveExternalIdentityResponse) ProtoReflect added in v1.11.0

func (*RemoveExternalIdentityResponse) Reset added in v1.11.0

func (x *RemoveExternalIdentityResponse) Reset()

func (*RemoveExternalIdentityResponse) String added in v1.11.0

type RevokeAuthTokenRequest added in v1.11.0

type RevokeAuthTokenRequest struct {

	// Wallet ID of the wallet to from which to revoke the token
	WalletId string `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"`
	// Token ID of the token to revoke
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// contains filtered or unexported fields
}

Request to revoke a previously issued auth token

func (*RevokeAuthTokenRequest) Descriptor deprecated added in v1.11.0

func (*RevokeAuthTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeAuthTokenRequest.ProtoReflect.Descriptor instead.

func (*RevokeAuthTokenRequest) GetTokenId added in v1.11.0

func (x *RevokeAuthTokenRequest) GetTokenId() string

func (*RevokeAuthTokenRequest) GetWalletId added in v1.11.0

func (x *RevokeAuthTokenRequest) GetWalletId() string

func (*RevokeAuthTokenRequest) ProtoMessage added in v1.11.0

func (*RevokeAuthTokenRequest) ProtoMessage()

func (*RevokeAuthTokenRequest) ProtoReflect added in v1.11.0

func (x *RevokeAuthTokenRequest) ProtoReflect() protoreflect.Message

func (*RevokeAuthTokenRequest) Reset added in v1.11.0

func (x *RevokeAuthTokenRequest) Reset()

func (*RevokeAuthTokenRequest) String added in v1.11.0

func (x *RevokeAuthTokenRequest) String() string

type RevokeAuthTokenResponse added in v1.11.0

type RevokeAuthTokenResponse struct {
	// contains filtered or unexported fields
}

func (*RevokeAuthTokenResponse) Descriptor deprecated added in v1.11.0

func (*RevokeAuthTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeAuthTokenResponse.ProtoReflect.Descriptor instead.

func (*RevokeAuthTokenResponse) ProtoMessage added in v1.11.0

func (*RevokeAuthTokenResponse) ProtoMessage()

func (*RevokeAuthTokenResponse) ProtoReflect added in v1.11.0

func (x *RevokeAuthTokenResponse) ProtoReflect() protoreflect.Message

func (*RevokeAuthTokenResponse) Reset added in v1.11.0

func (x *RevokeAuthTokenResponse) Reset()

func (*RevokeAuthTokenResponse) String added in v1.11.0

func (x *RevokeAuthTokenResponse) String() string

type SearchRequest

type SearchRequest struct {

	// SQL Query to execute against items in wallet
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// Token provided by previous `SearchResponse`
	// if more data is available for query
	ContinuationToken string `protobuf:"bytes,2,opt,name=continuation_token,json=continuationToken,proto3" json:"continuation_token,omitempty"`
	// contains filtered or unexported fields
}

Request to search items in wallet

func (*SearchRequest) Descriptor deprecated

func (*SearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetContinuationToken

func (x *SearchRequest) GetContinuationToken() string

func (*SearchRequest) GetQuery

func (x *SearchRequest) GetQuery() string

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SearchResponse

type SearchResponse struct {

	// Array of query results, as JSON strings
	Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// Whether more results are available for this query via `continuation_token`
	HasMoreResults bool `protobuf:"varint,2,opt,name=has_more_results,json=hasMoreResults,proto3" json:"has_more_results,omitempty"`
	// Token to fetch next set of results via `SearchRequest`
	ContinuationToken string `protobuf:"bytes,4,opt,name=continuation_token,json=continuationToken,proto3" json:"continuation_token,omitempty"`
	// contains filtered or unexported fields
}

Response to `SearchRequest`

func (*SearchResponse) Descriptor deprecated

func (*SearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetContinuationToken

func (x *SearchResponse) GetContinuationToken() string

func (*SearchResponse) GetHasMoreResults added in v1.11.0

func (x *SearchResponse) GetHasMoreResults() bool

func (*SearchResponse) GetItems

func (x *SearchResponse) GetItems() []string

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect

func (x *SearchResponse) ProtoReflect() protoreflect.Message

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

type UnimplementedUniversalWalletServer

type UnimplementedUniversalWalletServer struct {
}

UnimplementedUniversalWalletServer must be embedded to have forward compatible implementations.

func (UnimplementedUniversalWalletServer) AddExternalIdentityConfirm added in v1.11.0

func (UnimplementedUniversalWalletServer) AddExternalIdentityInit added in v1.11.0

func (UnimplementedUniversalWalletServer) AuthenticateConfirm added in v1.11.0

func (UnimplementedUniversalWalletServer) AuthenticateInit added in v1.11.0

func (UnimplementedUniversalWalletServer) AuthenticateResendCode added in v1.11.8

func (UnimplementedUniversalWalletServer) CreateWallet added in v1.11.0

func (UnimplementedUniversalWalletServer) DeleteItem

func (UnimplementedUniversalWalletServer) DeleteWallet added in v1.9.0

func (UnimplementedUniversalWalletServer) GenerateAuthToken added in v1.11.0

func (UnimplementedUniversalWalletServer) GetItem

func (UnimplementedUniversalWalletServer) GetMyInfo added in v1.11.0

func (UnimplementedUniversalWalletServer) GetWalletFromExternalIdentity added in v1.13.0

func (UnimplementedUniversalWalletServer) GetWalletInfo added in v1.11.0

func (UnimplementedUniversalWalletServer) InsertItem

func (UnimplementedUniversalWalletServer) ListByVerificationTemplate added in v1.11.8

func (UnimplementedUniversalWalletServer) ListWallets added in v1.11.0

func (UnimplementedUniversalWalletServer) RemoveExternalIdentity added in v1.11.0

func (UnimplementedUniversalWalletServer) RevokeAuthToken added in v1.11.0

func (UnimplementedUniversalWalletServer) Search

func (UnimplementedUniversalWalletServer) UpdateItem

type UniversalWalletClient

type UniversalWalletClient interface {
	// Retrieve an item from the wallet with a given item identifier
	GetItem(ctx context.Context, in *GetItemRequest, opts ...grpc.CallOption) (*GetItemResponse, error)
	// Search the wallet using a SQL syntax
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
	// Insert an item into the wallet
	InsertItem(ctx context.Context, in *InsertItemRequest, opts ...grpc.CallOption) (*InsertItemResponse, error)
	// Update an item in the wallet
	UpdateItem(ctx context.Context, in *UpdateItemRequest, opts ...grpc.CallOption) (*UpdateItemResponse, error)
	// Delete an item from the wallet permanently
	DeleteItem(ctx context.Context, in *DeleteItemRequest, opts ...grpc.CallOption) (*DeleteItemResponse, error)
	// Delete a wallet and its credentials
	DeleteWallet(ctx context.Context, in *DeleteWalletRequest, opts ...grpc.CallOption) (*DeleteWalletResponse, error)
	// Create a new wallet and generate an auth token for access
	CreateWallet(ctx context.Context, in *CreateWalletRequest, opts ...grpc.CallOption) (*CreateWalletResponse, error)
	// Retrieve wallet details and configuration
	GetWalletInfo(ctx context.Context, in *GetWalletInfoRequest, opts ...grpc.CallOption) (*GetWalletInfoResponse, error)
	// Retrieve wallet details and configuration about the currently authenticated wallet
	GetMyInfo(ctx context.Context, in *GetMyInfoRequest, opts ...grpc.CallOption) (*GetMyInfoResponse, error)
	// Retrieve information from an ecosystem wallet by searching for its external identity (email or phone)
	GetWalletFromExternalIdentity(ctx context.Context, in *GetWalletFromExternalIdentityRequest, opts ...grpc.CallOption) (*GetWalletFromExternalIdentityResponse, error)
	// Generate new token for a given wallet and add it to the collection of known auth tokens.
	// This endpoint requires authentication and will return a new token ID and auth token.
	// Use this endpoint if you want to authorize another device, without having to share your
	// existing auth token.
	GenerateAuthToken(ctx context.Context, in *GenerateAuthTokenRequest, opts ...grpc.CallOption) (*GenerateAuthTokenResponse, error)
	// Revokes a previously issued auth token and updates the collection of known auth tokens.
	// This endpoint requires authentication.
	RevokeAuthToken(ctx context.Context, in *RevokeAuthTokenRequest, opts ...grpc.CallOption) (*RevokeAuthTokenResponse, error)
	// Add new external identity to the current wallet, such as email, sms, ethereum address, etc.
	// This identity ownership must be confirmed using `AddIdentityConfirm` via OTP, signature, etc.
	AddExternalIdentityInit(ctx context.Context, in *AddExternalIdentityInitRequest, opts ...grpc.CallOption) (*AddExternalIdentityInitResponse, error)
	// Confirm identity added to the current wallet using `AddExternalIdentityInit`
	AddExternalIdentityConfirm(ctx context.Context, in *AddExternalIdentityConfirmRequest, opts ...grpc.CallOption) (*AddExternalIdentityConfirmResponse, error)
	// Remove an external identity from the current wallet
	RemoveExternalIdentity(ctx context.Context, in *RemoveExternalIdentityRequest, opts ...grpc.CallOption) (*RemoveExternalIdentityResponse, error)
	// Sign-in to an already existing wallet, using an identity added that was previously registered
	// This endpoint does not require authentication, and will return a challenge to be signed or verified
	AuthenticateInit(ctx context.Context, in *AuthenticateInitRequest, opts ...grpc.CallOption) (*AuthenticateInitResponse, error)
	// Confirm sign-in to an already existing wallet and return authentication token
	AuthenticateConfirm(ctx context.Context, in *AuthenticateConfirmRequest, opts ...grpc.CallOption) (*AuthenticateConfirmResponse, error)
	// Resend previous authentication code
	AuthenticateResendCode(ctx context.Context, in *AuthenticateResendCodeRequest, opts ...grpc.CallOption) (*AuthenticateResendCodeResponse, error)
	// List all wallets in the ecosystem
	ListWallets(ctx context.Context, in *ListWalletsRequest, opts ...grpc.CallOption) (*ListWalletsResponse, error)
	// List credentials which match a given verification template
	ListByVerificationTemplate(ctx context.Context, in *ListByVerificationTemplateRequest, opts ...grpc.CallOption) (*ListByVerificationTemplateResponse, error)
}

UniversalWalletClient is the client API for UniversalWallet service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UniversalWalletServer

type UniversalWalletServer interface {
	// Retrieve an item from the wallet with a given item identifier
	GetItem(context.Context, *GetItemRequest) (*GetItemResponse, error)
	// Search the wallet using a SQL syntax
	Search(context.Context, *SearchRequest) (*SearchResponse, error)
	// Insert an item into the wallet
	InsertItem(context.Context, *InsertItemRequest) (*InsertItemResponse, error)
	// Update an item in the wallet
	UpdateItem(context.Context, *UpdateItemRequest) (*UpdateItemResponse, error)
	// Delete an item from the wallet permanently
	DeleteItem(context.Context, *DeleteItemRequest) (*DeleteItemResponse, error)
	// Delete a wallet and its credentials
	DeleteWallet(context.Context, *DeleteWalletRequest) (*DeleteWalletResponse, error)
	// Create a new wallet and generate an auth token for access
	CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error)
	// Retrieve wallet details and configuration
	GetWalletInfo(context.Context, *GetWalletInfoRequest) (*GetWalletInfoResponse, error)
	// Retrieve wallet details and configuration about the currently authenticated wallet
	GetMyInfo(context.Context, *GetMyInfoRequest) (*GetMyInfoResponse, error)
	// Retrieve information from an ecosystem wallet by searching for its external identity (email or phone)
	GetWalletFromExternalIdentity(context.Context, *GetWalletFromExternalIdentityRequest) (*GetWalletFromExternalIdentityResponse, error)
	// Generate new token for a given wallet and add it to the collection of known auth tokens.
	// This endpoint requires authentication and will return a new token ID and auth token.
	// Use this endpoint if you want to authorize another device, without having to share your
	// existing auth token.
	GenerateAuthToken(context.Context, *GenerateAuthTokenRequest) (*GenerateAuthTokenResponse, error)
	// Revokes a previously issued auth token and updates the collection of known auth tokens.
	// This endpoint requires authentication.
	RevokeAuthToken(context.Context, *RevokeAuthTokenRequest) (*RevokeAuthTokenResponse, error)
	// Add new external identity to the current wallet, such as email, sms, ethereum address, etc.
	// This identity ownership must be confirmed using `AddIdentityConfirm` via OTP, signature, etc.
	AddExternalIdentityInit(context.Context, *AddExternalIdentityInitRequest) (*AddExternalIdentityInitResponse, error)
	// Confirm identity added to the current wallet using `AddExternalIdentityInit`
	AddExternalIdentityConfirm(context.Context, *AddExternalIdentityConfirmRequest) (*AddExternalIdentityConfirmResponse, error)
	// Remove an external identity from the current wallet
	RemoveExternalIdentity(context.Context, *RemoveExternalIdentityRequest) (*RemoveExternalIdentityResponse, error)
	// Sign-in to an already existing wallet, using an identity added that was previously registered
	// This endpoint does not require authentication, and will return a challenge to be signed or verified
	AuthenticateInit(context.Context, *AuthenticateInitRequest) (*AuthenticateInitResponse, error)
	// Confirm sign-in to an already existing wallet and return authentication token
	AuthenticateConfirm(context.Context, *AuthenticateConfirmRequest) (*AuthenticateConfirmResponse, error)
	// Resend previous authentication code
	AuthenticateResendCode(context.Context, *AuthenticateResendCodeRequest) (*AuthenticateResendCodeResponse, error)
	// List all wallets in the ecosystem
	ListWallets(context.Context, *ListWalletsRequest) (*ListWalletsResponse, error)
	// List credentials which match a given verification template
	ListByVerificationTemplate(context.Context, *ListByVerificationTemplateRequest) (*ListByVerificationTemplateResponse, error)
	// contains filtered or unexported methods
}

UniversalWalletServer is the server API for UniversalWallet service. All implementations must embed UnimplementedUniversalWalletServer for forward compatibility

type UnsafeUniversalWalletServer

type UnsafeUniversalWalletServer interface {
	// contains filtered or unexported methods
}

UnsafeUniversalWalletServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UniversalWalletServer will result in compilation errors.

type UpdateItemRequest

type UpdateItemRequest struct {

	// ID of item in wallet
	ItemId string `protobuf:"bytes,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	// Item type (ex. "VerifiableCredential")
	ItemType string `protobuf:"bytes,2,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"`
	// contains filtered or unexported fields
}

Request to update item in wallet

func (*UpdateItemRequest) Descriptor deprecated

func (*UpdateItemRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateItemRequest.ProtoReflect.Descriptor instead.

func (*UpdateItemRequest) GetItemId

func (x *UpdateItemRequest) GetItemId() string

func (*UpdateItemRequest) GetItemType

func (x *UpdateItemRequest) GetItemType() string

func (*UpdateItemRequest) ProtoMessage

func (*UpdateItemRequest) ProtoMessage()

func (*UpdateItemRequest) ProtoReflect

func (x *UpdateItemRequest) ProtoReflect() protoreflect.Message

func (*UpdateItemRequest) Reset

func (x *UpdateItemRequest) Reset()

func (*UpdateItemRequest) String

func (x *UpdateItemRequest) String() string

type UpdateItemResponse

type UpdateItemResponse struct {
	// contains filtered or unexported fields
}

Response to `UpdateItemRequest`

func (*UpdateItemResponse) Descriptor deprecated

func (*UpdateItemResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateItemResponse.ProtoReflect.Descriptor instead.

func (*UpdateItemResponse) ProtoMessage

func (*UpdateItemResponse) ProtoMessage()

func (*UpdateItemResponse) ProtoReflect

func (x *UpdateItemResponse) ProtoReflect() protoreflect.Message

func (*UpdateItemResponse) Reset

func (x *UpdateItemResponse) Reset()

func (*UpdateItemResponse) String

func (x *UpdateItemResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL