Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAccessManagementServer(s grpc.ServiceRegistrar, srv AccessManagementServer)
- func RegisterProviderServer(s grpc.ServiceRegistrar, srv ProviderServer)
- type AccessManagementClient
- type AccessManagementServer
- type AddRoleAssignmentRequest
- func (*AddRoleAssignmentRequest) Descriptor() ([]byte, []int)deprecated
- func (m *AddRoleAssignmentRequest) GetAccount() isAddRoleAssignmentRequest_Account
- func (x *AddRoleAssignmentRequest) GetDidUri() string
- func (x *AddRoleAssignmentRequest) GetEmail() string
- func (x *AddRoleAssignmentRequest) GetRole() string
- func (x *AddRoleAssignmentRequest) GetWalletId() string
- func (*AddRoleAssignmentRequest) ProtoMessage()
- func (x *AddRoleAssignmentRequest) ProtoReflect() protoreflect.Message
- func (x *AddRoleAssignmentRequest) Reset()
- func (x *AddRoleAssignmentRequest) String() string
- type AddRoleAssignmentRequest_DidUri
- type AddRoleAssignmentRequest_Email
- type AddRoleAssignmentRequest_WalletId
- type AddRoleAssignmentResponse
- type CreateEcosystemRequest
- func (*CreateEcosystemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEcosystemRequest) GetDescription() string
- func (x *CreateEcosystemRequest) GetDetails() *account.AccountDetails
- func (x *CreateEcosystemRequest) GetDomain() string
- func (x *CreateEcosystemRequest) GetName() string
- func (*CreateEcosystemRequest) ProtoMessage()
- func (x *CreateEcosystemRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEcosystemRequest) Reset()
- func (x *CreateEcosystemRequest) String() string
- type CreateEcosystemResponse
- func (*CreateEcosystemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEcosystemResponse) GetConfirmationMethod() account.ConfirmationMethod
- func (x *CreateEcosystemResponse) GetEcosystem() *Ecosystem
- func (x *CreateEcosystemResponse) GetProfile() *account.AccountProfile
- func (*CreateEcosystemResponse) ProtoMessage()
- func (x *CreateEcosystemResponse) ProtoReflect() protoreflect.Message
- func (x *CreateEcosystemResponse) Reset()
- func (x *CreateEcosystemResponse) String() string
- type Ecosystem
- func (*Ecosystem) Descriptor() ([]byte, []int)deprecated
- func (x *Ecosystem) GetDescription() string
- func (x *Ecosystem) GetId() string
- func (x *Ecosystem) GetName() string
- func (*Ecosystem) ProtoMessage()
- func (x *Ecosystem) ProtoReflect() protoreflect.Message
- func (x *Ecosystem) Reset()
- func (x *Ecosystem) String() string
- type EcosystemInfoRequest
- type EcosystemInfoResponse
- func (*EcosystemInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EcosystemInfoResponse) GetEcosystem() *Ecosystem
- func (*EcosystemInfoResponse) ProtoMessage()
- func (x *EcosystemInfoResponse) ProtoReflect() protoreflect.Message
- func (x *EcosystemInfoResponse) Reset()
- func (x *EcosystemInfoResponse) String() string
- type GetOberonKeyRequest
- type GetOberonKeyResponse
- func (*GetOberonKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOberonKeyResponse) GetKey() string
- func (*GetOberonKeyResponse) ProtoMessage()
- func (x *GetOberonKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetOberonKeyResponse) Reset()
- func (x *GetOberonKeyResponse) String() string
- type IdentityProvider
- func (IdentityProvider) Descriptor() protoreflect.EnumDescriptor
- func (x IdentityProvider) Enum() *IdentityProvider
- func (IdentityProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x IdentityProvider) Number() protoreflect.EnumNumber
- func (x IdentityProvider) String() string
- func (IdentityProvider) Type() protoreflect.EnumType
- type IndyOptions
- type IndyOptions_IndyNetwork
- func (IndyOptions_IndyNetwork) Descriptor() protoreflect.EnumDescriptor
- func (x IndyOptions_IndyNetwork) Enum() *IndyOptions_IndyNetwork
- func (IndyOptions_IndyNetwork) EnumDescriptor() ([]byte, []int)deprecated
- func (x IndyOptions_IndyNetwork) Number() protoreflect.EnumNumber
- func (x IndyOptions_IndyNetwork) String() string
- func (IndyOptions_IndyNetwork) Type() protoreflect.EnumType
- type IonOptions
- type IonOptions_IonNetwork
- func (IonOptions_IonNetwork) Descriptor() protoreflect.EnumDescriptor
- func (x IonOptions_IonNetwork) Enum() *IonOptions_IonNetwork
- func (IonOptions_IonNetwork) EnumDescriptor() ([]byte, []int)deprecated
- func (x IonOptions_IonNetwork) Number() protoreflect.EnumNumber
- func (x IonOptions_IonNetwork) String() string
- func (IonOptions_IonNetwork) Type() protoreflect.EnumType
- type ListAvailableRolesRequest
- type ListAvailableRolesResponse
- func (*ListAvailableRolesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAvailableRolesResponse) GetRoles() []string
- func (*ListAvailableRolesResponse) ProtoMessage()
- func (x *ListAvailableRolesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAvailableRolesResponse) Reset()
- func (x *ListAvailableRolesResponse) String() string
- type ListRoleAssignmentsRequest
- func (*ListRoleAssignmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (m *ListRoleAssignmentsRequest) GetAccount() isListRoleAssignmentsRequest_Account
- func (x *ListRoleAssignmentsRequest) GetDidUri() string
- func (x *ListRoleAssignmentsRequest) GetEmail() string
- func (x *ListRoleAssignmentsRequest) GetWalletId() string
- func (*ListRoleAssignmentsRequest) ProtoMessage()
- func (x *ListRoleAssignmentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRoleAssignmentsRequest) Reset()
- func (x *ListRoleAssignmentsRequest) String() string
- type ListRoleAssignmentsRequest_DidUri
- type ListRoleAssignmentsRequest_Email
- type ListRoleAssignmentsRequest_WalletId
- type ListRoleAssignmentsResponse
- func (*ListRoleAssignmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoleAssignmentsResponse) GetRoles() []string
- func (*ListRoleAssignmentsResponse) ProtoMessage()
- func (x *ListRoleAssignmentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRoleAssignmentsResponse) Reset()
- func (x *ListRoleAssignmentsResponse) String() string
- type ProviderClient
- type ProviderServer
- type RemoveRoleAssignmentRequest
- func (*RemoveRoleAssignmentRequest) Descriptor() ([]byte, []int)deprecated
- func (m *RemoveRoleAssignmentRequest) GetAccount() isRemoveRoleAssignmentRequest_Account
- func (x *RemoveRoleAssignmentRequest) GetDidUri() string
- func (x *RemoveRoleAssignmentRequest) GetEmail() string
- func (x *RemoveRoleAssignmentRequest) GetRole() string
- func (x *RemoveRoleAssignmentRequest) GetWalletId() string
- func (*RemoveRoleAssignmentRequest) ProtoMessage()
- func (x *RemoveRoleAssignmentRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRoleAssignmentRequest) Reset()
- func (x *RemoveRoleAssignmentRequest) String() string
- type RemoveRoleAssignmentRequest_DidUri
- type RemoveRoleAssignmentRequest_Email
- type RemoveRoleAssignmentRequest_WalletId
- type RemoveRoleAssignmentResponse
- func (*RemoveRoleAssignmentResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveRoleAssignmentResponse) ProtoMessage()
- func (x *RemoveRoleAssignmentResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveRoleAssignmentResponse) Reset()
- func (x *RemoveRoleAssignmentResponse) String() string
- type SearchWalletConfigurationResponse
- func (*SearchWalletConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchWalletConfigurationResponse) GetContinuationToken() string
- func (x *SearchWalletConfigurationResponse) GetHasMoreResults() bool
- func (x *SearchWalletConfigurationResponse) GetResults() []*WalletConfiguration
- func (*SearchWalletConfigurationResponse) ProtoMessage()
- func (x *SearchWalletConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *SearchWalletConfigurationResponse) Reset()
- func (x *SearchWalletConfigurationResponse) String() string
- type SearchWalletConfigurationsRequest
- func (*SearchWalletConfigurationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchWalletConfigurationsRequest) GetContinuationToken() string
- func (x *SearchWalletConfigurationsRequest) GetQueryFilter() string
- func (*SearchWalletConfigurationsRequest) ProtoMessage()
- func (x *SearchWalletConfigurationsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchWalletConfigurationsRequest) Reset()
- func (x *SearchWalletConfigurationsRequest) String() string
- type UnimplementedAccessManagementServer
- func (UnimplementedAccessManagementServer) AddRoleAssignment(context.Context, *AddRoleAssignmentRequest) (*AddRoleAssignmentResponse, error)
- func (UnimplementedAccessManagementServer) ListAvailableRoles(context.Context, *ListAvailableRolesRequest) (*ListAvailableRolesResponse, error)
- func (UnimplementedAccessManagementServer) ListRoleAssignments(context.Context, *ListRoleAssignmentsRequest) (*ListRoleAssignmentsResponse, error)
- func (UnimplementedAccessManagementServer) RemoveRoleAssignment(context.Context, *RemoveRoleAssignmentRequest) (*RemoveRoleAssignmentResponse, error)
- type UnimplementedProviderServer
- func (UnimplementedProviderServer) CreateEcosystem(context.Context, *CreateEcosystemRequest) (*CreateEcosystemResponse, error)
- func (UnimplementedProviderServer) GetOberonKey(context.Context, *GetOberonKeyRequest) (*GetOberonKeyResponse, error)
- func (UnimplementedProviderServer) SearchWalletConfigurations(context.Context, *SearchWalletConfigurationsRequest) (*SearchWalletConfigurationResponse, error)
- func (UnimplementedProviderServer) UpgradeDID(context.Context, *UpgradeDidRequest) (*UpgradeDidResponse, error)
- type UnsafeAccessManagementServer
- type UnsafeProviderServer
- type UpgradeDidRequest
- func (*UpgradeDidRequest) Descriptor() ([]byte, []int)deprecated
- func (m *UpgradeDidRequest) GetAccount() isUpgradeDidRequest_Account
- func (x *UpgradeDidRequest) GetDidUri() string
- func (x *UpgradeDidRequest) GetEmail() string
- func (x *UpgradeDidRequest) GetIndyOptions() *IndyOptions
- func (x *UpgradeDidRequest) GetIonOptions() *IonOptions
- func (x *UpgradeDidRequest) GetMethod() common.SupportedDidMethod
- func (m *UpgradeDidRequest) GetOptions() isUpgradeDidRequest_Options
- func (x *UpgradeDidRequest) GetWalletId() string
- func (*UpgradeDidRequest) ProtoMessage()
- func (x *UpgradeDidRequest) ProtoReflect() protoreflect.Message
- func (x *UpgradeDidRequest) Reset()
- func (x *UpgradeDidRequest) String() string
- type UpgradeDidRequest_DidUri
- type UpgradeDidRequest_Email
- type UpgradeDidRequest_IndyOptions
- type UpgradeDidRequest_IonOptions
- type UpgradeDidRequest_WalletId
- type UpgradeDidResponse
- type WalletConfiguration
- func (*WalletConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *WalletConfiguration) GetAuthTokens() []*account.WalletAuthToken
- func (x *WalletConfiguration) GetConfigType() string
- func (x *WalletConfiguration) GetDescription() string
- func (x *WalletConfiguration) GetEcosystemId() string
- func (x *WalletConfiguration) GetEmail() stringdeprecated
- func (x *WalletConfiguration) GetExternalIdentities() []*WalletExternalIdentity
- func (x *WalletConfiguration) GetExternalIdentityIds() []stringdeprecated
- func (x *WalletConfiguration) GetName() string
- func (x *WalletConfiguration) GetPublicDid() string
- func (x *WalletConfiguration) GetSms() stringdeprecated
- func (x *WalletConfiguration) GetWalletId() string
- func (*WalletConfiguration) ProtoMessage()
- func (x *WalletConfiguration) ProtoReflect() protoreflect.Message
- func (x *WalletConfiguration) Reset()
- func (x *WalletConfiguration) String() string
- type WalletExternalIdentity
- func (*WalletExternalIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *WalletExternalIdentity) GetId() string
- func (x *WalletExternalIdentity) GetProvider() IdentityProvider
- func (*WalletExternalIdentity) ProtoMessage()
- func (x *WalletExternalIdentity) ProtoReflect() protoreflect.Message
- func (x *WalletExternalIdentity) Reset()
- func (x *WalletExternalIdentity) String() string
Constants ¶
const ( AccessManagement_AddRoleAssignment_FullMethodName = "/services.provider.v1.AccessManagement/AddRoleAssignment" AccessManagement_RemoveRoleAssignment_FullMethodName = "/services.provider.v1.AccessManagement/RemoveRoleAssignment" AccessManagement_ListRoleAssignments_FullMethodName = "/services.provider.v1.AccessManagement/ListRoleAssignments" AccessManagement_ListAvailableRoles_FullMethodName = "/services.provider.v1.AccessManagement/ListAvailableRoles" )
const ( Provider_CreateEcosystem_FullMethodName = "/services.provider.v1.Provider/CreateEcosystem" Provider_GetOberonKey_FullMethodName = "/services.provider.v1.Provider/GetOberonKey" Provider_UpgradeDID_FullMethodName = "/services.provider.v1.Provider/UpgradeDID" Provider_SearchWalletConfigurations_FullMethodName = "/services.provider.v1.Provider/SearchWalletConfigurations" )
Variables ¶
var ( IdentityProvider_name = map[int32]string{ 0: "Unknown", 1: "Email", 2: "Phone", 3: "Passkey", 4: "TrinsicAuthenticator", } IdentityProvider_value = map[string]int32{ "Unknown": 0, "Email": 1, "Phone": 2, "Passkey": 3, "TrinsicAuthenticator": 4, } )
Enum value maps for IdentityProvider.
var ( IonOptions_IonNetwork_name = map[int32]string{ 0: "TestNet", 1: "MainNet", } IonOptions_IonNetwork_value = map[string]int32{ "TestNet": 0, "MainNet": 1, } )
Enum value maps for IonOptions_IonNetwork.
var ( IndyOptions_IndyNetwork_name = map[int32]string{ 0: "Danube", 1: "SovrinBuilder", 2: "SovrinStaging", 3: "Sovrin", 4: "IdUnionTest", 5: "IdUnion", 6: "IndicioTest", 7: "IndicioDemo", 8: "Indicio", } IndyOptions_IndyNetwork_value = map[string]int32{ "Danube": 0, "SovrinBuilder": 1, "SovrinStaging": 2, "Sovrin": 3, "IdUnionTest": 4, "IdUnion": 5, "IndicioTest": 6, "IndicioDemo": 7, "Indicio": 8, } )
Enum value maps for IndyOptions_IndyNetwork.
var AccessManagement_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.provider.v1.AccessManagement", HandlerType: (*AccessManagementServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddRoleAssignment", Handler: _AccessManagement_AddRoleAssignment_Handler, }, { MethodName: "RemoveRoleAssignment", Handler: _AccessManagement_RemoveRoleAssignment_Handler, }, { MethodName: "ListRoleAssignments", Handler: _AccessManagement_ListRoleAssignments_Handler, }, { MethodName: "ListAvailableRoles", Handler: _AccessManagement_ListAvailableRoles_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services/provider/v1/access-management.proto", }
AccessManagement_ServiceDesc is the grpc.ServiceDesc for AccessManagement 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_provider_v1_access_management_proto protoreflect.FileDescriptor
var File_services_provider_v1_provider_proto protoreflect.FileDescriptor
var Provider_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.provider.v1.Provider", HandlerType: (*ProviderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateEcosystem", Handler: _Provider_CreateEcosystem_Handler, }, { MethodName: "GetOberonKey", Handler: _Provider_GetOberonKey_Handler, }, { MethodName: "UpgradeDID", Handler: _Provider_UpgradeDID_Handler, }, { MethodName: "SearchWalletConfigurations", Handler: _Provider_SearchWalletConfigurations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services/provider/v1/provider.proto", }
Provider_ServiceDesc is the grpc.ServiceDesc for Provider service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAccessManagementServer ¶ added in v1.9.0
func RegisterAccessManagementServer(s grpc.ServiceRegistrar, srv AccessManagementServer)
func RegisterProviderServer ¶
func RegisterProviderServer(s grpc.ServiceRegistrar, srv ProviderServer)
Types ¶
type AccessManagementClient ¶ added in v1.9.0
type AccessManagementClient interface { // Adds a role assignment to an account AddRoleAssignment(ctx context.Context, in *AddRoleAssignmentRequest, opts ...grpc.CallOption) (*AddRoleAssignmentResponse, error) // Removes a role assignment from the account RemoveRoleAssignment(ctx context.Context, in *RemoveRoleAssignmentRequest, opts ...grpc.CallOption) (*RemoveRoleAssignmentResponse, error) // List the role assignments for the given account ListRoleAssignments(ctx context.Context, in *ListRoleAssignmentsRequest, opts ...grpc.CallOption) (*ListRoleAssignmentsResponse, error) // List the roles available in the ecosystem ListAvailableRoles(ctx context.Context, in *ListAvailableRolesRequest, opts ...grpc.CallOption) (*ListAvailableRolesResponse, error) }
AccessManagementClient is the client API for AccessManagement 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 NewAccessManagementClient ¶ added in v1.9.0
func NewAccessManagementClient(cc grpc.ClientConnInterface) AccessManagementClient
type AccessManagementServer ¶ added in v1.9.0
type AccessManagementServer interface { // Adds a role assignment to an account AddRoleAssignment(context.Context, *AddRoleAssignmentRequest) (*AddRoleAssignmentResponse, error) // Removes a role assignment from the account RemoveRoleAssignment(context.Context, *RemoveRoleAssignmentRequest) (*RemoveRoleAssignmentResponse, error) // List the role assignments for the given account ListRoleAssignments(context.Context, *ListRoleAssignmentsRequest) (*ListRoleAssignmentsResponse, error) // List the roles available in the ecosystem ListAvailableRoles(context.Context, *ListAvailableRolesRequest) (*ListAvailableRolesResponse, error) // contains filtered or unexported methods }
AccessManagementServer is the server API for AccessManagement service. All implementations must embed UnimplementedAccessManagementServer for forward compatibility
type AddRoleAssignmentRequest ¶ added in v1.9.0
type AddRoleAssignmentRequest struct { // Role to assign Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // Types that are assignable to Account: // // *AddRoleAssignmentRequest_Email // *AddRoleAssignmentRequest_WalletId // *AddRoleAssignmentRequest_DidUri Account isAddRoleAssignmentRequest_Account `protobuf_oneof:"account"` // contains filtered or unexported fields }
Role management
func (*AddRoleAssignmentRequest) Descriptor
deprecated
added in
v1.9.0
func (*AddRoleAssignmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRoleAssignmentRequest.ProtoReflect.Descriptor instead.
func (*AddRoleAssignmentRequest) GetAccount ¶ added in v1.9.0
func (m *AddRoleAssignmentRequest) GetAccount() isAddRoleAssignmentRequest_Account
func (*AddRoleAssignmentRequest) GetDidUri ¶ added in v1.9.0
func (x *AddRoleAssignmentRequest) GetDidUri() string
func (*AddRoleAssignmentRequest) GetEmail ¶ added in v1.9.0
func (x *AddRoleAssignmentRequest) GetEmail() string
func (*AddRoleAssignmentRequest) GetRole ¶ added in v1.9.0
func (x *AddRoleAssignmentRequest) GetRole() string
func (*AddRoleAssignmentRequest) GetWalletId ¶ added in v1.9.0
func (x *AddRoleAssignmentRequest) GetWalletId() string
func (*AddRoleAssignmentRequest) ProtoMessage ¶ added in v1.9.0
func (*AddRoleAssignmentRequest) ProtoMessage()
func (*AddRoleAssignmentRequest) ProtoReflect ¶ added in v1.9.0
func (x *AddRoleAssignmentRequest) ProtoReflect() protoreflect.Message
func (*AddRoleAssignmentRequest) Reset ¶ added in v1.9.0
func (x *AddRoleAssignmentRequest) Reset()
func (*AddRoleAssignmentRequest) String ¶ added in v1.9.0
func (x *AddRoleAssignmentRequest) String() string
type AddRoleAssignmentRequest_DidUri ¶ added in v1.9.0
type AddRoleAssignmentRequest_DidUri struct { // DID URI of the account to assign role. // Mutually exclusive with `email` and `walletId`. DidUri string `protobuf:"bytes,4,opt,name=did_uri,json=didUri,proto3,oneof"` }
type AddRoleAssignmentRequest_Email ¶ added in v1.9.0
type AddRoleAssignmentRequest_Email struct { // Email address of account to assign role. // Mutually exclusive with `walletId` and `didUri`. Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"` }
type AddRoleAssignmentRequest_WalletId ¶ added in v1.9.0
type AddRoleAssignmentRequest_WalletId struct { // Wallet ID of account to assign role to. // Mutually exclusive with `email` and `didUri`. WalletId string `protobuf:"bytes,3,opt,name=wallet_id,json=walletId,proto3,oneof"` }
type AddRoleAssignmentResponse ¶ added in v1.9.0
type AddRoleAssignmentResponse struct {
// contains filtered or unexported fields
}
func (*AddRoleAssignmentResponse) Descriptor
deprecated
added in
v1.9.0
func (*AddRoleAssignmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddRoleAssignmentResponse.ProtoReflect.Descriptor instead.
func (*AddRoleAssignmentResponse) ProtoMessage ¶ added in v1.9.0
func (*AddRoleAssignmentResponse) ProtoMessage()
func (*AddRoleAssignmentResponse) ProtoReflect ¶ added in v1.9.0
func (x *AddRoleAssignmentResponse) ProtoReflect() protoreflect.Message
func (*AddRoleAssignmentResponse) Reset ¶ added in v1.9.0
func (x *AddRoleAssignmentResponse) Reset()
func (*AddRoleAssignmentResponse) String ¶ added in v1.9.0
func (x *AddRoleAssignmentResponse) String() string
type CreateEcosystemRequest ¶
type CreateEcosystemRequest struct { // Globally unique name for the Ecosystem. This name will be // part of the ecosystem-specific URLs and namespaces. // Allowed characters are lowercase letters, numbers, underscore and hyphen. // If not passed, ecosystem name will be auto-generated. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Ecosystem description Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The account details of the owner of the ecosystem Details *account.AccountDetails `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"` // New domain URL Domain string `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
Request to create an ecosystem
func (*CreateEcosystemRequest) Descriptor
deprecated
func (*CreateEcosystemRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEcosystemRequest.ProtoReflect.Descriptor instead.
func (*CreateEcosystemRequest) GetDescription ¶
func (x *CreateEcosystemRequest) GetDescription() string
func (*CreateEcosystemRequest) GetDetails ¶
func (x *CreateEcosystemRequest) GetDetails() *account.AccountDetails
func (*CreateEcosystemRequest) GetDomain ¶ added in v1.8.0
func (x *CreateEcosystemRequest) GetDomain() string
func (*CreateEcosystemRequest) GetName ¶
func (x *CreateEcosystemRequest) GetName() string
func (*CreateEcosystemRequest) ProtoMessage ¶
func (*CreateEcosystemRequest) ProtoMessage()
func (*CreateEcosystemRequest) ProtoReflect ¶
func (x *CreateEcosystemRequest) ProtoReflect() protoreflect.Message
func (*CreateEcosystemRequest) Reset ¶
func (x *CreateEcosystemRequest) Reset()
func (*CreateEcosystemRequest) String ¶
func (x *CreateEcosystemRequest) String() string
type CreateEcosystemResponse ¶
type CreateEcosystemResponse struct { // Details of the created ecosystem Ecosystem *Ecosystem `protobuf:"bytes,1,opt,name=ecosystem,proto3" json:"ecosystem,omitempty"` // Account profile for auth of the owner of the ecosystem Profile *account.AccountProfile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` // Indicates if confirmation of account is required. ConfirmationMethod account.ConfirmationMethod `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
Response to `CreateEcosystemRequest`
func (*CreateEcosystemResponse) Descriptor
deprecated
func (*CreateEcosystemResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateEcosystemResponse.ProtoReflect.Descriptor instead.
func (*CreateEcosystemResponse) GetConfirmationMethod ¶
func (x *CreateEcosystemResponse) GetConfirmationMethod() account.ConfirmationMethod
func (*CreateEcosystemResponse) GetEcosystem ¶
func (x *CreateEcosystemResponse) GetEcosystem() *Ecosystem
func (*CreateEcosystemResponse) GetProfile ¶
func (x *CreateEcosystemResponse) GetProfile() *account.AccountProfile
func (*CreateEcosystemResponse) ProtoMessage ¶
func (*CreateEcosystemResponse) ProtoMessage()
func (*CreateEcosystemResponse) ProtoReflect ¶
func (x *CreateEcosystemResponse) ProtoReflect() protoreflect.Message
func (*CreateEcosystemResponse) Reset ¶
func (x *CreateEcosystemResponse) Reset()
func (*CreateEcosystemResponse) String ¶
func (x *CreateEcosystemResponse) String() string
type Ecosystem ¶
type Ecosystem struct { // URN of the ecosystem Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Globally unique name for the ecosystem Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Ecosystem description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Details of an ecosystem
func (*Ecosystem) Descriptor
deprecated
func (*Ecosystem) GetDescription ¶
func (*Ecosystem) ProtoMessage ¶
func (*Ecosystem) ProtoMessage()
func (*Ecosystem) ProtoReflect ¶
func (x *Ecosystem) ProtoReflect() protoreflect.Message
type EcosystemInfoRequest ¶
type EcosystemInfoRequest struct {
// contains filtered or unexported fields
}
Request to fetch information about an ecosystem
func (*EcosystemInfoRequest) Descriptor
deprecated
func (*EcosystemInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use EcosystemInfoRequest.ProtoReflect.Descriptor instead.
func (*EcosystemInfoRequest) ProtoMessage ¶
func (*EcosystemInfoRequest) ProtoMessage()
func (*EcosystemInfoRequest) ProtoReflect ¶
func (x *EcosystemInfoRequest) ProtoReflect() protoreflect.Message
func (*EcosystemInfoRequest) Reset ¶
func (x *EcosystemInfoRequest) Reset()
func (*EcosystemInfoRequest) String ¶
func (x *EcosystemInfoRequest) String() string
type EcosystemInfoResponse ¶
type EcosystemInfoResponse struct { // Ecosystem corresponding to current ecosystem in the account token Ecosystem *Ecosystem `protobuf:"bytes,1,opt,name=ecosystem,proto3" json:"ecosystem,omitempty"` // contains filtered or unexported fields }
Response to `InfoRequest`
func (*EcosystemInfoResponse) Descriptor
deprecated
func (*EcosystemInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use EcosystemInfoResponse.ProtoReflect.Descriptor instead.
func (*EcosystemInfoResponse) GetEcosystem ¶
func (x *EcosystemInfoResponse) GetEcosystem() *Ecosystem
func (*EcosystemInfoResponse) ProtoMessage ¶
func (*EcosystemInfoResponse) ProtoMessage()
func (*EcosystemInfoResponse) ProtoReflect ¶
func (x *EcosystemInfoResponse) ProtoReflect() protoreflect.Message
func (*EcosystemInfoResponse) Reset ¶
func (x *EcosystemInfoResponse) Reset()
func (*EcosystemInfoResponse) String ¶
func (x *EcosystemInfoResponse) String() string
type GetOberonKeyRequest ¶
type GetOberonKeyRequest struct {
// contains filtered or unexported fields
}
Request to fetch the Trinsic public key used to verify authentication token validity
func (*GetOberonKeyRequest) Descriptor
deprecated
func (*GetOberonKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOberonKeyRequest.ProtoReflect.Descriptor instead.
func (*GetOberonKeyRequest) ProtoMessage ¶
func (*GetOberonKeyRequest) ProtoMessage()
func (*GetOberonKeyRequest) ProtoReflect ¶
func (x *GetOberonKeyRequest) ProtoReflect() protoreflect.Message
func (*GetOberonKeyRequest) Reset ¶
func (x *GetOberonKeyRequest) Reset()
func (*GetOberonKeyRequest) String ¶
func (x *GetOberonKeyRequest) String() string
type GetOberonKeyResponse ¶
type GetOberonKeyResponse struct { // Oberon Public Key as RAW base64-url encoded string Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
Response to `GetOberonKeyRequest`
func (*GetOberonKeyResponse) Descriptor
deprecated
func (*GetOberonKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOberonKeyResponse.ProtoReflect.Descriptor instead.
func (*GetOberonKeyResponse) GetKey ¶
func (x *GetOberonKeyResponse) GetKey() string
func (*GetOberonKeyResponse) ProtoMessage ¶
func (*GetOberonKeyResponse) ProtoMessage()
func (*GetOberonKeyResponse) ProtoReflect ¶
func (x *GetOberonKeyResponse) ProtoReflect() protoreflect.Message
func (*GetOberonKeyResponse) Reset ¶
func (x *GetOberonKeyResponse) Reset()
func (*GetOberonKeyResponse) String ¶
func (x *GetOberonKeyResponse) String() string
type IdentityProvider ¶ added in v1.11.8
type IdentityProvider int32
const ( // Identity provider is unknown IdentityProvider_Unknown IdentityProvider = 0 // Identity provider is email IdentityProvider_Email IdentityProvider = 1 // Identity provider is phone IdentityProvider_Phone IdentityProvider = 2 // Identity provider is passkey (WebAuthn) -- for Trinsic internal use only IdentityProvider_Passkey IdentityProvider = 3 // Identity provider is passkey using Trinsic Authenticator for mobile phones IdentityProvider_TrinsicAuthenticator IdentityProvider = 4 )
func (IdentityProvider) Descriptor ¶ added in v1.11.8
func (IdentityProvider) Descriptor() protoreflect.EnumDescriptor
func (IdentityProvider) Enum ¶ added in v1.11.8
func (x IdentityProvider) Enum() *IdentityProvider
func (IdentityProvider) EnumDescriptor
deprecated
added in
v1.11.8
func (IdentityProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use IdentityProvider.Descriptor instead.
func (IdentityProvider) Number ¶ added in v1.11.8
func (x IdentityProvider) Number() protoreflect.EnumNumber
func (IdentityProvider) String ¶ added in v1.11.8
func (x IdentityProvider) String() string
func (IdentityProvider) Type ¶ added in v1.11.8
func (IdentityProvider) Type() protoreflect.EnumType
type IndyOptions ¶ added in v1.9.0
type IndyOptions struct { // SOV network on which DID should be published Network IndyOptions_IndyNetwork `protobuf:"varint,1,opt,name=network,proto3,enum=services.provider.v1.IndyOptions_IndyNetwork" json:"network,omitempty"` // contains filtered or unexported fields }
Options for creation of DID on the SOV network
func (*IndyOptions) Descriptor
deprecated
added in
v1.9.0
func (*IndyOptions) Descriptor() ([]byte, []int)
Deprecated: Use IndyOptions.ProtoReflect.Descriptor instead.
func (*IndyOptions) GetNetwork ¶ added in v1.9.0
func (x *IndyOptions) GetNetwork() IndyOptions_IndyNetwork
func (*IndyOptions) ProtoMessage ¶ added in v1.9.0
func (*IndyOptions) ProtoMessage()
func (*IndyOptions) ProtoReflect ¶ added in v1.9.0
func (x *IndyOptions) ProtoReflect() protoreflect.Message
func (*IndyOptions) Reset ¶ added in v1.9.0
func (x *IndyOptions) Reset()
func (*IndyOptions) String ¶ added in v1.9.0
func (x *IndyOptions) String() string
type IndyOptions_IndyNetwork ¶ added in v1.9.0
type IndyOptions_IndyNetwork int32
const ( IndyOptions_Danube IndyOptions_IndyNetwork = 0 IndyOptions_SovrinBuilder IndyOptions_IndyNetwork = 1 IndyOptions_SovrinStaging IndyOptions_IndyNetwork = 2 IndyOptions_Sovrin IndyOptions_IndyNetwork = 3 IndyOptions_IdUnionTest IndyOptions_IndyNetwork = 4 IndyOptions_IdUnion IndyOptions_IndyNetwork = 5 IndyOptions_IndicioTest IndyOptions_IndyNetwork = 6 IndyOptions_IndicioDemo IndyOptions_IndyNetwork = 7 IndyOptions_Indicio IndyOptions_IndyNetwork = 8 )
func (IndyOptions_IndyNetwork) Descriptor ¶ added in v1.9.0
func (IndyOptions_IndyNetwork) Descriptor() protoreflect.EnumDescriptor
func (IndyOptions_IndyNetwork) Enum ¶ added in v1.9.0
func (x IndyOptions_IndyNetwork) Enum() *IndyOptions_IndyNetwork
func (IndyOptions_IndyNetwork) EnumDescriptor
deprecated
added in
v1.9.0
func (IndyOptions_IndyNetwork) EnumDescriptor() ([]byte, []int)
Deprecated: Use IndyOptions_IndyNetwork.Descriptor instead.
func (IndyOptions_IndyNetwork) Number ¶ added in v1.9.0
func (x IndyOptions_IndyNetwork) Number() protoreflect.EnumNumber
func (IndyOptions_IndyNetwork) String ¶ added in v1.9.0
func (x IndyOptions_IndyNetwork) String() string
func (IndyOptions_IndyNetwork) Type ¶ added in v1.9.0
func (IndyOptions_IndyNetwork) Type() protoreflect.EnumType
type IonOptions ¶ added in v1.8.0
type IonOptions struct { // ION network on which DID should be published Network IonOptions_IonNetwork `protobuf:"varint,1,opt,name=network,proto3,enum=services.provider.v1.IonOptions_IonNetwork" json:"network,omitempty"` // contains filtered or unexported fields }
Options for creation of DID on the ION network
func (*IonOptions) Descriptor
deprecated
added in
v1.8.0
func (*IonOptions) Descriptor() ([]byte, []int)
Deprecated: Use IonOptions.ProtoReflect.Descriptor instead.
func (*IonOptions) GetNetwork ¶ added in v1.8.0
func (x *IonOptions) GetNetwork() IonOptions_IonNetwork
func (*IonOptions) ProtoMessage ¶ added in v1.8.0
func (*IonOptions) ProtoMessage()
func (*IonOptions) ProtoReflect ¶ added in v1.8.0
func (x *IonOptions) ProtoReflect() protoreflect.Message
func (*IonOptions) Reset ¶ added in v1.8.0
func (x *IonOptions) Reset()
func (*IonOptions) String ¶ added in v1.8.0
func (x *IonOptions) String() string
type IonOptions_IonNetwork ¶ added in v1.8.0
type IonOptions_IonNetwork int32
const ( IonOptions_TestNet IonOptions_IonNetwork = 0 IonOptions_MainNet IonOptions_IonNetwork = 1 )
func (IonOptions_IonNetwork) Descriptor ¶ added in v1.8.0
func (IonOptions_IonNetwork) Descriptor() protoreflect.EnumDescriptor
func (IonOptions_IonNetwork) Enum ¶ added in v1.8.0
func (x IonOptions_IonNetwork) Enum() *IonOptions_IonNetwork
func (IonOptions_IonNetwork) EnumDescriptor
deprecated
added in
v1.8.0
func (IonOptions_IonNetwork) EnumDescriptor() ([]byte, []int)
Deprecated: Use IonOptions_IonNetwork.Descriptor instead.
func (IonOptions_IonNetwork) Number ¶ added in v1.8.0
func (x IonOptions_IonNetwork) Number() protoreflect.EnumNumber
func (IonOptions_IonNetwork) String ¶ added in v1.8.0
func (x IonOptions_IonNetwork) String() string
func (IonOptions_IonNetwork) Type ¶ added in v1.8.0
func (IonOptions_IonNetwork) Type() protoreflect.EnumType
type ListAvailableRolesRequest ¶ added in v1.9.0
type ListAvailableRolesRequest struct {
// contains filtered or unexported fields
}
Request to fetch the available roles in the current ecosystem
func (*ListAvailableRolesRequest) Descriptor
deprecated
added in
v1.9.0
func (*ListAvailableRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAvailableRolesRequest.ProtoReflect.Descriptor instead.
func (*ListAvailableRolesRequest) ProtoMessage ¶ added in v1.9.0
func (*ListAvailableRolesRequest) ProtoMessage()
func (*ListAvailableRolesRequest) ProtoReflect ¶ added in v1.9.0
func (x *ListAvailableRolesRequest) ProtoReflect() protoreflect.Message
func (*ListAvailableRolesRequest) Reset ¶ added in v1.9.0
func (x *ListAvailableRolesRequest) Reset()
func (*ListAvailableRolesRequest) String ¶ added in v1.9.0
func (x *ListAvailableRolesRequest) String() string
type ListAvailableRolesResponse ¶ added in v1.9.0
type ListAvailableRolesResponse struct { // List of roles Roles []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*ListAvailableRolesResponse) Descriptor
deprecated
added in
v1.9.0
func (*ListAvailableRolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAvailableRolesResponse.ProtoReflect.Descriptor instead.
func (*ListAvailableRolesResponse) GetRoles ¶ added in v1.9.0
func (x *ListAvailableRolesResponse) GetRoles() []string
func (*ListAvailableRolesResponse) ProtoMessage ¶ added in v1.9.0
func (*ListAvailableRolesResponse) ProtoMessage()
func (*ListAvailableRolesResponse) ProtoReflect ¶ added in v1.9.0
func (x *ListAvailableRolesResponse) ProtoReflect() protoreflect.Message
func (*ListAvailableRolesResponse) Reset ¶ added in v1.9.0
func (x *ListAvailableRolesResponse) Reset()
func (*ListAvailableRolesResponse) String ¶ added in v1.9.0
func (x *ListAvailableRolesResponse) String() string
type ListRoleAssignmentsRequest ¶ added in v1.9.0
type ListRoleAssignmentsRequest struct { // Types that are assignable to Account: // // *ListRoleAssignmentsRequest_Email // *ListRoleAssignmentsRequest_WalletId // *ListRoleAssignmentsRequest_DidUri Account isListRoleAssignmentsRequest_Account `protobuf_oneof:"account"` // contains filtered or unexported fields }
Request to fetch the list of roles assigned to the current account
func (*ListRoleAssignmentsRequest) Descriptor
deprecated
added in
v1.9.0
func (*ListRoleAssignmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleAssignmentsRequest.ProtoReflect.Descriptor instead.
func (*ListRoleAssignmentsRequest) GetAccount ¶ added in v1.9.0
func (m *ListRoleAssignmentsRequest) GetAccount() isListRoleAssignmentsRequest_Account
func (*ListRoleAssignmentsRequest) GetDidUri ¶ added in v1.9.0
func (x *ListRoleAssignmentsRequest) GetDidUri() string
func (*ListRoleAssignmentsRequest) GetEmail ¶ added in v1.9.0
func (x *ListRoleAssignmentsRequest) GetEmail() string
func (*ListRoleAssignmentsRequest) GetWalletId ¶ added in v1.9.0
func (x *ListRoleAssignmentsRequest) GetWalletId() string
func (*ListRoleAssignmentsRequest) ProtoMessage ¶ added in v1.9.0
func (*ListRoleAssignmentsRequest) ProtoMessage()
func (*ListRoleAssignmentsRequest) ProtoReflect ¶ added in v1.9.0
func (x *ListRoleAssignmentsRequest) ProtoReflect() protoreflect.Message
func (*ListRoleAssignmentsRequest) Reset ¶ added in v1.9.0
func (x *ListRoleAssignmentsRequest) Reset()
func (*ListRoleAssignmentsRequest) String ¶ added in v1.9.0
func (x *ListRoleAssignmentsRequest) String() string
type ListRoleAssignmentsRequest_DidUri ¶ added in v1.9.0
type ListRoleAssignmentsRequest_DidUri struct { // DID URI of the account to list roles. // Mutually exclusive with `email` and `walletId`. DidUri string `protobuf:"bytes,4,opt,name=did_uri,json=didUri,proto3,oneof"` }
type ListRoleAssignmentsRequest_Email ¶ added in v1.9.0
type ListRoleAssignmentsRequest_Email struct { // Email address of account to list roles. // Mutually exclusive with `walletId` and `didUri`. Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"` }
type ListRoleAssignmentsRequest_WalletId ¶ added in v1.9.0
type ListRoleAssignmentsRequest_WalletId struct { // Wallet ID of account to list roles. // Mutually exclusive with `email` and `didUri`. WalletId string `protobuf:"bytes,3,opt,name=wallet_id,json=walletId,proto3,oneof"` }
type ListRoleAssignmentsResponse ¶ added in v1.9.0
type ListRoleAssignmentsResponse struct { // List of roles Roles []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*ListRoleAssignmentsResponse) Descriptor
deprecated
added in
v1.9.0
func (*ListRoleAssignmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleAssignmentsResponse.ProtoReflect.Descriptor instead.
func (*ListRoleAssignmentsResponse) GetRoles ¶ added in v1.9.0
func (x *ListRoleAssignmentsResponse) GetRoles() []string
func (*ListRoleAssignmentsResponse) ProtoMessage ¶ added in v1.9.0
func (*ListRoleAssignmentsResponse) ProtoMessage()
func (*ListRoleAssignmentsResponse) ProtoReflect ¶ added in v1.9.0
func (x *ListRoleAssignmentsResponse) ProtoReflect() protoreflect.Message
func (*ListRoleAssignmentsResponse) Reset ¶ added in v1.9.0
func (x *ListRoleAssignmentsResponse) Reset()
func (*ListRoleAssignmentsResponse) String ¶ added in v1.9.0
func (x *ListRoleAssignmentsResponse) String() string
type ProviderClient ¶
type ProviderClient interface { // Create new ecosystem and assign the authenticated user as owner CreateEcosystem(ctx context.Context, in *CreateEcosystemRequest, opts ...grpc.CallOption) (*CreateEcosystemResponse, error) // Returns the public key being used to create/verify oberon tokens GetOberonKey(ctx context.Context, in *GetOberonKeyRequest, opts ...grpc.CallOption) (*GetOberonKeyResponse, error) // Upgrade a wallet's DID from `did:key` to another method UpgradeDID(ctx context.Context, in *UpgradeDidRequest, opts ...grpc.CallOption) (*UpgradeDidResponse, error) // Search for issuers/providers/verifiers in the current ecosystem SearchWalletConfigurations(ctx context.Context, in *SearchWalletConfigurationsRequest, opts ...grpc.CallOption) (*SearchWalletConfigurationResponse, error) }
ProviderClient is the client API for Provider 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 NewProviderClient ¶
func NewProviderClient(cc grpc.ClientConnInterface) ProviderClient
type ProviderServer ¶
type ProviderServer interface { // Create new ecosystem and assign the authenticated user as owner CreateEcosystem(context.Context, *CreateEcosystemRequest) (*CreateEcosystemResponse, error) // Returns the public key being used to create/verify oberon tokens GetOberonKey(context.Context, *GetOberonKeyRequest) (*GetOberonKeyResponse, error) // Upgrade a wallet's DID from `did:key` to another method UpgradeDID(context.Context, *UpgradeDidRequest) (*UpgradeDidResponse, error) // Search for issuers/providers/verifiers in the current ecosystem SearchWalletConfigurations(context.Context, *SearchWalletConfigurationsRequest) (*SearchWalletConfigurationResponse, error) // contains filtered or unexported methods }
ProviderServer is the server API for Provider service. All implementations must embed UnimplementedProviderServer for forward compatibility
type RemoveRoleAssignmentRequest ¶ added in v1.9.0
type RemoveRoleAssignmentRequest struct { // Role to unassign Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // Types that are assignable to Account: // // *RemoveRoleAssignmentRequest_Email // *RemoveRoleAssignmentRequest_WalletId // *RemoveRoleAssignmentRequest_DidUri Account isRemoveRoleAssignmentRequest_Account `protobuf_oneof:"account"` // contains filtered or unexported fields }
func (*RemoveRoleAssignmentRequest) Descriptor
deprecated
added in
v1.9.0
func (*RemoveRoleAssignmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRoleAssignmentRequest.ProtoReflect.Descriptor instead.
func (*RemoveRoleAssignmentRequest) GetAccount ¶ added in v1.9.0
func (m *RemoveRoleAssignmentRequest) GetAccount() isRemoveRoleAssignmentRequest_Account
func (*RemoveRoleAssignmentRequest) GetDidUri ¶ added in v1.9.0
func (x *RemoveRoleAssignmentRequest) GetDidUri() string
func (*RemoveRoleAssignmentRequest) GetEmail ¶ added in v1.9.0
func (x *RemoveRoleAssignmentRequest) GetEmail() string
func (*RemoveRoleAssignmentRequest) GetRole ¶ added in v1.9.0
func (x *RemoveRoleAssignmentRequest) GetRole() string
func (*RemoveRoleAssignmentRequest) GetWalletId ¶ added in v1.9.0
func (x *RemoveRoleAssignmentRequest) GetWalletId() string
func (*RemoveRoleAssignmentRequest) ProtoMessage ¶ added in v1.9.0
func (*RemoveRoleAssignmentRequest) ProtoMessage()
func (*RemoveRoleAssignmentRequest) ProtoReflect ¶ added in v1.9.0
func (x *RemoveRoleAssignmentRequest) ProtoReflect() protoreflect.Message
func (*RemoveRoleAssignmentRequest) Reset ¶ added in v1.9.0
func (x *RemoveRoleAssignmentRequest) Reset()
func (*RemoveRoleAssignmentRequest) String ¶ added in v1.9.0
func (x *RemoveRoleAssignmentRequest) String() string
type RemoveRoleAssignmentRequest_DidUri ¶ added in v1.9.0
type RemoveRoleAssignmentRequest_DidUri struct { // DID URI of the account to unassign role. // Mutually exclusive with `email` and `walletId`. DidUri string `protobuf:"bytes,4,opt,name=did_uri,json=didUri,proto3,oneof"` }
type RemoveRoleAssignmentRequest_Email ¶ added in v1.9.0
type RemoveRoleAssignmentRequest_Email struct { // Email address of account to unassign role. // Mutually exclusive with `walletId` and `didUri`. Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"` }
type RemoveRoleAssignmentRequest_WalletId ¶ added in v1.9.0
type RemoveRoleAssignmentRequest_WalletId struct { // Wallet ID of account to unassign role. // Mutually exclusive with `email` and `didUri`. WalletId string `protobuf:"bytes,3,opt,name=wallet_id,json=walletId,proto3,oneof"` }
type RemoveRoleAssignmentResponse ¶ added in v1.9.0
type RemoveRoleAssignmentResponse struct {
// contains filtered or unexported fields
}
func (*RemoveRoleAssignmentResponse) Descriptor
deprecated
added in
v1.9.0
func (*RemoveRoleAssignmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRoleAssignmentResponse.ProtoReflect.Descriptor instead.
func (*RemoveRoleAssignmentResponse) ProtoMessage ¶ added in v1.9.0
func (*RemoveRoleAssignmentResponse) ProtoMessage()
func (*RemoveRoleAssignmentResponse) ProtoReflect ¶ added in v1.9.0
func (x *RemoveRoleAssignmentResponse) ProtoReflect() protoreflect.Message
func (*RemoveRoleAssignmentResponse) Reset ¶ added in v1.9.0
func (x *RemoveRoleAssignmentResponse) Reset()
func (*RemoveRoleAssignmentResponse) String ¶ added in v1.9.0
func (x *RemoveRoleAssignmentResponse) String() string
type SearchWalletConfigurationResponse ¶ added in v1.8.0
type SearchWalletConfigurationResponse struct { // Results matching the search query Results []*WalletConfiguration `protobuf:"bytes,1,rep,name=results,proto3" json:"results,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 }
func (*SearchWalletConfigurationResponse) Descriptor
deprecated
added in
v1.8.0
func (*SearchWalletConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchWalletConfigurationResponse.ProtoReflect.Descriptor instead.
func (*SearchWalletConfigurationResponse) GetContinuationToken ¶ added in v1.8.0
func (x *SearchWalletConfigurationResponse) GetContinuationToken() string
func (*SearchWalletConfigurationResponse) GetHasMoreResults ¶ added in v1.11.0
func (x *SearchWalletConfigurationResponse) GetHasMoreResults() bool
func (*SearchWalletConfigurationResponse) GetResults ¶ added in v1.8.0
func (x *SearchWalletConfigurationResponse) GetResults() []*WalletConfiguration
func (*SearchWalletConfigurationResponse) ProtoMessage ¶ added in v1.8.0
func (*SearchWalletConfigurationResponse) ProtoMessage()
func (*SearchWalletConfigurationResponse) ProtoReflect ¶ added in v1.8.0
func (x *SearchWalletConfigurationResponse) ProtoReflect() protoreflect.Message
func (*SearchWalletConfigurationResponse) Reset ¶ added in v1.8.0
func (x *SearchWalletConfigurationResponse) Reset()
func (*SearchWalletConfigurationResponse) String ¶ added in v1.8.0
func (x *SearchWalletConfigurationResponse) String() string
type SearchWalletConfigurationsRequest ¶ added in v1.8.0
type SearchWalletConfigurationsRequest struct { // SQL filter to execute. `SELECT * FROM c WHERE [**queryFilter**]` QueryFilter string `protobuf:"bytes,1,opt,name=query_filter,json=queryFilter,proto3" json:"query_filter,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 }
Search for issuers/holders/verifiers
func (*SearchWalletConfigurationsRequest) Descriptor
deprecated
added in
v1.8.0
func (*SearchWalletConfigurationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchWalletConfigurationsRequest.ProtoReflect.Descriptor instead.
func (*SearchWalletConfigurationsRequest) GetContinuationToken ¶ added in v1.8.0
func (x *SearchWalletConfigurationsRequest) GetContinuationToken() string
func (*SearchWalletConfigurationsRequest) GetQueryFilter ¶ added in v1.8.0
func (x *SearchWalletConfigurationsRequest) GetQueryFilter() string
func (*SearchWalletConfigurationsRequest) ProtoMessage ¶ added in v1.8.0
func (*SearchWalletConfigurationsRequest) ProtoMessage()
func (*SearchWalletConfigurationsRequest) ProtoReflect ¶ added in v1.8.0
func (x *SearchWalletConfigurationsRequest) ProtoReflect() protoreflect.Message
func (*SearchWalletConfigurationsRequest) Reset ¶ added in v1.8.0
func (x *SearchWalletConfigurationsRequest) Reset()
func (*SearchWalletConfigurationsRequest) String ¶ added in v1.8.0
func (x *SearchWalletConfigurationsRequest) String() string
type UnimplementedAccessManagementServer ¶ added in v1.9.0
type UnimplementedAccessManagementServer struct { }
UnimplementedAccessManagementServer must be embedded to have forward compatible implementations.
func (UnimplementedAccessManagementServer) AddRoleAssignment ¶ added in v1.9.0
func (UnimplementedAccessManagementServer) AddRoleAssignment(context.Context, *AddRoleAssignmentRequest) (*AddRoleAssignmentResponse, error)
func (UnimplementedAccessManagementServer) ListAvailableRoles ¶ added in v1.9.0
func (UnimplementedAccessManagementServer) ListAvailableRoles(context.Context, *ListAvailableRolesRequest) (*ListAvailableRolesResponse, error)
func (UnimplementedAccessManagementServer) ListRoleAssignments ¶ added in v1.9.0
func (UnimplementedAccessManagementServer) ListRoleAssignments(context.Context, *ListRoleAssignmentsRequest) (*ListRoleAssignmentsResponse, error)
func (UnimplementedAccessManagementServer) RemoveRoleAssignment ¶ added in v1.9.0
func (UnimplementedAccessManagementServer) RemoveRoleAssignment(context.Context, *RemoveRoleAssignmentRequest) (*RemoveRoleAssignmentResponse, error)
type UnimplementedProviderServer ¶
type UnimplementedProviderServer struct { }
UnimplementedProviderServer must be embedded to have forward compatible implementations.
func (UnimplementedProviderServer) CreateEcosystem ¶
func (UnimplementedProviderServer) CreateEcosystem(context.Context, *CreateEcosystemRequest) (*CreateEcosystemResponse, error)
func (UnimplementedProviderServer) GetOberonKey ¶
func (UnimplementedProviderServer) GetOberonKey(context.Context, *GetOberonKeyRequest) (*GetOberonKeyResponse, error)
func (UnimplementedProviderServer) SearchWalletConfigurations ¶ added in v1.8.0
func (UnimplementedProviderServer) SearchWalletConfigurations(context.Context, *SearchWalletConfigurationsRequest) (*SearchWalletConfigurationResponse, error)
func (UnimplementedProviderServer) UpgradeDID ¶ added in v1.8.0
func (UnimplementedProviderServer) UpgradeDID(context.Context, *UpgradeDidRequest) (*UpgradeDidResponse, error)
type UnsafeAccessManagementServer ¶ added in v1.9.0
type UnsafeAccessManagementServer interface {
// contains filtered or unexported methods
}
UnsafeAccessManagementServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccessManagementServer will result in compilation errors.
type UnsafeProviderServer ¶
type UnsafeProviderServer interface {
// contains filtered or unexported methods
}
UnsafeProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProviderServer will result in compilation errors.
type UpgradeDidRequest ¶ added in v1.8.0
type UpgradeDidRequest struct { // Types that are assignable to Account: // // *UpgradeDidRequest_Email // *UpgradeDidRequest_WalletId // *UpgradeDidRequest_DidUri Account isUpgradeDidRequest_Account `protobuf_oneof:"account"` // DID Method to which wallet should be upgraded Method common.SupportedDidMethod `protobuf:"varint,3,opt,name=method,proto3,enum=services.common.v1.SupportedDidMethod" json:"method,omitempty"` // Types that are assignable to Options: // // *UpgradeDidRequest_IonOptions // *UpgradeDidRequest_IndyOptions Options isUpgradeDidRequest_Options `protobuf_oneof:"options"` // contains filtered or unexported fields }
Request to upgrade a wallet
func (*UpgradeDidRequest) Descriptor
deprecated
added in
v1.8.0
func (*UpgradeDidRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeDidRequest.ProtoReflect.Descriptor instead.
func (*UpgradeDidRequest) GetAccount ¶ added in v1.8.0
func (m *UpgradeDidRequest) GetAccount() isUpgradeDidRequest_Account
func (*UpgradeDidRequest) GetDidUri ¶ added in v1.9.0
func (x *UpgradeDidRequest) GetDidUri() string
func (*UpgradeDidRequest) GetEmail ¶ added in v1.8.0
func (x *UpgradeDidRequest) GetEmail() string
func (*UpgradeDidRequest) GetIndyOptions ¶ added in v1.9.0
func (x *UpgradeDidRequest) GetIndyOptions() *IndyOptions
func (*UpgradeDidRequest) GetIonOptions ¶ added in v1.8.0
func (x *UpgradeDidRequest) GetIonOptions() *IonOptions
func (*UpgradeDidRequest) GetMethod ¶ added in v1.8.0
func (x *UpgradeDidRequest) GetMethod() common.SupportedDidMethod
func (*UpgradeDidRequest) GetOptions ¶ added in v1.8.0
func (m *UpgradeDidRequest) GetOptions() isUpgradeDidRequest_Options
func (*UpgradeDidRequest) GetWalletId ¶ added in v1.8.0
func (x *UpgradeDidRequest) GetWalletId() string
func (*UpgradeDidRequest) ProtoMessage ¶ added in v1.8.0
func (*UpgradeDidRequest) ProtoMessage()
func (*UpgradeDidRequest) ProtoReflect ¶ added in v1.8.0
func (x *UpgradeDidRequest) ProtoReflect() protoreflect.Message
func (*UpgradeDidRequest) Reset ¶ added in v1.8.0
func (x *UpgradeDidRequest) Reset()
func (*UpgradeDidRequest) String ¶ added in v1.8.0
func (x *UpgradeDidRequest) String() string
type UpgradeDidRequest_DidUri ¶ added in v1.9.0
type UpgradeDidRequest_DidUri struct { // DID URI of the account to upgrade. // Mutually exclusive with `email` and `walletId`. DidUri string `protobuf:"bytes,6,opt,name=did_uri,json=didUri,proto3,oneof"` }
type UpgradeDidRequest_Email ¶ added in v1.8.0
type UpgradeDidRequest_Email struct { // Email address of account to upgrade. // Mutually exclusive with `walletId` and `didUri`. Email string `protobuf:"bytes,1,opt,name=email,proto3,oneof"` }
type UpgradeDidRequest_IndyOptions ¶ added in v1.9.0
type UpgradeDidRequest_IndyOptions struct { // Configuration for creation of DID on INDY network IndyOptions *IndyOptions `protobuf:"bytes,5,opt,name=indy_options,json=indyOptions,proto3,oneof"` }
type UpgradeDidRequest_IonOptions ¶ added in v1.8.0
type UpgradeDidRequest_IonOptions struct { // Configuration for creation of DID on ION network IonOptions *IonOptions `protobuf:"bytes,4,opt,name=ion_options,json=ionOptions,proto3,oneof"` }
type UpgradeDidRequest_WalletId ¶ added in v1.8.0
type UpgradeDidRequest_WalletId struct { // Wallet ID of account to upgrade. // Mutually exclusive with `email` and `didUri`. WalletId string `protobuf:"bytes,2,opt,name=wallet_id,json=walletId,proto3,oneof"` }
type UpgradeDidResponse ¶ added in v1.8.0
type UpgradeDidResponse struct { // New DID of wallet Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"` // contains filtered or unexported fields }
Response to `UpgradeDIDRequest`
func (*UpgradeDidResponse) Descriptor
deprecated
added in
v1.8.0
func (*UpgradeDidResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeDidResponse.ProtoReflect.Descriptor instead.
func (*UpgradeDidResponse) GetDid ¶ added in v1.8.0
func (x *UpgradeDidResponse) GetDid() string
func (*UpgradeDidResponse) ProtoMessage ¶ added in v1.8.0
func (*UpgradeDidResponse) ProtoMessage()
func (*UpgradeDidResponse) ProtoReflect ¶ added in v1.8.0
func (x *UpgradeDidResponse) ProtoReflect() protoreflect.Message
func (*UpgradeDidResponse) Reset ¶ added in v1.8.0
func (x *UpgradeDidResponse) Reset()
func (*UpgradeDidResponse) String ¶ added in v1.8.0
func (x *UpgradeDidResponse) String() string
type WalletConfiguration ¶ added in v1.8.0
type WalletConfiguration struct { // Name/description of the wallet Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Deprecated and will be removed on August 1, 2023 -- use external_identities. // This field is set to the first email address present in `external_identities`, if any. // // Deprecated: Marked as deprecated in services/provider/v1/provider.proto. Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // Deprecated -- use external_identities // // Deprecated: Marked as deprecated in services/provider/v1/provider.proto. Sms string `protobuf:"bytes,3,opt,name=sms,proto3" json:"sms,omitempty"` WalletId string `protobuf:"bytes,4,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` // The DID of the wallet PublicDid string `protobuf:"bytes,5,opt,name=public_did,json=publicDid,proto3" json:"public_did,omitempty"` ConfigType string `protobuf:"bytes,6,opt,name=config_type,json=configType,proto3" json:"config_type,omitempty"` // List of active authentication tokens for this wallet. // This list does not contain the issued token, only metadata // such as ID, description, and creation date. AuthTokens []*account.WalletAuthToken `protobuf:"bytes,7,rep,name=auth_tokens,json=authTokens,proto3" json:"auth_tokens,omitempty"` // List of external identity IDs (email addresses, phone numbers, etc.) associated with this wallet. // This is deprecated; use `external_identities` instead. // // Deprecated: Marked as deprecated in services/provider/v1/provider.proto. ExternalIdentityIds []string `protobuf:"bytes,8,rep,name=external_identity_ids,json=externalIdentityIds,proto3" json:"external_identity_ids,omitempty"` // Ecosystem in which this wallet is contained. EcosystemId string `protobuf:"bytes,9,opt,name=ecosystem_id,json=ecosystemId,proto3" json:"ecosystem_id,omitempty"` Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"` // List of external identities associated with this wallet. ExternalIdentities []*WalletExternalIdentity `protobuf:"bytes,11,rep,name=external_identities,json=externalIdentities,proto3" json:"external_identities,omitempty"` // contains filtered or unexported fields }
Strongly typed information about wallet configurations
func (*WalletConfiguration) Descriptor
deprecated
added in
v1.8.0
func (*WalletConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use WalletConfiguration.ProtoReflect.Descriptor instead.
func (*WalletConfiguration) GetAuthTokens ¶ added in v1.11.0
func (x *WalletConfiguration) GetAuthTokens() []*account.WalletAuthToken
func (*WalletConfiguration) GetConfigType ¶ added in v1.9.0
func (x *WalletConfiguration) GetConfigType() string
func (*WalletConfiguration) GetDescription ¶ added in v1.11.0
func (x *WalletConfiguration) GetDescription() string
func (*WalletConfiguration) GetEcosystemId ¶ added in v1.11.0
func (x *WalletConfiguration) GetEcosystemId() string
func (*WalletConfiguration) GetEmail
deprecated
added in
v1.8.0
func (x *WalletConfiguration) GetEmail() string
Deprecated: Marked as deprecated in services/provider/v1/provider.proto.
func (*WalletConfiguration) GetExternalIdentities ¶ added in v1.11.0
func (x *WalletConfiguration) GetExternalIdentities() []*WalletExternalIdentity
func (*WalletConfiguration) GetExternalIdentityIds
deprecated
added in
v1.11.8
func (x *WalletConfiguration) GetExternalIdentityIds() []string
Deprecated: Marked as deprecated in services/provider/v1/provider.proto.
func (*WalletConfiguration) GetName ¶ added in v1.8.0
func (x *WalletConfiguration) GetName() string
func (*WalletConfiguration) GetPublicDid ¶ added in v1.8.0
func (x *WalletConfiguration) GetPublicDid() string
func (*WalletConfiguration) GetSms
deprecated
added in
v1.8.0
func (x *WalletConfiguration) GetSms() string
Deprecated: Marked as deprecated in services/provider/v1/provider.proto.
func (*WalletConfiguration) GetWalletId ¶ added in v1.8.0
func (x *WalletConfiguration) GetWalletId() string
func (*WalletConfiguration) ProtoMessage ¶ added in v1.8.0
func (*WalletConfiguration) ProtoMessage()
func (*WalletConfiguration) ProtoReflect ¶ added in v1.8.0
func (x *WalletConfiguration) ProtoReflect() protoreflect.Message
func (*WalletConfiguration) Reset ¶ added in v1.8.0
func (x *WalletConfiguration) Reset()
func (*WalletConfiguration) String ¶ added in v1.8.0
func (x *WalletConfiguration) String() string
type WalletExternalIdentity ¶ added in v1.11.8
type WalletExternalIdentity struct { // The type of this identity (whether this identity is an email address, phone number, etc.) Provider IdentityProvider `protobuf:"varint,1,opt,name=provider,proto3,enum=services.provider.v1.IdentityProvider" json:"provider,omitempty"` // The actual email address/phone number/etc. for this identity Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
An external identity (email address, phone number, etc.) associated with a wallet for authentication purposes.
func (*WalletExternalIdentity) Descriptor
deprecated
added in
v1.11.8
func (*WalletExternalIdentity) Descriptor() ([]byte, []int)
Deprecated: Use WalletExternalIdentity.ProtoReflect.Descriptor instead.
func (*WalletExternalIdentity) GetId ¶ added in v1.11.8
func (x *WalletExternalIdentity) GetId() string
func (*WalletExternalIdentity) GetProvider ¶ added in v1.11.8
func (x *WalletExternalIdentity) GetProvider() IdentityProvider
func (*WalletExternalIdentity) ProtoMessage ¶ added in v1.11.8
func (*WalletExternalIdentity) ProtoMessage()
func (*WalletExternalIdentity) ProtoReflect ¶ added in v1.11.8
func (x *WalletExternalIdentity) ProtoReflect() protoreflect.Message
func (*WalletExternalIdentity) Reset ¶ added in v1.11.8
func (x *WalletExternalIdentity) Reset()
func (*WalletExternalIdentity) String ¶ added in v1.11.8
func (x *WalletExternalIdentity) String() string