Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCredentialTemplatesServer(s grpc.ServiceRegistrar, srv CredentialTemplatesServer)
- type AppleWalletOptions
- func (*AppleWalletOptions) Descriptor() ([]byte, []int)deprecated
- func (x *AppleWalletOptions) GetAuxiliaryFields() []string
- func (x *AppleWalletOptions) GetBackgroundColor() string
- func (x *AppleWalletOptions) GetForegroundColor() string
- func (x *AppleWalletOptions) GetLabelColor() string
- func (x *AppleWalletOptions) GetPrimaryField() string
- func (x *AppleWalletOptions) GetSecondaryFields() []string
- func (*AppleWalletOptions) ProtoMessage()
- func (x *AppleWalletOptions) ProtoReflect() protoreflect.Message
- func (x *AppleWalletOptions) Reset()
- func (x *AppleWalletOptions) String() string
- type CreateCredentialTemplateRequest
- func (*CreateCredentialTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCredentialTemplateRequest) GetAllowAdditionalFields() bool
- func (x *CreateCredentialTemplateRequest) GetAppleWalletOptions() *AppleWalletOptions
- func (x *CreateCredentialTemplateRequest) GetDescription() string
- func (x *CreateCredentialTemplateRequest) GetFieldOrdering() map[string]*FieldOrdering
- func (x *CreateCredentialTemplateRequest) GetFields() map[string]*TemplateField
- func (x *CreateCredentialTemplateRequest) GetName() string
- func (x *CreateCredentialTemplateRequest) GetTitle() string
- func (*CreateCredentialTemplateRequest) ProtoMessage()
- func (x *CreateCredentialTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCredentialTemplateRequest) Reset()
- func (x *CreateCredentialTemplateRequest) String() string
- type CreateCredentialTemplateResponse
- func (*CreateCredentialTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCredentialTemplateResponse) GetData() *TemplateData
- func (*CreateCredentialTemplateResponse) ProtoMessage()
- func (x *CreateCredentialTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCredentialTemplateResponse) Reset()
- func (x *CreateCredentialTemplateResponse) String() string
- type CreateVerificationTemplateRequest
- func (*CreateVerificationTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVerificationTemplateRequest) GetCredentialTemplateId() string
- func (x *CreateVerificationTemplateRequest) GetDescription() string
- func (x *CreateVerificationTemplateRequest) GetFields() map[string]*VerificationTemplateField
- func (x *CreateVerificationTemplateRequest) GetName() string
- func (x *CreateVerificationTemplateRequest) GetTitle() string
- func (*CreateVerificationTemplateRequest) ProtoMessage()
- func (x *CreateVerificationTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVerificationTemplateRequest) Reset()
- func (x *CreateVerificationTemplateRequest) String() string
- type CreateVerificationTemplateResponse
- func (*CreateVerificationTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVerificationTemplateResponse) GetData() *VerificationTemplateData
- func (*CreateVerificationTemplateResponse) ProtoMessage()
- func (x *CreateVerificationTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateVerificationTemplateResponse) Reset()
- func (x *CreateVerificationTemplateResponse) String() string
- type CredentialTemplatesClient
- type CredentialTemplatesServer
- type DeleteCredentialTemplateRequest
- func (*DeleteCredentialTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCredentialTemplateRequest) GetId() string
- func (*DeleteCredentialTemplateRequest) ProtoMessage()
- func (x *DeleteCredentialTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCredentialTemplateRequest) Reset()
- func (x *DeleteCredentialTemplateRequest) String() string
- type DeleteCredentialTemplateResponse
- func (*DeleteCredentialTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteCredentialTemplateResponse) ProtoMessage()
- func (x *DeleteCredentialTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteCredentialTemplateResponse) Reset()
- func (x *DeleteCredentialTemplateResponse) String() string
- type DeleteVerificationTemplateRequest
- func (*DeleteVerificationTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteVerificationTemplateRequest) GetVerificationTemplateId() string
- func (*DeleteVerificationTemplateRequest) ProtoMessage()
- func (x *DeleteVerificationTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteVerificationTemplateRequest) Reset()
- func (x *DeleteVerificationTemplateRequest) String() string
- type DeleteVerificationTemplateResponse
- func (*DeleteVerificationTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteVerificationTemplateResponse) ProtoMessage()
- func (x *DeleteVerificationTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteVerificationTemplateResponse) Reset()
- func (x *DeleteVerificationTemplateResponse) String() string
- type FieldOrdering
- func (*FieldOrdering) Descriptor() ([]byte, []int)deprecated
- func (x *FieldOrdering) GetOrder() int32
- func (x *FieldOrdering) GetSection() string
- func (*FieldOrdering) ProtoMessage()
- func (x *FieldOrdering) ProtoReflect() protoreflect.Message
- func (x *FieldOrdering) Reset()
- func (x *FieldOrdering) String() string
- type FieldType
- type GetCredentialTemplateRequest
- func (*GetCredentialTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCredentialTemplateRequest) GetId() string
- func (*GetCredentialTemplateRequest) ProtoMessage()
- func (x *GetCredentialTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetCredentialTemplateRequest) Reset()
- func (x *GetCredentialTemplateRequest) String() string
- type GetCredentialTemplateResponse
- func (*GetCredentialTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCredentialTemplateResponse) GetTemplate() *TemplateData
- func (*GetCredentialTemplateResponse) ProtoMessage()
- func (x *GetCredentialTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *GetCredentialTemplateResponse) Reset()
- func (x *GetCredentialTemplateResponse) String() string
- type GetVerificationTemplateRequest
- func (*GetVerificationTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVerificationTemplateRequest) GetId() string
- func (*GetVerificationTemplateRequest) ProtoMessage()
- func (x *GetVerificationTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetVerificationTemplateRequest) Reset()
- func (x *GetVerificationTemplateRequest) String() string
- type GetVerificationTemplateResponse
- func (*GetVerificationTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVerificationTemplateResponse) GetTemplate() *VerificationTemplateData
- func (*GetVerificationTemplateResponse) ProtoMessage()
- func (x *GetVerificationTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *GetVerificationTemplateResponse) Reset()
- func (x *GetVerificationTemplateResponse) String() string
- type ListCredentialTemplatesRequest
- func (*ListCredentialTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCredentialTemplatesRequest) GetContinuationToken() string
- func (x *ListCredentialTemplatesRequest) GetQuery() string
- func (*ListCredentialTemplatesRequest) ProtoMessage()
- func (x *ListCredentialTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListCredentialTemplatesRequest) Reset()
- func (x *ListCredentialTemplatesRequest) String() string
- type ListCredentialTemplatesResponse
- func (*ListCredentialTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCredentialTemplatesResponse) GetContinuationToken() string
- func (x *ListCredentialTemplatesResponse) GetHasMoreResults() bool
- func (x *ListCredentialTemplatesResponse) GetTemplates() []*TemplateData
- func (*ListCredentialTemplatesResponse) ProtoMessage()
- func (x *ListCredentialTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListCredentialTemplatesResponse) Reset()
- func (x *ListCredentialTemplatesResponse) String() string
- type ListVerificationTemplatesRequest
- func (*ListVerificationTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVerificationTemplatesRequest) GetContinuationToken() string
- func (x *ListVerificationTemplatesRequest) GetQuery() string
- func (*ListVerificationTemplatesRequest) ProtoMessage()
- func (x *ListVerificationTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListVerificationTemplatesRequest) Reset()
- func (x *ListVerificationTemplatesRequest) String() string
- type ListVerificationTemplatesResponse
- func (*ListVerificationTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVerificationTemplatesResponse) GetContinuationToken() string
- func (x *ListVerificationTemplatesResponse) GetHasMoreResults() bool
- func (x *ListVerificationTemplatesResponse) GetTemplates() []*VerificationTemplateData
- func (*ListVerificationTemplatesResponse) ProtoMessage()
- func (x *ListVerificationTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListVerificationTemplatesResponse) Reset()
- func (x *ListVerificationTemplatesResponse) String() string
- type SearchCredentialTemplatesRequest
- func (*SearchCredentialTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchCredentialTemplatesRequest) GetContinuationToken() string
- func (x *SearchCredentialTemplatesRequest) GetQuery() string
- func (*SearchCredentialTemplatesRequest) ProtoMessage()
- func (x *SearchCredentialTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *SearchCredentialTemplatesRequest) Reset()
- func (x *SearchCredentialTemplatesRequest) String() string
- type SearchCredentialTemplatesResponse
- func (*SearchCredentialTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchCredentialTemplatesResponse) GetContinuationToken() string
- func (x *SearchCredentialTemplatesResponse) GetHasMoreResults() bool
- func (x *SearchCredentialTemplatesResponse) GetItemsJson() string
- func (*SearchCredentialTemplatesResponse) ProtoMessage()
- func (x *SearchCredentialTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *SearchCredentialTemplatesResponse) Reset()
- func (x *SearchCredentialTemplatesResponse) String() string
- type TemplateData
- func (*TemplateData) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateData) GetAllowAdditionalFields() bool
- func (x *TemplateData) GetAppleWalletOptions() *AppleWalletOptions
- func (x *TemplateData) GetCreatedBy() string
- func (x *TemplateData) GetDateCreated() string
- func (x *TemplateData) GetDescription() string
- func (x *TemplateData) GetEcosystemId() string
- func (x *TemplateData) GetFieldOrdering() map[string]*FieldOrdering
- func (x *TemplateData) GetFields() map[string]*TemplateField
- func (x *TemplateData) GetId() string
- func (x *TemplateData) GetName() string
- func (x *TemplateData) GetSchemaUri() string
- func (x *TemplateData) GetTitle() string
- func (x *TemplateData) GetType() string
- func (x *TemplateData) GetVersion() int32
- func (*TemplateData) ProtoMessage()
- func (x *TemplateData) ProtoReflect() protoreflect.Message
- func (x *TemplateData) Reset()
- func (x *TemplateData) String() string
- type TemplateField
- func (*TemplateField) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateField) GetDescription() string
- func (x *TemplateField) GetOptional() bool
- func (x *TemplateField) GetTitle() string
- func (x *TemplateField) GetType() FieldType
- func (x *TemplateField) GetUriData() *UriFieldData
- func (*TemplateField) ProtoMessage()
- func (x *TemplateField) ProtoReflect() protoreflect.Message
- func (x *TemplateField) Reset()
- func (x *TemplateField) String() string
- type TemplateFieldPatch
- func (*TemplateFieldPatch) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateFieldPatch) GetDescription() string
- func (x *TemplateFieldPatch) GetTitle() string
- func (x *TemplateFieldPatch) GetUriData() *UriFieldData
- func (*TemplateFieldPatch) ProtoMessage()
- func (x *TemplateFieldPatch) ProtoReflect() protoreflect.Message
- func (x *TemplateFieldPatch) Reset()
- func (x *TemplateFieldPatch) String() string
- type UnimplementedCredentialTemplatesServer
- func (UnimplementedCredentialTemplatesServer) Create(context.Context, *CreateCredentialTemplateRequest) (*CreateCredentialTemplateResponse, error)
- func (UnimplementedCredentialTemplatesServer) CreateVerificationTemplate(context.Context, *CreateVerificationTemplateRequest) (*CreateVerificationTemplateResponse, error)
- func (UnimplementedCredentialTemplatesServer) Delete(context.Context, *DeleteCredentialTemplateRequest) (*DeleteCredentialTemplateResponse, error)
- func (UnimplementedCredentialTemplatesServer) DeleteVerificationTemplate(context.Context, *DeleteVerificationTemplateRequest) (*DeleteVerificationTemplateResponse, error)
- func (UnimplementedCredentialTemplatesServer) Get(context.Context, *GetCredentialTemplateRequest) (*GetCredentialTemplateResponse, error)
- func (UnimplementedCredentialTemplatesServer) GetVerificationTemplate(context.Context, *GetVerificationTemplateRequest) (*GetVerificationTemplateResponse, error)
- func (UnimplementedCredentialTemplatesServer) List(context.Context, *ListCredentialTemplatesRequest) (*ListCredentialTemplatesResponse, error)
- func (UnimplementedCredentialTemplatesServer) ListVerificationTemplates(context.Context, *ListVerificationTemplatesRequest) (*ListVerificationTemplatesResponse, error)
- func (UnimplementedCredentialTemplatesServer) Search(context.Context, *SearchCredentialTemplatesRequest) (*SearchCredentialTemplatesResponse, error)
- func (UnimplementedCredentialTemplatesServer) Update(context.Context, *UpdateCredentialTemplateRequest) (*UpdateCredentialTemplateResponse, error)
- func (UnimplementedCredentialTemplatesServer) UpdateVerificationTemplate(context.Context, *UpdateVerificationTemplateRequest) (*UpdateVerificationTemplateResponse, error)
- type UnsafeCredentialTemplatesServer
- type UpdateCredentialTemplateRequest
- func (*UpdateCredentialTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCredentialTemplateRequest) GetAppleWalletOptions() *AppleWalletOptions
- func (x *UpdateCredentialTemplateRequest) GetDescription() string
- func (x *UpdateCredentialTemplateRequest) GetFieldOrdering() map[string]*FieldOrdering
- func (x *UpdateCredentialTemplateRequest) GetFields() map[string]*TemplateFieldPatch
- func (x *UpdateCredentialTemplateRequest) GetId() string
- func (x *UpdateCredentialTemplateRequest) GetTitle() string
- func (*UpdateCredentialTemplateRequest) ProtoMessage()
- func (x *UpdateCredentialTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCredentialTemplateRequest) Reset()
- func (x *UpdateCredentialTemplateRequest) String() string
- type UpdateCredentialTemplateResponse
- func (*UpdateCredentialTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCredentialTemplateResponse) GetUpdatedTemplate() *TemplateData
- func (*UpdateCredentialTemplateResponse) ProtoMessage()
- func (x *UpdateCredentialTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCredentialTemplateResponse) Reset()
- func (x *UpdateCredentialTemplateResponse) String() string
- type UpdateVerificationTemplateRequest
- func (*UpdateVerificationTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVerificationTemplateRequest) GetDescription() string
- func (x *UpdateVerificationTemplateRequest) GetFields() map[string]*VerificationTemplateFieldPatch
- func (x *UpdateVerificationTemplateRequest) GetId() string
- func (x *UpdateVerificationTemplateRequest) GetTitle() string
- func (*UpdateVerificationTemplateRequest) ProtoMessage()
- func (x *UpdateVerificationTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateVerificationTemplateRequest) Reset()
- func (x *UpdateVerificationTemplateRequest) String() string
- type UpdateVerificationTemplateResponse
- func (*UpdateVerificationTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVerificationTemplateResponse) GetTemplate() *VerificationTemplateData
- func (*UpdateVerificationTemplateResponse) ProtoMessage()
- func (x *UpdateVerificationTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateVerificationTemplateResponse) Reset()
- func (x *UpdateVerificationTemplateResponse) String() string
- type UriFieldData
- func (*UriFieldData) Descriptor() ([]byte, []int)deprecated
- func (x *UriFieldData) GetMimeType() string
- func (x *UriFieldData) GetRenderMethod() UriRenderMethod
- func (*UriFieldData) ProtoMessage()
- func (x *UriFieldData) ProtoReflect() protoreflect.Message
- func (x *UriFieldData) Reset()
- func (x *UriFieldData) String() string
- type UriRenderMethod
- func (UriRenderMethod) Descriptor() protoreflect.EnumDescriptor
- func (x UriRenderMethod) Enum() *UriRenderMethod
- func (UriRenderMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x UriRenderMethod) Number() protoreflect.EnumNumber
- func (x UriRenderMethod) String() string
- func (UriRenderMethod) Type() protoreflect.EnumType
- type VerificationShareType
- func (VerificationShareType) Descriptor() protoreflect.EnumDescriptor
- func (x VerificationShareType) Enum() *VerificationShareType
- func (VerificationShareType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VerificationShareType) Number() protoreflect.EnumNumber
- func (x VerificationShareType) String() string
- func (VerificationShareType) Type() protoreflect.EnumType
- type VerificationTemplateData
- func (*VerificationTemplateData) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationTemplateData) GetCreatedBy() string
- func (x *VerificationTemplateData) GetCredentialTemplateId() string
- func (x *VerificationTemplateData) GetDateCreated() string
- func (x *VerificationTemplateData) GetDescription() string
- func (x *VerificationTemplateData) GetEcosystemId() string
- func (x *VerificationTemplateData) GetFields() map[string]*VerificationTemplateField
- func (x *VerificationTemplateData) GetId() string
- func (x *VerificationTemplateData) GetName() string
- func (x *VerificationTemplateData) GetTitle() string
- func (x *VerificationTemplateData) GetType() string
- func (x *VerificationTemplateData) GetVersion() int32
- func (*VerificationTemplateData) ProtoMessage()
- func (x *VerificationTemplateData) ProtoReflect() protoreflect.Message
- func (x *VerificationTemplateData) Reset()
- func (x *VerificationTemplateData) String() string
- type VerificationTemplateField
- func (*VerificationTemplateField) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationTemplateField) GetFieldShareType() VerificationShareType
- func (x *VerificationTemplateField) GetUsagePolicy() string
- func (*VerificationTemplateField) ProtoMessage()
- func (x *VerificationTemplateField) ProtoReflect() protoreflect.Message
- func (x *VerificationTemplateField) Reset()
- func (x *VerificationTemplateField) String() string
- type VerificationTemplateFieldPatch
- func (*VerificationTemplateFieldPatch) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationTemplateFieldPatch) GetFieldShareType() VerificationShareType
- func (x *VerificationTemplateFieldPatch) GetUsagePolicy() string
- func (*VerificationTemplateFieldPatch) ProtoMessage()
- func (x *VerificationTemplateFieldPatch) ProtoReflect() protoreflect.Message
- func (x *VerificationTemplateFieldPatch) Reset()
- func (x *VerificationTemplateFieldPatch) String() string
Constants ¶
const ( CredentialTemplates_Create_FullMethodName = "/services.verifiablecredentials.templates.v1.CredentialTemplates/Create" CredentialTemplates_Get_FullMethodName = "/services.verifiablecredentials.templates.v1.CredentialTemplates/Get" CredentialTemplates_Update_FullMethodName = "/services.verifiablecredentials.templates.v1.CredentialTemplates/Update" CredentialTemplates_List_FullMethodName = "/services.verifiablecredentials.templates.v1.CredentialTemplates/List" CredentialTemplates_Search_FullMethodName = "/services.verifiablecredentials.templates.v1.CredentialTemplates/Search" CredentialTemplates_Delete_FullMethodName = "/services.verifiablecredentials.templates.v1.CredentialTemplates/Delete" CredentialTemplates_CreateVerificationTemplate_FullMethodName = "/services.verifiablecredentials.templates.v1.CredentialTemplates/CreateVerificationTemplate" CredentialTemplates_ListVerificationTemplates_FullMethodName = "/services.verifiablecredentials.templates.v1.CredentialTemplates/ListVerificationTemplates" CredentialTemplates_GetVerificationTemplate_FullMethodName = "/services.verifiablecredentials.templates.v1.CredentialTemplates/GetVerificationTemplate" CredentialTemplates_UpdateVerificationTemplate_FullMethodName = "/services.verifiablecredentials.templates.v1.CredentialTemplates/UpdateVerificationTemplate" CredentialTemplates_DeleteVerificationTemplate_FullMethodName = "/services.verifiablecredentials.templates.v1.CredentialTemplates/DeleteVerificationTemplate" )
Variables ¶
var ( FieldType_name = map[int32]string{ 0: "STRING", 1: "NUMBER", 2: "BOOL", 4: "DATETIME", 5: "URI", } FieldType_value = map[string]int32{ "STRING": 0, "NUMBER": 1, "BOOL": 2, "DATETIME": 4, "URI": 5, } )
Enum value maps for FieldType.
var ( UriRenderMethod_name = map[int32]string{ 0: "TEXT", 1: "LINK", 2: "INLINE_IMAGE", } UriRenderMethod_value = map[string]int32{ "TEXT": 0, "LINK": 1, "INLINE_IMAGE": 2, } )
Enum value maps for UriRenderMethod.
var (0: "OPTIONAL", 1: "REQUIRED", } "OPTIONAL": 0, "REQUIRED": 1, } )
Enum value maps for VerificationShareType.
var CredentialTemplates_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.verifiablecredentials.templates.v1.CredentialTemplates", HandlerType: (*CredentialTemplatesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _CredentialTemplates_Create_Handler, }, { MethodName: "Get", Handler: _CredentialTemplates_Get_Handler, }, { MethodName: "Update", Handler: _CredentialTemplates_Update_Handler, }, { MethodName: "List", Handler: _CredentialTemplates_List_Handler, }, { MethodName: "Search", Handler: _CredentialTemplates_Search_Handler, }, { MethodName: "Delete", Handler: _CredentialTemplates_Delete_Handler, }, { MethodName: "CreateVerificationTemplate", Handler: _CredentialTemplates_CreateVerificationTemplate_Handler, }, { MethodName: "ListVerificationTemplates", Handler: _CredentialTemplates_ListVerificationTemplates_Handler, }, { MethodName: "GetVerificationTemplate", Handler: _CredentialTemplates_GetVerificationTemplate_Handler, }, { MethodName: "UpdateVerificationTemplate", Handler: _CredentialTemplates_UpdateVerificationTemplate_Handler, }, { MethodName: "DeleteVerificationTemplate", Handler: _CredentialTemplates_DeleteVerificationTemplate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services/verifiable-credentials/templates/v1/templates.proto", }
CredentialTemplates_ServiceDesc is the grpc.ServiceDesc for CredentialTemplates service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_services_verifiable_credentials_templates_v1_templates_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCredentialTemplatesServer ¶
func RegisterCredentialTemplatesServer(s grpc.ServiceRegistrar, srv CredentialTemplatesServer)
Types ¶
type AppleWalletOptions ¶ added in v1.11.0
type AppleWalletOptions struct { // Background color, in hex format, of credential when stored in an Apple Wallet. BackgroundColor string `protobuf:"bytes,1,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"` // Foreground color, in hex format, of credential when stored in an Apple Wallet. ForegroundColor string `protobuf:"bytes,2,opt,name=foreground_color,json=foregroundColor,proto3" json:"foreground_color,omitempty"` // Label color, in hex format, of credential when stored in an Apple Wallet. LabelColor string `protobuf:"bytes,3,opt,name=label_color,json=labelColor,proto3" json:"label_color,omitempty"` // The ID of the template field which should be used as the primary field of a credential. PrimaryField string `protobuf:"bytes,4,opt,name=primary_field,json=primaryField,proto3" json:"primary_field,omitempty"` // The secondary fields of the credential. This is a mapping between the order of a secondary field (0 or 1) and the field name. SecondaryFields []string `protobuf:"bytes,5,rep,name=secondary_fields,json=secondaryFields,proto3" json:"secondary_fields,omitempty"` // The auxiliary fields of the credential. This is a mapping between the order of an auxiliary field (0 or 1) and the field name. AuxiliaryFields []string `protobuf:"bytes,6,rep,name=auxiliary_fields,json=auxiliaryFields,proto3" json:"auxiliary_fields,omitempty"` // contains filtered or unexported fields }
Configuration options for Apple Wallet when
func (*AppleWalletOptions) Descriptor
deprecated
added in
v1.11.0
func (*AppleWalletOptions) Descriptor() ([]byte, []int)
Deprecated: Use AppleWalletOptions.ProtoReflect.Descriptor instead.
func (*AppleWalletOptions) GetAuxiliaryFields ¶ added in v1.11.0
func (x *AppleWalletOptions) GetAuxiliaryFields() []string
func (*AppleWalletOptions) GetBackgroundColor ¶ added in v1.11.0
func (x *AppleWalletOptions) GetBackgroundColor() string
func (*AppleWalletOptions) GetForegroundColor ¶ added in v1.11.0
func (x *AppleWalletOptions) GetForegroundColor() string
func (*AppleWalletOptions) GetLabelColor ¶ added in v1.11.0
func (x *AppleWalletOptions) GetLabelColor() string
func (*AppleWalletOptions) GetPrimaryField ¶ added in v1.11.0
func (x *AppleWalletOptions) GetPrimaryField() string
func (*AppleWalletOptions) GetSecondaryFields ¶ added in v1.11.0
func (x *AppleWalletOptions) GetSecondaryFields() []string
func (*AppleWalletOptions) ProtoMessage ¶ added in v1.11.0
func (*AppleWalletOptions) ProtoMessage()
func (*AppleWalletOptions) ProtoReflect ¶ added in v1.11.0
func (x *AppleWalletOptions) ProtoReflect() protoreflect.Message
func (*AppleWalletOptions) Reset ¶ added in v1.11.0
func (x *AppleWalletOptions) Reset()
func (*AppleWalletOptions) String ¶ added in v1.11.0
func (x *AppleWalletOptions) String() string
type CreateCredentialTemplateRequest ¶
type CreateCredentialTemplateRequest struct { // Name of new template. Must be a unique identifier within its ecosystem. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields which compose the template Fields map[string]*TemplateField `` /* 153-byte string literal not displayed */ // Whether credentials may be issued against this template which have fields // not specified in `fields` AllowAdditionalFields bool `` /* 127-byte string literal not displayed */ // Human-readable name of template Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // Human-readable description of template Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Optional map describing how to order and categorize the fields within the template. The key of this map is the field `name`. // If not provided, this will be auto-generated. FieldOrdering map[string]*FieldOrdering `` /* 188-byte string literal not displayed */ // Options for rendering the template in Apple Wallet AppleWalletOptions *AppleWalletOptions `protobuf:"bytes,7,opt,name=apple_wallet_options,json=appleWalletOptions,proto3,oneof" json:"apple_wallet_options,omitempty"` // contains filtered or unexported fields }
Request to create a new template
func (*CreateCredentialTemplateRequest) Descriptor
deprecated
func (*CreateCredentialTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCredentialTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateCredentialTemplateRequest) GetAllowAdditionalFields ¶
func (x *CreateCredentialTemplateRequest) GetAllowAdditionalFields() bool
func (*CreateCredentialTemplateRequest) GetAppleWalletOptions ¶ added in v1.11.0
func (x *CreateCredentialTemplateRequest) GetAppleWalletOptions() *AppleWalletOptions
func (*CreateCredentialTemplateRequest) GetDescription ¶ added in v1.11.0
func (x *CreateCredentialTemplateRequest) GetDescription() string
func (*CreateCredentialTemplateRequest) GetFieldOrdering ¶ added in v1.11.0
func (x *CreateCredentialTemplateRequest) GetFieldOrdering() map[string]*FieldOrdering
func (*CreateCredentialTemplateRequest) GetFields ¶
func (x *CreateCredentialTemplateRequest) GetFields() map[string]*TemplateField
func (*CreateCredentialTemplateRequest) GetName ¶
func (x *CreateCredentialTemplateRequest) GetName() string
func (*CreateCredentialTemplateRequest) GetTitle ¶ added in v1.11.0
func (x *CreateCredentialTemplateRequest) GetTitle() string
func (*CreateCredentialTemplateRequest) ProtoMessage ¶
func (*CreateCredentialTemplateRequest) ProtoMessage()
func (*CreateCredentialTemplateRequest) ProtoReflect ¶
func (x *CreateCredentialTemplateRequest) ProtoReflect() protoreflect.Message
func (*CreateCredentialTemplateRequest) Reset ¶
func (x *CreateCredentialTemplateRequest) Reset()
func (*CreateCredentialTemplateRequest) String ¶
func (x *CreateCredentialTemplateRequest) String() string
type CreateCredentialTemplateResponse ¶
type CreateCredentialTemplateResponse struct { // Created template Data *TemplateData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Response to `CreateCredentialTemplateRequest`
func (*CreateCredentialTemplateResponse) Descriptor
deprecated
func (*CreateCredentialTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCredentialTemplateResponse.ProtoReflect.Descriptor instead.
func (*CreateCredentialTemplateResponse) GetData ¶
func (x *CreateCredentialTemplateResponse) GetData() *TemplateData
func (*CreateCredentialTemplateResponse) ProtoMessage ¶
func (*CreateCredentialTemplateResponse) ProtoMessage()
func (*CreateCredentialTemplateResponse) ProtoReflect ¶
func (x *CreateCredentialTemplateResponse) ProtoReflect() protoreflect.Message
func (*CreateCredentialTemplateResponse) Reset ¶
func (x *CreateCredentialTemplateResponse) Reset()
func (*CreateCredentialTemplateResponse) String ¶
func (x *CreateCredentialTemplateResponse) String() string
type CreateVerificationTemplateRequest ¶ added in v1.11.8
type CreateVerificationTemplateRequest struct { // Name of new template. Must be a unique identifier within its ecosystem. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields which will be required in the verification proof template Fields map[string]*VerificationTemplateField `` // TODO - Add support for predicate types - currently only equality. /* 153-byte string literal not displayed */ // Source credential template, used for verifying that the specified `fields` are present in the credential template CredentialTemplateId string `protobuf:"bytes,3,opt,name=credential_template_id,json=credentialTemplateId,proto3" json:"credential_template_id,omitempty"` // Human-readable name of template Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // Human-readable description of template Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateVerificationTemplateRequest) Descriptor
deprecated
added in
v1.11.8
func (*CreateVerificationTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVerificationTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateVerificationTemplateRequest) GetCredentialTemplateId ¶ added in v1.11.8
func (x *CreateVerificationTemplateRequest) GetCredentialTemplateId() string
func (*CreateVerificationTemplateRequest) GetDescription ¶ added in v1.11.8
func (x *CreateVerificationTemplateRequest) GetDescription() string
func (*CreateVerificationTemplateRequest) GetFields ¶ added in v1.11.8
func (x *CreateVerificationTemplateRequest) GetFields() map[string]*VerificationTemplateField
func (*CreateVerificationTemplateRequest) GetName ¶ added in v1.11.8
func (x *CreateVerificationTemplateRequest) GetName() string
func (*CreateVerificationTemplateRequest) GetTitle ¶ added in v1.11.8
func (x *CreateVerificationTemplateRequest) GetTitle() string
func (*CreateVerificationTemplateRequest) ProtoMessage ¶ added in v1.11.8
func (*CreateVerificationTemplateRequest) ProtoMessage()
func (*CreateVerificationTemplateRequest) ProtoReflect ¶ added in v1.11.8
func (x *CreateVerificationTemplateRequest) ProtoReflect() protoreflect.Message
func (*CreateVerificationTemplateRequest) Reset ¶ added in v1.11.8
func (x *CreateVerificationTemplateRequest) Reset()
func (*CreateVerificationTemplateRequest) String ¶ added in v1.11.8
func (x *CreateVerificationTemplateRequest) String() string
type CreateVerificationTemplateResponse ¶ added in v1.11.8
type CreateVerificationTemplateResponse struct { Data *VerificationTemplateData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateVerificationTemplateResponse) Descriptor
deprecated
added in
v1.11.8
func (*CreateVerificationTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateVerificationTemplateResponse.ProtoReflect.Descriptor instead.
func (*CreateVerificationTemplateResponse) GetData ¶ added in v1.11.8
func (x *CreateVerificationTemplateResponse) GetData() *VerificationTemplateData
func (*CreateVerificationTemplateResponse) ProtoMessage ¶ added in v1.11.8
func (*CreateVerificationTemplateResponse) ProtoMessage()
func (*CreateVerificationTemplateResponse) ProtoReflect ¶ added in v1.11.8
func (x *CreateVerificationTemplateResponse) ProtoReflect() protoreflect.Message
func (*CreateVerificationTemplateResponse) Reset ¶ added in v1.11.8
func (x *CreateVerificationTemplateResponse) Reset()
func (*CreateVerificationTemplateResponse) String ¶ added in v1.11.8
func (x *CreateVerificationTemplateResponse) String() string
type CredentialTemplatesClient ¶
type CredentialTemplatesClient interface { // Create a credential template in the current ecosystem Create(ctx context.Context, in *CreateCredentialTemplateRequest, opts ...grpc.CallOption) (*CreateCredentialTemplateResponse, error) // Fetch a credential template by ID Get(ctx context.Context, in *GetCredentialTemplateRequest, opts ...grpc.CallOption) (*GetCredentialTemplateResponse, error) // Update metadata of a template Update(ctx context.Context, in *UpdateCredentialTemplateRequest, opts ...grpc.CallOption) (*UpdateCredentialTemplateResponse, error) // Search credential templates using SQL, returning strongly-typed template data List(ctx context.Context, in *ListCredentialTemplatesRequest, opts ...grpc.CallOption) (*ListCredentialTemplatesResponse, error) // Search credential templates using SQL, returning raw JSON data Search(ctx context.Context, in *SearchCredentialTemplatesRequest, opts ...grpc.CallOption) (*SearchCredentialTemplatesResponse, error) // Delete a credential template from the current ecosystem by ID Delete(ctx context.Context, in *DeleteCredentialTemplateRequest, opts ...grpc.CallOption) (*DeleteCredentialTemplateResponse, error) // Create/update verification templates CreateVerificationTemplate(ctx context.Context, in *CreateVerificationTemplateRequest, opts ...grpc.CallOption) (*CreateVerificationTemplateResponse, error) ListVerificationTemplates(ctx context.Context, in *ListVerificationTemplatesRequest, opts ...grpc.CallOption) (*ListVerificationTemplatesResponse, error) GetVerificationTemplate(ctx context.Context, in *GetVerificationTemplateRequest, opts ...grpc.CallOption) (*GetVerificationTemplateResponse, error) UpdateVerificationTemplate(ctx context.Context, in *UpdateVerificationTemplateRequest, opts ...grpc.CallOption) (*UpdateVerificationTemplateResponse, error) DeleteVerificationTemplate(ctx context.Context, in *DeleteVerificationTemplateRequest, opts ...grpc.CallOption) (*DeleteVerificationTemplateResponse, error) }
CredentialTemplatesClient is the client API for CredentialTemplates 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.
func NewCredentialTemplatesClient ¶
func NewCredentialTemplatesClient(cc grpc.ClientConnInterface) CredentialTemplatesClient
type CredentialTemplatesServer ¶
type CredentialTemplatesServer interface { // Create a credential template in the current ecosystem Create(context.Context, *CreateCredentialTemplateRequest) (*CreateCredentialTemplateResponse, error) // Fetch a credential template by ID Get(context.Context, *GetCredentialTemplateRequest) (*GetCredentialTemplateResponse, error) // Update metadata of a template Update(context.Context, *UpdateCredentialTemplateRequest) (*UpdateCredentialTemplateResponse, error) // Search credential templates using SQL, returning strongly-typed template data List(context.Context, *ListCredentialTemplatesRequest) (*ListCredentialTemplatesResponse, error) // Search credential templates using SQL, returning raw JSON data Search(context.Context, *SearchCredentialTemplatesRequest) (*SearchCredentialTemplatesResponse, error) // Delete a credential template from the current ecosystem by ID Delete(context.Context, *DeleteCredentialTemplateRequest) (*DeleteCredentialTemplateResponse, error) // Create/update verification templates CreateVerificationTemplate(context.Context, *CreateVerificationTemplateRequest) (*CreateVerificationTemplateResponse, error) ListVerificationTemplates(context.Context, *ListVerificationTemplatesRequest) (*ListVerificationTemplatesResponse, error) GetVerificationTemplate(context.Context, *GetVerificationTemplateRequest) (*GetVerificationTemplateResponse, error) UpdateVerificationTemplate(context.Context, *UpdateVerificationTemplateRequest) (*UpdateVerificationTemplateResponse, error) DeleteVerificationTemplate(context.Context, *DeleteVerificationTemplateRequest) (*DeleteVerificationTemplateResponse, error) // contains filtered or unexported methods }
CredentialTemplatesServer is the server API for CredentialTemplates service. All implementations must embed UnimplementedCredentialTemplatesServer for forward compatibility
type DeleteCredentialTemplateRequest ¶
type DeleteCredentialTemplateRequest struct { // ID of template to delete Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request to delete a template by ID
func (*DeleteCredentialTemplateRequest) Descriptor
deprecated
func (*DeleteCredentialTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCredentialTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteCredentialTemplateRequest) GetId ¶
func (x *DeleteCredentialTemplateRequest) GetId() string
func (*DeleteCredentialTemplateRequest) ProtoMessage ¶
func (*DeleteCredentialTemplateRequest) ProtoMessage()
func (*DeleteCredentialTemplateRequest) ProtoReflect ¶
func (x *DeleteCredentialTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteCredentialTemplateRequest) Reset ¶
func (x *DeleteCredentialTemplateRequest) Reset()
func (*DeleteCredentialTemplateRequest) String ¶
func (x *DeleteCredentialTemplateRequest) String() string
type DeleteCredentialTemplateResponse ¶
type DeleteCredentialTemplateResponse struct {
// contains filtered or unexported fields
}
Response to `DeleteCredentialTemplateRequest`
func (*DeleteCredentialTemplateResponse) Descriptor
deprecated
func (*DeleteCredentialTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCredentialTemplateResponse.ProtoReflect.Descriptor instead.
func (*DeleteCredentialTemplateResponse) ProtoMessage ¶
func (*DeleteCredentialTemplateResponse) ProtoMessage()
func (*DeleteCredentialTemplateResponse) ProtoReflect ¶
func (x *DeleteCredentialTemplateResponse) ProtoReflect() protoreflect.Message
func (*DeleteCredentialTemplateResponse) Reset ¶
func (x *DeleteCredentialTemplateResponse) Reset()
func (*DeleteCredentialTemplateResponse) String ¶
func (x *DeleteCredentialTemplateResponse) String() string
type DeleteVerificationTemplateRequest ¶ added in v1.11.8
type DeleteVerificationTemplateRequest struct { VerificationTemplateId string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeleteVerificationTemplateRequest) Descriptor
deprecated
added in
v1.11.8
func (*DeleteVerificationTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVerificationTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteVerificationTemplateRequest) GetVerificationTemplateId ¶ added in v1.11.8
func (x *DeleteVerificationTemplateRequest) GetVerificationTemplateId() string
func (*DeleteVerificationTemplateRequest) ProtoMessage ¶ added in v1.11.8
func (*DeleteVerificationTemplateRequest) ProtoMessage()
func (*DeleteVerificationTemplateRequest) ProtoReflect ¶ added in v1.11.8
func (x *DeleteVerificationTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteVerificationTemplateRequest) Reset ¶ added in v1.11.8
func (x *DeleteVerificationTemplateRequest) Reset()
func (*DeleteVerificationTemplateRequest) String ¶ added in v1.11.8
func (x *DeleteVerificationTemplateRequest) String() string
type DeleteVerificationTemplateResponse ¶ added in v1.11.8
type DeleteVerificationTemplateResponse struct {
// contains filtered or unexported fields
}
func (*DeleteVerificationTemplateResponse) Descriptor
deprecated
added in
v1.11.8
func (*DeleteVerificationTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVerificationTemplateResponse.ProtoReflect.Descriptor instead.
func (*DeleteVerificationTemplateResponse) ProtoMessage ¶ added in v1.11.8
func (*DeleteVerificationTemplateResponse) ProtoMessage()
func (*DeleteVerificationTemplateResponse) ProtoReflect ¶ added in v1.11.8
func (x *DeleteVerificationTemplateResponse) ProtoReflect() protoreflect.Message
func (*DeleteVerificationTemplateResponse) Reset ¶ added in v1.11.8
func (x *DeleteVerificationTemplateResponse) Reset()
func (*DeleteVerificationTemplateResponse) String ¶ added in v1.11.8
func (x *DeleteVerificationTemplateResponse) String() string
type FieldOrdering ¶ added in v1.11.0
type FieldOrdering struct { // The order of the field; must be unique within the Template. Fields are sorted by order ascending when displaying a credential. // Field orders must be contiguous from `0` to the number of fields minus 1. Order int32 `protobuf:"varint,1,opt,name=order,proto3" json:"order,omitempty"` // The human-readable name of the section this field appears in; used to group together fields when displaying a credential. // Sections must be contiguous with respect to `order`. Section string `protobuf:"bytes,2,opt,name=section,proto3" json:"section,omitempty"` // contains filtered or unexported fields }
Ordering information for a template field
func (*FieldOrdering) Descriptor
deprecated
added in
v1.11.0
func (*FieldOrdering) Descriptor() ([]byte, []int)
Deprecated: Use FieldOrdering.ProtoReflect.Descriptor instead.
func (*FieldOrdering) GetOrder ¶ added in v1.11.0
func (x *FieldOrdering) GetOrder() int32
func (*FieldOrdering) GetSection ¶ added in v1.11.0
func (x *FieldOrdering) GetSection() string
func (*FieldOrdering) ProtoMessage ¶ added in v1.11.0
func (*FieldOrdering) ProtoMessage()
func (*FieldOrdering) ProtoReflect ¶ added in v1.11.0
func (x *FieldOrdering) ProtoReflect() protoreflect.Message
func (*FieldOrdering) Reset ¶ added in v1.11.0
func (x *FieldOrdering) Reset()
func (*FieldOrdering) String ¶ added in v1.11.0
func (x *FieldOrdering) String() string
type FieldType ¶
type FieldType int32
Valid types for credential fields
func (FieldType) Descriptor ¶
func (FieldType) Descriptor() protoreflect.EnumDescriptor
func (FieldType) EnumDescriptor
deprecated
func (FieldType) Number ¶
func (x FieldType) Number() protoreflect.EnumNumber
func (FieldType) Type ¶
func (FieldType) Type() protoreflect.EnumType
type GetCredentialTemplateRequest ¶
type GetCredentialTemplateRequest struct { // ID of template to fetch Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request to fetch a template by ID
func (*GetCredentialTemplateRequest) Descriptor
deprecated
func (*GetCredentialTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCredentialTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetCredentialTemplateRequest) GetId ¶
func (x *GetCredentialTemplateRequest) GetId() string
func (*GetCredentialTemplateRequest) ProtoMessage ¶
func (*GetCredentialTemplateRequest) ProtoMessage()
func (*GetCredentialTemplateRequest) ProtoReflect ¶
func (x *GetCredentialTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetCredentialTemplateRequest) Reset ¶
func (x *GetCredentialTemplateRequest) Reset()
func (*GetCredentialTemplateRequest) String ¶
func (x *GetCredentialTemplateRequest) String() string
type GetCredentialTemplateResponse ¶
type GetCredentialTemplateResponse struct { // Template fetched by ID Template *TemplateData `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
Response to `GetCredentialTemplateRequest`
func (*GetCredentialTemplateResponse) Descriptor
deprecated
func (*GetCredentialTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCredentialTemplateResponse.ProtoReflect.Descriptor instead.
func (*GetCredentialTemplateResponse) GetTemplate ¶
func (x *GetCredentialTemplateResponse) GetTemplate() *TemplateData
func (*GetCredentialTemplateResponse) ProtoMessage ¶
func (*GetCredentialTemplateResponse) ProtoMessage()
func (*GetCredentialTemplateResponse) ProtoReflect ¶
func (x *GetCredentialTemplateResponse) ProtoReflect() protoreflect.Message
func (*GetCredentialTemplateResponse) Reset ¶
func (x *GetCredentialTemplateResponse) Reset()
func (*GetCredentialTemplateResponse) String ¶
func (x *GetCredentialTemplateResponse) String() string
type GetVerificationTemplateRequest ¶ added in v1.11.8
type GetVerificationTemplateRequest struct { // ID of template to fetch Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request to fetch a template by ID
func (*GetVerificationTemplateRequest) Descriptor
deprecated
added in
v1.11.8
func (*GetVerificationTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVerificationTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetVerificationTemplateRequest) GetId ¶ added in v1.11.8
func (x *GetVerificationTemplateRequest) GetId() string
func (*GetVerificationTemplateRequest) ProtoMessage ¶ added in v1.11.8
func (*GetVerificationTemplateRequest) ProtoMessage()
func (*GetVerificationTemplateRequest) ProtoReflect ¶ added in v1.11.8
func (x *GetVerificationTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetVerificationTemplateRequest) Reset ¶ added in v1.11.8
func (x *GetVerificationTemplateRequest) Reset()
func (*GetVerificationTemplateRequest) String ¶ added in v1.11.8
func (x *GetVerificationTemplateRequest) String() string
type GetVerificationTemplateResponse ¶ added in v1.11.8
type GetVerificationTemplateResponse struct { // Template fetched by ID Template *VerificationTemplateData `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
Response to `GetCredentialTemplateRequest`
func (*GetVerificationTemplateResponse) Descriptor
deprecated
added in
v1.11.8
func (*GetVerificationTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVerificationTemplateResponse.ProtoReflect.Descriptor instead.
func (*GetVerificationTemplateResponse) GetTemplate ¶ added in v1.11.8
func (x *GetVerificationTemplateResponse) GetTemplate() *VerificationTemplateData
func (*GetVerificationTemplateResponse) ProtoMessage ¶ added in v1.11.8
func (*GetVerificationTemplateResponse) ProtoMessage()
func (*GetVerificationTemplateResponse) ProtoReflect ¶ added in v1.11.8
func (x *GetVerificationTemplateResponse) ProtoReflect() protoreflect.Message
func (*GetVerificationTemplateResponse) Reset ¶ added in v1.11.8
func (x *GetVerificationTemplateResponse) Reset()
func (*GetVerificationTemplateResponse) String ¶ added in v1.11.8
func (x *GetVerificationTemplateResponse) String() string
type ListCredentialTemplatesRequest ¶
type ListCredentialTemplatesRequest struct { // SQL query to execute. Example: `SELECT * FROM c WHERE c.name = 'Diploma'` Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // 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 using a SQL query
func (*ListCredentialTemplatesRequest) Descriptor
deprecated
func (*ListCredentialTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCredentialTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListCredentialTemplatesRequest) GetContinuationToken ¶
func (x *ListCredentialTemplatesRequest) GetContinuationToken() string
func (*ListCredentialTemplatesRequest) GetQuery ¶
func (x *ListCredentialTemplatesRequest) GetQuery() string
func (*ListCredentialTemplatesRequest) ProtoMessage ¶
func (*ListCredentialTemplatesRequest) ProtoMessage()
func (*ListCredentialTemplatesRequest) ProtoReflect ¶
func (x *ListCredentialTemplatesRequest) ProtoReflect() protoreflect.Message
func (*ListCredentialTemplatesRequest) Reset ¶
func (x *ListCredentialTemplatesRequest) Reset()
func (*ListCredentialTemplatesRequest) String ¶
func (x *ListCredentialTemplatesRequest) String() string
type ListCredentialTemplatesResponse ¶
type ListCredentialTemplatesResponse struct { // Templates found by query Templates []*TemplateData `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,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 `ListCredentialTemplatesRequest` ContinuationToken string `protobuf:"bytes,3,opt,name=continuation_token,json=continuationToken,proto3" json:"continuation_token,omitempty"` // contains filtered or unexported fields }
Response to `ListCredentialTemplatesRequest`
func (*ListCredentialTemplatesResponse) Descriptor
deprecated
func (*ListCredentialTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCredentialTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListCredentialTemplatesResponse) GetContinuationToken ¶
func (x *ListCredentialTemplatesResponse) GetContinuationToken() string
func (*ListCredentialTemplatesResponse) GetHasMoreResults ¶
func (x *ListCredentialTemplatesResponse) GetHasMoreResults() bool
func (*ListCredentialTemplatesResponse) GetTemplates ¶
func (x *ListCredentialTemplatesResponse) GetTemplates() []*TemplateData
func (*ListCredentialTemplatesResponse) ProtoMessage ¶
func (*ListCredentialTemplatesResponse) ProtoMessage()
func (*ListCredentialTemplatesResponse) ProtoReflect ¶
func (x *ListCredentialTemplatesResponse) ProtoReflect() protoreflect.Message
func (*ListCredentialTemplatesResponse) Reset ¶
func (x *ListCredentialTemplatesResponse) Reset()
func (*ListCredentialTemplatesResponse) String ¶
func (x *ListCredentialTemplatesResponse) String() string
type ListVerificationTemplatesRequest ¶ added in v1.11.8
type ListVerificationTemplatesRequest struct { // SQL query to execute. Example: `SELECT * FROM c WHERE c.name = 'Diploma'` Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // 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 using a SQL query
func (*ListVerificationTemplatesRequest) Descriptor
deprecated
added in
v1.11.8
func (*ListVerificationTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVerificationTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListVerificationTemplatesRequest) GetContinuationToken ¶ added in v1.11.8
func (x *ListVerificationTemplatesRequest) GetContinuationToken() string
func (*ListVerificationTemplatesRequest) GetQuery ¶ added in v1.11.8
func (x *ListVerificationTemplatesRequest) GetQuery() string
func (*ListVerificationTemplatesRequest) ProtoMessage ¶ added in v1.11.8
func (*ListVerificationTemplatesRequest) ProtoMessage()
func (*ListVerificationTemplatesRequest) ProtoReflect ¶ added in v1.11.8
func (x *ListVerificationTemplatesRequest) ProtoReflect() protoreflect.Message
func (*ListVerificationTemplatesRequest) Reset ¶ added in v1.11.8
func (x *ListVerificationTemplatesRequest) Reset()
func (*ListVerificationTemplatesRequest) String ¶ added in v1.11.8
func (x *ListVerificationTemplatesRequest) String() string
type ListVerificationTemplatesResponse ¶ added in v1.11.8
type ListVerificationTemplatesResponse struct { // Templates found by query Templates []*VerificationTemplateData `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,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 `ListVerificationTemplatesRequest` ContinuationToken string `protobuf:"bytes,3,opt,name=continuation_token,json=continuationToken,proto3" json:"continuation_token,omitempty"` // contains filtered or unexported fields }
func (*ListVerificationTemplatesResponse) Descriptor
deprecated
added in
v1.11.8
func (*ListVerificationTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVerificationTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListVerificationTemplatesResponse) GetContinuationToken ¶ added in v1.11.8
func (x *ListVerificationTemplatesResponse) GetContinuationToken() string
func (*ListVerificationTemplatesResponse) GetHasMoreResults ¶ added in v1.11.8
func (x *ListVerificationTemplatesResponse) GetHasMoreResults() bool
func (*ListVerificationTemplatesResponse) GetTemplates ¶ added in v1.11.8
func (x *ListVerificationTemplatesResponse) GetTemplates() []*VerificationTemplateData
func (*ListVerificationTemplatesResponse) ProtoMessage ¶ added in v1.11.8
func (*ListVerificationTemplatesResponse) ProtoMessage()
func (*ListVerificationTemplatesResponse) ProtoReflect ¶ added in v1.11.8
func (x *ListVerificationTemplatesResponse) ProtoReflect() protoreflect.Message
func (*ListVerificationTemplatesResponse) Reset ¶ added in v1.11.8
func (x *ListVerificationTemplatesResponse) Reset()
func (*ListVerificationTemplatesResponse) String ¶ added in v1.11.8
func (x *ListVerificationTemplatesResponse) String() string
type SearchCredentialTemplatesRequest ¶
type SearchCredentialTemplatesRequest struct { // SQL query to execute. Example: `SELECT * FROM c WHERE c.name = 'Diploma'` Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // Token provided by previous `SearchCredentialTemplatesResponse` // 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 templates using a SQL query
func (*SearchCredentialTemplatesRequest) Descriptor
deprecated
func (*SearchCredentialTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchCredentialTemplatesRequest.ProtoReflect.Descriptor instead.
func (*SearchCredentialTemplatesRequest) GetContinuationToken ¶
func (x *SearchCredentialTemplatesRequest) GetContinuationToken() string
func (*SearchCredentialTemplatesRequest) GetQuery ¶
func (x *SearchCredentialTemplatesRequest) GetQuery() string
func (*SearchCredentialTemplatesRequest) ProtoMessage ¶
func (*SearchCredentialTemplatesRequest) ProtoMessage()
func (*SearchCredentialTemplatesRequest) ProtoReflect ¶
func (x *SearchCredentialTemplatesRequest) ProtoReflect() protoreflect.Message
func (*SearchCredentialTemplatesRequest) Reset ¶
func (x *SearchCredentialTemplatesRequest) Reset()
func (*SearchCredentialTemplatesRequest) String ¶
func (x *SearchCredentialTemplatesRequest) String() string
type SearchCredentialTemplatesResponse ¶
type SearchCredentialTemplatesResponse struct { // Raw JSON data returned from query ItemsJson string `protobuf:"bytes,1,opt,name=items_json,json=itemsJson,proto3" json:"items_json,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 `SearchCredentialTemplatesRequest` ContinuationToken string `protobuf:"bytes,4,opt,name=continuation_token,json=continuationToken,proto3" json:"continuation_token,omitempty"` // contains filtered or unexported fields }
Response to `SearchCredentialTemplatesRequest`
func (*SearchCredentialTemplatesResponse) Descriptor
deprecated
func (*SearchCredentialTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchCredentialTemplatesResponse.ProtoReflect.Descriptor instead.
func (*SearchCredentialTemplatesResponse) GetContinuationToken ¶
func (x *SearchCredentialTemplatesResponse) GetContinuationToken() string
func (*SearchCredentialTemplatesResponse) GetHasMoreResults ¶ added in v1.11.0
func (x *SearchCredentialTemplatesResponse) GetHasMoreResults() bool
func (*SearchCredentialTemplatesResponse) GetItemsJson ¶
func (x *SearchCredentialTemplatesResponse) GetItemsJson() string
func (*SearchCredentialTemplatesResponse) ProtoMessage ¶
func (*SearchCredentialTemplatesResponse) ProtoMessage()
func (*SearchCredentialTemplatesResponse) ProtoReflect ¶
func (x *SearchCredentialTemplatesResponse) ProtoReflect() protoreflect.Message
func (*SearchCredentialTemplatesResponse) Reset ¶
func (x *SearchCredentialTemplatesResponse) Reset()
func (*SearchCredentialTemplatesResponse) String ¶
func (x *SearchCredentialTemplatesResponse) String() string
type TemplateData ¶
type TemplateData struct { // Template ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Template name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Template version number Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // Fields defined for the template Fields map[string]*TemplateField `` /* 153-byte string literal not displayed */ // Whether credentials issued against this template may // contain fields not defined by template AllowAdditionalFields bool `` /* 127-byte string literal not displayed */ // URI pointing to template JSON schema document SchemaUri string `protobuf:"bytes,6,opt,name=schema_uri,json=schemaUri,proto3" json:"schema_uri,omitempty"` // ID of ecosystem in which template resides EcosystemId string `protobuf:"bytes,8,opt,name=ecosystem_id,json=ecosystemId,proto3" json:"ecosystem_id,omitempty"` // Template type (`VerifiableCredential`) Type string `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty"` // ID of template creator CreatedBy string `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // Date when template was created as ISO 8601 utc string DateCreated string `protobuf:"bytes,11,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` // Human-readable template title Title string `protobuf:"bytes,12,opt,name=title,proto3" json:"title,omitempty"` // Human-readable template description Description string `protobuf:"bytes,13,opt,name=description,proto3" json:"description,omitempty"` // Map describing how to order and categorize the fields within the template. The key of this map is the field `name`. FieldOrdering map[string]*FieldOrdering `` /* 189-byte string literal not displayed */ // Options for rendering the template in Apple Wallet AppleWalletOptions *AppleWalletOptions `protobuf:"bytes,15,opt,name=apple_wallet_options,json=appleWalletOptions,proto3" json:"apple_wallet_options,omitempty"` // contains filtered or unexported fields }
Credential Template
func (*TemplateData) Descriptor
deprecated
func (*TemplateData) Descriptor() ([]byte, []int)
Deprecated: Use TemplateData.ProtoReflect.Descriptor instead.
func (*TemplateData) GetAllowAdditionalFields ¶
func (x *TemplateData) GetAllowAdditionalFields() bool
func (*TemplateData) GetAppleWalletOptions ¶ added in v1.11.0
func (x *TemplateData) GetAppleWalletOptions() *AppleWalletOptions
func (*TemplateData) GetCreatedBy ¶
func (x *TemplateData) GetCreatedBy() string
func (*TemplateData) GetDateCreated ¶ added in v1.8.0
func (x *TemplateData) GetDateCreated() string
func (*TemplateData) GetDescription ¶ added in v1.11.0
func (x *TemplateData) GetDescription() string
func (*TemplateData) GetEcosystemId ¶
func (x *TemplateData) GetEcosystemId() string
func (*TemplateData) GetFieldOrdering ¶ added in v1.11.0
func (x *TemplateData) GetFieldOrdering() map[string]*FieldOrdering
func (*TemplateData) GetFields ¶
func (x *TemplateData) GetFields() map[string]*TemplateField
func (*TemplateData) GetId ¶
func (x *TemplateData) GetId() string
func (*TemplateData) GetName ¶
func (x *TemplateData) GetName() string
func (*TemplateData) GetSchemaUri ¶
func (x *TemplateData) GetSchemaUri() string
func (*TemplateData) GetTitle ¶ added in v1.11.0
func (x *TemplateData) GetTitle() string
func (*TemplateData) GetType ¶
func (x *TemplateData) GetType() string
func (*TemplateData) GetVersion ¶
func (x *TemplateData) GetVersion() int32
func (*TemplateData) ProtoMessage ¶
func (*TemplateData) ProtoMessage()
func (*TemplateData) ProtoReflect ¶
func (x *TemplateData) ProtoReflect() protoreflect.Message
func (*TemplateData) Reset ¶
func (x *TemplateData) Reset()
func (*TemplateData) String ¶
func (x *TemplateData) String() string
type TemplateField ¶
type TemplateField struct { // Human-readable name of the field Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Human-readable description of the field Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Whether this field may be omitted when a credential is issued against the template Optional bool `protobuf:"varint,3,opt,name=optional,proto3" json:"optional,omitempty"` // The type of the field Type FieldType `protobuf:"varint,4,opt,name=type,proto3,enum=services.verifiablecredentials.templates.v1.FieldType" json:"type,omitempty"` // How to deal with this URI field when rendering credential. Only use if `type` is `URI`. UriData *UriFieldData `protobuf:"bytes,6,opt,name=uri_data,json=uriData,proto3,oneof" json:"uri_data,omitempty"` // contains filtered or unexported fields }
A field defined in a template
func (*TemplateField) Descriptor
deprecated
func (*TemplateField) Descriptor() ([]byte, []int)
Deprecated: Use TemplateField.ProtoReflect.Descriptor instead.
func (*TemplateField) GetDescription ¶
func (x *TemplateField) GetDescription() string
func (*TemplateField) GetOptional ¶
func (x *TemplateField) GetOptional() bool
func (*TemplateField) GetTitle ¶ added in v1.11.0
func (x *TemplateField) GetTitle() string
func (*TemplateField) GetType ¶
func (x *TemplateField) GetType() FieldType
func (*TemplateField) GetUriData ¶ added in v1.11.0
func (x *TemplateField) GetUriData() *UriFieldData
func (*TemplateField) ProtoMessage ¶
func (*TemplateField) ProtoMessage()
func (*TemplateField) ProtoReflect ¶
func (x *TemplateField) ProtoReflect() protoreflect.Message
func (*TemplateField) Reset ¶
func (x *TemplateField) Reset()
func (*TemplateField) String ¶
func (x *TemplateField) String() string
type TemplateFieldPatch ¶ added in v1.11.0
type TemplateFieldPatch struct { // Human-readable name of the field Title *string `protobuf:"bytes,1,opt,name=title,proto3,oneof" json:"title,omitempty"` // Human-readable description of the field Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` // How to deal with this URI field when rendering credential. Only use if `type` is `URI`. UriData *UriFieldData `protobuf:"bytes,3,opt,name=uri_data,json=uriData,proto3,oneof" json:"uri_data,omitempty"` // contains filtered or unexported fields }
A patch to apply to an existing template field
func (*TemplateFieldPatch) Descriptor
deprecated
added in
v1.11.0
func (*TemplateFieldPatch) Descriptor() ([]byte, []int)
Deprecated: Use TemplateFieldPatch.ProtoReflect.Descriptor instead.
func (*TemplateFieldPatch) GetDescription ¶ added in v1.11.0
func (x *TemplateFieldPatch) GetDescription() string
func (*TemplateFieldPatch) GetTitle ¶ added in v1.11.0
func (x *TemplateFieldPatch) GetTitle() string
func (*TemplateFieldPatch) GetUriData ¶ added in v1.11.0
func (x *TemplateFieldPatch) GetUriData() *UriFieldData
func (*TemplateFieldPatch) ProtoMessage ¶ added in v1.11.0
func (*TemplateFieldPatch) ProtoMessage()
func (*TemplateFieldPatch) ProtoReflect ¶ added in v1.11.0
func (x *TemplateFieldPatch) ProtoReflect() protoreflect.Message
func (*TemplateFieldPatch) Reset ¶ added in v1.11.0
func (x *TemplateFieldPatch) Reset()
func (*TemplateFieldPatch) String ¶ added in v1.11.0
func (x *TemplateFieldPatch) String() string
type UnimplementedCredentialTemplatesServer ¶
type UnimplementedCredentialTemplatesServer struct { }
UnimplementedCredentialTemplatesServer must be embedded to have forward compatible implementations.
func (UnimplementedCredentialTemplatesServer) CreateVerificationTemplate ¶ added in v1.11.8
func (UnimplementedCredentialTemplatesServer) CreateVerificationTemplate(context.Context, *CreateVerificationTemplateRequest) (*CreateVerificationTemplateResponse, error)
func (UnimplementedCredentialTemplatesServer) DeleteVerificationTemplate ¶ added in v1.11.8
func (UnimplementedCredentialTemplatesServer) DeleteVerificationTemplate(context.Context, *DeleteVerificationTemplateRequest) (*DeleteVerificationTemplateResponse, error)
func (UnimplementedCredentialTemplatesServer) GetVerificationTemplate ¶ added in v1.11.8
func (UnimplementedCredentialTemplatesServer) GetVerificationTemplate(context.Context, *GetVerificationTemplateRequest) (*GetVerificationTemplateResponse, error)
func (UnimplementedCredentialTemplatesServer) ListVerificationTemplates ¶ added in v1.11.8
func (UnimplementedCredentialTemplatesServer) ListVerificationTemplates(context.Context, *ListVerificationTemplatesRequest) (*ListVerificationTemplatesResponse, error)
func (UnimplementedCredentialTemplatesServer) UpdateVerificationTemplate ¶ added in v1.11.8
func (UnimplementedCredentialTemplatesServer) UpdateVerificationTemplate(context.Context, *UpdateVerificationTemplateRequest) (*UpdateVerificationTemplateResponse, error)
type UnsafeCredentialTemplatesServer ¶
type UnsafeCredentialTemplatesServer interface {
// contains filtered or unexported methods
}
UnsafeCredentialTemplatesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CredentialTemplatesServer will result in compilation errors.
type UpdateCredentialTemplateRequest ¶ added in v1.11.0
type UpdateCredentialTemplateRequest struct { // ID of Template to update Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // New human-readable title of Template Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty"` // New human-readable description of Template Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` // Fields to update within the Template Fields map[string]*TemplateFieldPatch `` /* 153-byte string literal not displayed */ // New field ordering options. See documentation for template creation for usage information. FieldOrdering map[string]*FieldOrdering `` /* 188-byte string literal not displayed */ // New Apple Wallet configuration AppleWalletOptions *AppleWalletOptions `protobuf:"bytes,6,opt,name=apple_wallet_options,json=appleWalletOptions,proto3,oneof" json:"apple_wallet_options,omitempty"` // contains filtered or unexported fields }
Request to update display information for a template
func (*UpdateCredentialTemplateRequest) Descriptor
deprecated
added in
v1.11.0
func (*UpdateCredentialTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCredentialTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateCredentialTemplateRequest) GetAppleWalletOptions ¶ added in v1.11.0
func (x *UpdateCredentialTemplateRequest) GetAppleWalletOptions() *AppleWalletOptions
func (*UpdateCredentialTemplateRequest) GetDescription ¶ added in v1.11.0
func (x *UpdateCredentialTemplateRequest) GetDescription() string
func (*UpdateCredentialTemplateRequest) GetFieldOrdering ¶ added in v1.11.0
func (x *UpdateCredentialTemplateRequest) GetFieldOrdering() map[string]*FieldOrdering
func (*UpdateCredentialTemplateRequest) GetFields ¶ added in v1.11.0
func (x *UpdateCredentialTemplateRequest) GetFields() map[string]*TemplateFieldPatch
func (*UpdateCredentialTemplateRequest) GetId ¶ added in v1.11.0
func (x *UpdateCredentialTemplateRequest) GetId() string
func (*UpdateCredentialTemplateRequest) GetTitle ¶ added in v1.11.0
func (x *UpdateCredentialTemplateRequest) GetTitle() string
func (*UpdateCredentialTemplateRequest) ProtoMessage ¶ added in v1.11.0
func (*UpdateCredentialTemplateRequest) ProtoMessage()
func (*UpdateCredentialTemplateRequest) ProtoReflect ¶ added in v1.11.0
func (x *UpdateCredentialTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpdateCredentialTemplateRequest) Reset ¶ added in v1.11.0
func (x *UpdateCredentialTemplateRequest) Reset()
func (*UpdateCredentialTemplateRequest) String ¶ added in v1.11.0
func (x *UpdateCredentialTemplateRequest) String() string
type UpdateCredentialTemplateResponse ¶ added in v1.11.0
type UpdateCredentialTemplateResponse struct { // The Template after the update has been applied UpdatedTemplate *TemplateData `protobuf:"bytes,1,opt,name=updated_template,json=updatedTemplate,proto3" json:"updated_template,omitempty"` // contains filtered or unexported fields }
Response to `UpdateCredentialTemplateRequest`
func (*UpdateCredentialTemplateResponse) Descriptor
deprecated
added in
v1.11.0
func (*UpdateCredentialTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCredentialTemplateResponse.ProtoReflect.Descriptor instead.
func (*UpdateCredentialTemplateResponse) GetUpdatedTemplate ¶ added in v1.11.0
func (x *UpdateCredentialTemplateResponse) GetUpdatedTemplate() *TemplateData
func (*UpdateCredentialTemplateResponse) ProtoMessage ¶ added in v1.11.0
func (*UpdateCredentialTemplateResponse) ProtoMessage()
func (*UpdateCredentialTemplateResponse) ProtoReflect ¶ added in v1.11.0
func (x *UpdateCredentialTemplateResponse) ProtoReflect() protoreflect.Message
func (*UpdateCredentialTemplateResponse) Reset ¶ added in v1.11.0
func (x *UpdateCredentialTemplateResponse) Reset()
func (*UpdateCredentialTemplateResponse) String ¶ added in v1.11.0
func (x *UpdateCredentialTemplateResponse) String() string
type UpdateVerificationTemplateRequest ¶ added in v1.11.8
type UpdateVerificationTemplateRequest struct { // ID of Template to update Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // New human-readable title of Template Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty"` // New human-readable description of Template Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` // Fields to update within the Template Fields map[string]*VerificationTemplateFieldPatch `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateVerificationTemplateRequest) Descriptor
deprecated
added in
v1.11.8
func (*UpdateVerificationTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVerificationTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateVerificationTemplateRequest) GetDescription ¶ added in v1.11.8
func (x *UpdateVerificationTemplateRequest) GetDescription() string
func (*UpdateVerificationTemplateRequest) GetFields ¶ added in v1.11.8
func (x *UpdateVerificationTemplateRequest) GetFields() map[string]*VerificationTemplateFieldPatch
func (*UpdateVerificationTemplateRequest) GetId ¶ added in v1.11.8
func (x *UpdateVerificationTemplateRequest) GetId() string
func (*UpdateVerificationTemplateRequest) GetTitle ¶ added in v1.11.8
func (x *UpdateVerificationTemplateRequest) GetTitle() string
func (*UpdateVerificationTemplateRequest) ProtoMessage ¶ added in v1.11.8
func (*UpdateVerificationTemplateRequest) ProtoMessage()
func (*UpdateVerificationTemplateRequest) ProtoReflect ¶ added in v1.11.8
func (x *UpdateVerificationTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpdateVerificationTemplateRequest) Reset ¶ added in v1.11.8
func (x *UpdateVerificationTemplateRequest) Reset()
func (*UpdateVerificationTemplateRequest) String ¶ added in v1.11.8
func (x *UpdateVerificationTemplateRequest) String() string
type UpdateVerificationTemplateResponse ¶ added in v1.11.8
type UpdateVerificationTemplateResponse struct { Template *VerificationTemplateData `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*UpdateVerificationTemplateResponse) Descriptor
deprecated
added in
v1.11.8
func (*UpdateVerificationTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVerificationTemplateResponse.ProtoReflect.Descriptor instead.
func (*UpdateVerificationTemplateResponse) GetTemplate ¶ added in v1.11.8
func (x *UpdateVerificationTemplateResponse) GetTemplate() *VerificationTemplateData
func (*UpdateVerificationTemplateResponse) ProtoMessage ¶ added in v1.11.8
func (*UpdateVerificationTemplateResponse) ProtoMessage()
func (*UpdateVerificationTemplateResponse) ProtoReflect ¶ added in v1.11.8
func (x *UpdateVerificationTemplateResponse) ProtoReflect() protoreflect.Message
func (*UpdateVerificationTemplateResponse) Reset ¶ added in v1.11.8
func (x *UpdateVerificationTemplateResponse) Reset()
func (*UpdateVerificationTemplateResponse) String ¶ added in v1.11.8
func (x *UpdateVerificationTemplateResponse) String() string
type UriFieldData ¶ added in v1.11.0
type UriFieldData struct { // Expected MIME Type of content pointed to by URI. Can be generic (eg, "image/") or specific ("image/png"). // Defaults to "application/octet-stream". MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // How to display the URI value when rendering a credential. RenderMethod UriRenderMethod `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
Data pertaining to a URI Field
func (*UriFieldData) Descriptor
deprecated
added in
v1.11.0
func (*UriFieldData) Descriptor() ([]byte, []int)
Deprecated: Use UriFieldData.ProtoReflect.Descriptor instead.
func (*UriFieldData) GetMimeType ¶ added in v1.11.0
func (x *UriFieldData) GetMimeType() string
func (*UriFieldData) GetRenderMethod ¶ added in v1.11.0
func (x *UriFieldData) GetRenderMethod() UriRenderMethod
func (*UriFieldData) ProtoMessage ¶ added in v1.11.0
func (*UriFieldData) ProtoMessage()
func (*UriFieldData) ProtoReflect ¶ added in v1.11.0
func (x *UriFieldData) ProtoReflect() protoreflect.Message
func (*UriFieldData) Reset ¶ added in v1.11.0
func (x *UriFieldData) Reset()
func (*UriFieldData) String ¶ added in v1.11.0
func (x *UriFieldData) String() string
type UriRenderMethod ¶ added in v1.11.0
type UriRenderMethod int32
How to display a URI value when rendering a credential.
const ( // Display URI as text UriRenderMethod_TEXT UriRenderMethod = 0 // Display URI as a clickable link UriRenderMethod_LINK UriRenderMethod = 1 // Display URI as an inline image. Only takes effect if the template field's MIME Type is an image type. UriRenderMethod_INLINE_IMAGE UriRenderMethod = 2 )
func (UriRenderMethod) Descriptor ¶ added in v1.11.0
func (UriRenderMethod) Descriptor() protoreflect.EnumDescriptor
func (UriRenderMethod) Enum ¶ added in v1.11.0
func (x UriRenderMethod) Enum() *UriRenderMethod
func (UriRenderMethod) EnumDescriptor
deprecated
added in
v1.11.0
func (UriRenderMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use UriRenderMethod.Descriptor instead.
func (UriRenderMethod) Number ¶ added in v1.11.0
func (x UriRenderMethod) Number() protoreflect.EnumNumber
func (UriRenderMethod) String ¶ added in v1.11.0
func (x UriRenderMethod) String() string
func (UriRenderMethod) Type ¶ added in v1.11.0
func (UriRenderMethod) Type() protoreflect.EnumType
type VerificationShareType ¶ added in v1.11.8
type VerificationShareType int32
const ()
func (VerificationShareType) Descriptor ¶ added in v1.11.8
func (VerificationShareType) Descriptor() protoreflect.EnumDescriptor
func (VerificationShareType) Enum ¶ added in v1.11.8
func (x VerificationShareType) Enum() *VerificationShareType
func (VerificationShareType) EnumDescriptor
deprecated
added in
v1.11.8
func (VerificationShareType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VerificationShareType.Descriptor instead.
func (VerificationShareType) Number ¶ added in v1.11.8
func (x VerificationShareType) Number() protoreflect.EnumNumber
func (VerificationShareType) String ¶ added in v1.11.8
func (x VerificationShareType) String() string
func (VerificationShareType) Type ¶ added in v1.11.8
func (VerificationShareType) Type() protoreflect.EnumType
type VerificationTemplateData ¶ added in v1.11.8
type VerificationTemplateData struct { // Template ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Template name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Template version number Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // Fields defined for the template Fields map[string]*VerificationTemplateField `` /* 153-byte string literal not displayed */ // Source credential template, used for verifying that the specified `fields` are present in the credential template CredentialTemplateId string `protobuf:"bytes,5,opt,name=credential_template_id,json=credentialTemplateId,proto3" json:"credential_template_id,omitempty"` // ID of ecosystem in which template resides EcosystemId string `protobuf:"bytes,8,opt,name=ecosystem_id,json=ecosystemId,proto3" json:"ecosystem_id,omitempty"` // Template type (`VerificationTemplate`) Type string `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty"` // ID of template creator CreatedBy string `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // Date when template was created as ISO 8601 utc string DateCreated string `protobuf:"bytes,11,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` // Human-readable template title Title string `protobuf:"bytes,12,opt,name=title,proto3" json:"title,omitempty"` // Human-readable template description Description string `protobuf:"bytes,13,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Verification Template
func (*VerificationTemplateData) Descriptor
deprecated
added in
v1.11.8
func (*VerificationTemplateData) Descriptor() ([]byte, []int)
Deprecated: Use VerificationTemplateData.ProtoReflect.Descriptor instead.
func (*VerificationTemplateData) GetCreatedBy ¶ added in v1.11.8
func (x *VerificationTemplateData) GetCreatedBy() string
func (*VerificationTemplateData) GetCredentialTemplateId ¶ added in v1.11.8
func (x *VerificationTemplateData) GetCredentialTemplateId() string
func (*VerificationTemplateData) GetDateCreated ¶ added in v1.11.8
func (x *VerificationTemplateData) GetDateCreated() string
func (*VerificationTemplateData) GetDescription ¶ added in v1.11.8
func (x *VerificationTemplateData) GetDescription() string
func (*VerificationTemplateData) GetEcosystemId ¶ added in v1.11.8
func (x *VerificationTemplateData) GetEcosystemId() string
func (*VerificationTemplateData) GetFields ¶ added in v1.11.8
func (x *VerificationTemplateData) GetFields() map[string]*VerificationTemplateField
func (*VerificationTemplateData) GetId ¶ added in v1.11.8
func (x *VerificationTemplateData) GetId() string
func (*VerificationTemplateData) GetName ¶ added in v1.11.8
func (x *VerificationTemplateData) GetName() string
func (*VerificationTemplateData) GetTitle ¶ added in v1.11.8
func (x *VerificationTemplateData) GetTitle() string
func (*VerificationTemplateData) GetType ¶ added in v1.11.8
func (x *VerificationTemplateData) GetType() string
func (*VerificationTemplateData) GetVersion ¶ added in v1.11.8
func (x *VerificationTemplateData) GetVersion() int32
func (*VerificationTemplateData) ProtoMessage ¶ added in v1.11.8
func (*VerificationTemplateData) ProtoMessage()
func (*VerificationTemplateData) ProtoReflect ¶ added in v1.11.8
func (x *VerificationTemplateData) ProtoReflect() protoreflect.Message
func (*VerificationTemplateData) Reset ¶ added in v1.11.8
func (x *VerificationTemplateData) Reset()
func (*VerificationTemplateData) String ¶ added in v1.11.8
func (x *VerificationTemplateData) String() string
type VerificationTemplateField ¶ added in v1.11.8
type VerificationTemplateField struct { VerificationShareType `` /* 177-byte string literal not displayed */ // User-facing explanation of what is done with this data UsagePolicy string `protobuf:"bytes,2,opt,name=usage_policy,json=usagePolicy,proto3" json:"usage_policy,omitempty"` // TODO - Future work supporting proof conditionals/ranges/etc // contains filtered or unexported fields }FieldShareType
A field defined in a template
func (*VerificationTemplateField) Descriptor
deprecated
added in
v1.11.8
func (*VerificationTemplateField) Descriptor() ([]byte, []int)
Deprecated: Use VerificationTemplateField.ProtoReflect.Descriptor instead.
func (*VerificationTemplateField) GetFieldShareType ¶ added in v1.11.8
func (x *VerificationTemplateField) GetFieldShareType() VerificationShareType
func (*VerificationTemplateField) GetUsagePolicy ¶ added in v1.11.8
func (x *VerificationTemplateField) GetUsagePolicy() string
func (*VerificationTemplateField) ProtoMessage ¶ added in v1.11.8
func (*VerificationTemplateField) ProtoMessage()
func (*VerificationTemplateField) ProtoReflect ¶ added in v1.11.8
func (x *VerificationTemplateField) ProtoReflect() protoreflect.Message
func (*VerificationTemplateField) Reset ¶ added in v1.11.8
func (x *VerificationTemplateField) Reset()
func (*VerificationTemplateField) String ¶ added in v1.11.8
func (x *VerificationTemplateField) String() string
type VerificationTemplateFieldPatch ¶ added in v1.11.8
type VerificationTemplateFieldPatch struct { VerificationShareType `` /* 177-byte string literal not displayed */ // User-facing explanation of what is done with this data UsagePolicy string `protobuf:"bytes,2,opt,name=usage_policy,json=usagePolicy,proto3" json:"usage_policy,omitempty"` // contains filtered or unexported fields }FieldShareType
A patch to apply to an existing template field
func (*VerificationTemplateFieldPatch) Descriptor
deprecated
added in
v1.11.8
func (*VerificationTemplateFieldPatch) Descriptor() ([]byte, []int)
Deprecated: Use VerificationTemplateFieldPatch.ProtoReflect.Descriptor instead.
func (*VerificationTemplateFieldPatch) GetFieldShareType ¶ added in v1.11.8
func (x *VerificationTemplateFieldPatch) GetFieldShareType() VerificationShareType
func (*VerificationTemplateFieldPatch) GetUsagePolicy ¶ added in v1.11.8
func (x *VerificationTemplateFieldPatch) GetUsagePolicy() string
func (*VerificationTemplateFieldPatch) ProtoMessage ¶ added in v1.11.8
func (*VerificationTemplateFieldPatch) ProtoMessage()
func (*VerificationTemplateFieldPatch) ProtoReflect ¶ added in v1.11.8
func (x *VerificationTemplateFieldPatch) ProtoReflect() protoreflect.Message
func (*VerificationTemplateFieldPatch) Reset ¶ added in v1.11.8
func (x *VerificationTemplateFieldPatch) Reset()
func (*VerificationTemplateFieldPatch) String ¶ added in v1.11.8
func (x *VerificationTemplateFieldPatch) String() string