Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDomainAdminService(server *grpc.Server, impl DomainAdminServiceServer)
- func RegisterDomainAdminServiceServer(s grpc.ServiceRegistrar, srv DomainAdminServiceServer)
- func RegisterPlatformAdminService(server *grpc.Server, impl PlatformAdminServiceServer)
- func RegisterPlatformAdminServiceServer(s grpc.ServiceRegistrar, srv PlatformAdminServiceServer)
- type ActivateKeyRequest
- func (*ActivateKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateKeyRequest) GetKeyId() []byte
- func (x *ActivateKeyRequest) GetUserId() string
- func (*ActivateKeyRequest) ProtoMessage()
- func (x *ActivateKeyRequest) ProtoReflect() protoreflect.Message
- func (x *ActivateKeyRequest) Reset()
- func (x *ActivateKeyRequest) String() string
- type ActivateKeyResponse
- func (*ActivateKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateKeyResponse) GetSuccess() bool
- func (*ActivateKeyResponse) ProtoMessage()
- func (x *ActivateKeyResponse) ProtoReflect() protoreflect.Message
- func (x *ActivateKeyResponse) Reset()
- func (x *ActivateKeyResponse) String() string
- type AddKeyRequest
- func (*AddKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddKeyRequest) GetLocation() *common.Location
- func (x *AddKeyRequest) GetName() string
- func (x *AddKeyRequest) GetPending() bool
- func (x *AddKeyRequest) GetReturnUrl() string
- func (x *AddKeyRequest) GetTimeout() int64
- func (x *AddKeyRequest) GetUserId() string
- func (*AddKeyRequest) ProtoMessage()
- func (x *AddKeyRequest) ProtoReflect() protoreflect.Message
- func (x *AddKeyRequest) Reset()
- func (x *AddKeyRequest) String() string
- type AuditChallengeRequest
- func (*AuditChallengeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuditChallengeRequest) GetChallengeId() string
- func (x *AuditChallengeRequest) GetDomain() string
- func (*AuditChallengeRequest) ProtoMessage()
- func (x *AuditChallengeRequest) ProtoReflect() protoreflect.Message
- func (x *AuditChallengeRequest) Reset()
- func (x *AuditChallengeRequest) String() string
- type AuditClientInfo
- func (*AuditClientInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AuditClientInfo) GetAdmin() bool
- func (x *AuditClientInfo) GetClientId() string
- func (x *AuditClientInfo) GetName() string
- func (*AuditClientInfo) ProtoMessage()
- func (x *AuditClientInfo) ProtoReflect() protoreflect.Message
- func (x *AuditClientInfo) Reset()
- func (x *AuditClientInfo) String() string
- type AuditDeviceInfo
- func (*AuditDeviceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AuditDeviceInfo) GetDeviceId() string
- func (x *AuditDeviceInfo) GetName() string
- func (*AuditDeviceInfo) ProtoMessage()
- func (x *AuditDeviceInfo) ProtoReflect() protoreflect.Message
- func (x *AuditDeviceInfo) Reset()
- func (x *AuditDeviceInfo) String() string
- type AuditEntry
- func (*AuditEntry) Descriptor() ([]byte, []int)deprecated
- func (x *AuditEntry) GetAuthenticatorData() []byte
- func (x *AuditEntry) GetChallengeId() string
- func (x *AuditEntry) GetChallengeLocation() *common.Location
- func (x *AuditEntry) GetClient() *AuditClientInfo
- func (x *AuditEntry) GetClientDataJson() []byte
- func (x *AuditEntry) GetCreatedAt() *timestamppb.Timestamp
- func (x *AuditEntry) GetDevice() *AuditDeviceInfo
- func (x *AuditEntry) GetDistanceMeters() *wrapperspb.DoubleValue
- func (x *AuditEntry) GetExpiresAt() *timestamppb.Timestamp
- func (x *AuditEntry) GetKey() *AuditKeyInfo
- func (x *AuditEntry) GetLocationRequired() bool
- func (x *AuditEntry) GetMessage() string
- func (x *AuditEntry) GetSignature() []byte
- func (x *AuditEntry) GetSignatureLocation() *common.Location
- func (x *AuditEntry) GetSignedAt() *timestamppb.Timestamp
- func (x *AuditEntry) GetStatus() common.Status
- func (x *AuditEntry) GetTitle() string
- func (x *AuditEntry) GetVerified() bool
- func (*AuditEntry) ProtoMessage()
- func (x *AuditEntry) ProtoReflect() protoreflect.Message
- func (x *AuditEntry) Reset()
- func (x *AuditEntry) String() string
- type AuditKeyInfo
- func (*AuditKeyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AuditKeyInfo) GetAlgorithm() int64
- func (x *AuditKeyInfo) GetKeyId() []byte
- func (x *AuditKeyInfo) GetName() string
- func (x *AuditKeyInfo) GetRevoked() bool
- func (*AuditKeyInfo) ProtoMessage()
- func (x *AuditKeyInfo) ProtoReflect() protoreflect.Message
- func (x *AuditKeyInfo) Reset()
- func (x *AuditKeyInfo) String() string
- type AuditUserRequest
- func (*AuditUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuditUserRequest) GetDomain() string
- func (x *AuditUserRequest) GetFrom() *timestamppb.Timestamp
- func (x *AuditUserRequest) GetTo() *timestamppb.Timestamp
- func (x *AuditUserRequest) GetUserId() string
- func (*AuditUserRequest) ProtoMessage()
- func (x *AuditUserRequest) ProtoReflect() protoreflect.Message
- func (x *AuditUserRequest) Reset()
- func (x *AuditUserRequest) String() string
- type AuditUserResponse
- func (*AuditUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuditUserResponse) GetEntries() []*AuditEntry
- func (*AuditUserResponse) ProtoMessage()
- func (x *AuditUserResponse) ProtoReflect() protoreflect.Message
- func (x *AuditUserResponse) Reset()
- func (x *AuditUserResponse) String() string
- type CollectRequest
- func (*CollectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CollectRequest) GetChallengeId() string
- func (x *CollectRequest) GetChallengeSecret() string
- func (*CollectRequest) ProtoMessage()
- func (x *CollectRequest) ProtoReflect() protoreflect.Message
- func (x *CollectRequest) Reset()
- func (x *CollectRequest) String() string
- type CollectResponse
- func (*CollectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CollectResponse) GetAaguid() []byte
- func (x *CollectResponse) GetAlgorithm() int64
- func (x *CollectResponse) GetAttestationObject() []byte
- func (x *CollectResponse) GetAttestationType() string
- func (x *CollectResponse) GetChallenge() []byte
- func (x *CollectResponse) GetClientDataJson() []byte
- func (x *CollectResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *CollectResponse) GetKeyId() []byte
- func (x *CollectResponse) GetLocation() *common.Location
- func (x *CollectResponse) GetPublicKey() []byte
- func (x *CollectResponse) GetStatus() common.Status
- func (x *CollectResponse) GetUserId() string
- func (*CollectResponse) ProtoMessage()
- func (x *CollectResponse) ProtoReflect() protoreflect.Message
- func (x *CollectResponse) Reset()
- func (x *CollectResponse) String() string
- type CreateClientRequest
- func (*CreateClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClientRequest) GetAdmin() bool
- func (x *CreateClientRequest) GetDescription() string
- func (x *CreateClientRequest) GetIcon() string
- func (x *CreateClientRequest) GetName() string
- func (*CreateClientRequest) ProtoMessage()
- func (x *CreateClientRequest) ProtoReflect() protoreflect.Message
- func (x *CreateClientRequest) Reset()
- func (x *CreateClientRequest) String() string
- type CreateClientResponse
- func (*CreateClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClientResponse) GetAdmin() bool
- func (x *CreateClientResponse) GetClientId() string
- func (x *CreateClientResponse) GetClientSecret() string
- func (x *CreateClientResponse) GetDescription() string
- func (x *CreateClientResponse) GetIcon() string
- func (x *CreateClientResponse) GetName() string
- func (*CreateClientResponse) ProtoMessage()
- func (x *CreateClientResponse) ProtoReflect() protoreflect.Message
- func (x *CreateClientResponse) Reset()
- func (x *CreateClientResponse) String() string
- type CreateDomainRequest
- func (*CreateDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDomainRequest) GetAlgorithms() []int64
- func (x *CreateDomainRequest) GetDescription() string
- func (x *CreateDomainRequest) GetDomain() string
- func (x *CreateDomainRequest) GetName() string
- func (x *CreateDomainRequest) GetRegistrationPath() string
- func (x *CreateDomainRequest) GetRequireDeviceBinding() bool
- func (x *CreateDomainRequest) GetSignPath() string
- func (x *CreateDomainRequest) GetTokenMaxAge() int32
- func (*CreateDomainRequest) ProtoMessage()
- func (x *CreateDomainRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDomainRequest) Reset()
- func (x *CreateDomainRequest) String() string
- type CreateDomainResponse
- func (*CreateDomainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDomainResponse) GetClientId() string
- func (x *CreateDomainResponse) GetSecret() string
- func (*CreateDomainResponse) ProtoMessage()
- func (x *CreateDomainResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDomainResponse) Reset()
- func (x *CreateDomainResponse) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetLocation() *common.Location
- func (r *CreateUserRequest) GetLocationCoordinates() (*common.LongLatitude, error)
- func (x *CreateUserRequest) GetName() string
- func (x *CreateUserRequest) GetReturnUrl() string
- func (x *CreateUserRequest) GetTimeout() int64
- func (x *CreateUserRequest) GetUserId() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type DeleteClientRequest
- func (*DeleteClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClientRequest) GetClientId() string
- func (*DeleteClientRequest) ProtoMessage()
- func (x *DeleteClientRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClientRequest) Reset()
- func (x *DeleteClientRequest) String() string
- type DeleteDomainRequest
- func (*DeleteDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDomainRequest) GetDomain() string
- func (*DeleteDomainRequest) ProtoMessage()
- func (x *DeleteDomainRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDomainRequest) Reset()
- func (x *DeleteDomainRequest) String() string
- type DeleteUserRequest
- type DeviceBinding
- func (*DeviceBinding) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceBinding) GetDeviceId() string
- func (x *DeviceBinding) GetFirstUsedAt() *timestamppb.Timestamp
- func (x *DeviceBinding) GetLastUsedAt() *timestamppb.Timestamp
- func (x *DeviceBinding) GetName() string
- func (*DeviceBinding) ProtoMessage()
- func (x *DeviceBinding) ProtoReflect() protoreflect.Message
- func (x *DeviceBinding) Reset()
- func (x *DeviceBinding) String() string
- type Domain
- func (*Domain) Descriptor() ([]byte, []int)deprecated
- func (x *Domain) GetAlgorithms() []int64
- func (x *Domain) GetCreatedAt() *timestamppb.Timestamp
- func (x *Domain) GetDescription() string
- func (x *Domain) GetDomain() string
- func (x *Domain) GetName() string
- func (x *Domain) GetRegistrationPath() string
- func (x *Domain) GetRequireDeviceBinding() bool
- func (x *Domain) GetSignPath() string
- func (x *Domain) GetTokenMaxAge() int32
- func (*Domain) ProtoMessage()
- func (x *Domain) ProtoReflect() protoreflect.Message
- func (x *Domain) Reset()
- func (x *Domain) String() string
- type DomainAdminServiceClient
- type DomainAdminServiceServer
- type DomainAuditChallengeRequest
- func (*DomainAuditChallengeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DomainAuditChallengeRequest) GetChallengeId() string
- func (*DomainAuditChallengeRequest) ProtoMessage()
- func (x *DomainAuditChallengeRequest) ProtoReflect() protoreflect.Message
- func (x *DomainAuditChallengeRequest) Reset()
- func (x *DomainAuditChallengeRequest) String() string
- type DomainAuditUserRequest
- func (*DomainAuditUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DomainAuditUserRequest) GetFrom() *timestamppb.Timestamp
- func (x *DomainAuditUserRequest) GetTo() *timestamppb.Timestamp
- func (x *DomainAuditUserRequest) GetUserId() string
- func (*DomainAuditUserRequest) ProtoMessage()
- func (x *DomainAuditUserRequest) ProtoReflect() protoreflect.Message
- func (x *DomainAuditUserRequest) Reset()
- func (x *DomainAuditUserRequest) String() string
- type DomainDetails
- func (*DomainDetails) Descriptor() ([]byte, []int)deprecated
- func (x *DomainDetails) GetAlgorithms() []int64
- func (x *DomainDetails) GetCreatedAt() *timestamppb.Timestamp
- func (x *DomainDetails) GetDescription() string
- func (x *DomainDetails) GetDomain() string
- func (x *DomainDetails) GetName() string
- func (x *DomainDetails) GetRegistrationPath() string
- func (x *DomainDetails) GetRequireDeviceBinding() bool
- func (x *DomainDetails) GetSignPath() string
- func (x *DomainDetails) GetTokenMaxAge() int32
- func (*DomainDetails) ProtoMessage()
- func (x *DomainDetails) ProtoReflect() protoreflect.Message
- func (x *DomainDetails) Reset()
- func (x *DomainDetails) String() string
- type GetDomainRequest
- type GetUserRequest
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *GetUserResponse) GetDomain() string
- func (x *GetUserResponse) GetKeys() []*common.Key
- func (x *GetUserResponse) GetUserId() string
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- type ListAdminClientsRequest
- func (*ListAdminClientsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAdminClientsRequest) GetDomain() string
- func (*ListAdminClientsRequest) ProtoMessage()
- func (x *ListAdminClientsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAdminClientsRequest) Reset()
- func (x *ListAdminClientsRequest) String() string
- type ListAdminClientsResponse
- func (*ListAdminClientsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAdminClientsResponse) GetClients() []*common.ClientMeta
- func (*ListAdminClientsResponse) ProtoMessage()
- func (x *ListAdminClientsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAdminClientsResponse) Reset()
- func (x *ListAdminClientsResponse) String() string
- type ListClientsRequest
- func (*ListClientsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClientsRequest) GetAdminOnly() bool
- func (*ListClientsRequest) ProtoMessage()
- func (x *ListClientsRequest) ProtoReflect() protoreflect.Message
- func (x *ListClientsRequest) Reset()
- func (x *ListClientsRequest) String() string
- type ListClientsResponse
- func (*ListClientsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClientsResponse) GetClients() []*common.ClientMeta
- func (*ListClientsResponse) ProtoMessage()
- func (x *ListClientsResponse) ProtoReflect() protoreflect.Message
- func (x *ListClientsResponse) Reset()
- func (x *ListClientsResponse) String() string
- type ListDevicesRequest
- func (*ListDevicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDevicesRequest) GetUserId() string
- func (*ListDevicesRequest) ProtoMessage()
- func (x *ListDevicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDevicesRequest) Reset()
- func (x *ListDevicesRequest) String() string
- type ListDevicesResponse
- func (*ListDevicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDevicesResponse) GetDevices() []*DeviceBinding
- func (*ListDevicesResponse) ProtoMessage()
- func (x *ListDevicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDevicesResponse) Reset()
- func (x *ListDevicesResponse) String() string
- type ListDomainsRequest
- func (*ListDomainsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainsRequest) GetDomains() []string
- func (*ListDomainsRequest) ProtoMessage()
- func (x *ListDomainsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDomainsRequest) Reset()
- func (x *ListDomainsRequest) String() string
- type ListDomainsResponse
- func (*ListDomainsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainsResponse) GetDomains() []*Domain
- func (*ListDomainsResponse) ProtoMessage()
- func (x *ListDomainsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDomainsResponse) Reset()
- func (x *ListDomainsResponse) String() string
- type ListUsersResponse
- type PlatformAdminServiceClient
- type PlatformAdminServiceServer
- type RemoveDeviceRequest
- func (*RemoveDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDeviceRequest) GetDeviceId() string
- func (x *RemoveDeviceRequest) GetUserId() string
- func (*RemoveDeviceRequest) ProtoMessage()
- func (x *RemoveDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDeviceRequest) Reset()
- func (x *RemoveDeviceRequest) String() string
- type RevokeKeyRequest
- func (*RevokeKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeKeyRequest) GetKeyId() []byte
- func (x *RevokeKeyRequest) GetUserId() string
- func (*RevokeKeyRequest) ProtoMessage()
- func (x *RevokeKeyRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeKeyRequest) Reset()
- func (x *RevokeKeyRequest) String() string
- type RevokeKeyResponse
- type UnimplementedDomainAdminServiceServer
- func (UnimplementedDomainAdminServiceServer) ActivateKey(context.Context, *ActivateKeyRequest) (*ActivateKeyResponse, error)
- func (UnimplementedDomainAdminServiceServer) AddKey(context.Context, *AddKeyRequest) (*common.ChallengeResponse, error)
- func (UnimplementedDomainAdminServiceServer) AuditChallenge(context.Context, *DomainAuditChallengeRequest) (*AuditEntry, error)
- func (UnimplementedDomainAdminServiceServer) AuditUser(context.Context, *DomainAuditUserRequest) (*AuditUserResponse, error)
- func (UnimplementedDomainAdminServiceServer) CollectChallenge(context.Context, *CollectRequest) (*CollectResponse, error)
- func (UnimplementedDomainAdminServiceServer) CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error)
- func (UnimplementedDomainAdminServiceServer) CreateUser(context.Context, *CreateUserRequest) (*common.ChallengeResponse, error)
- func (UnimplementedDomainAdminServiceServer) DeleteClient(context.Context, *DeleteClientRequest) (*emptypb.Empty, error)
- func (UnimplementedDomainAdminServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
- func (UnimplementedDomainAdminServiceServer) GetDomain(context.Context, *emptypb.Empty) (*DomainDetails, error)
- func (UnimplementedDomainAdminServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedDomainAdminServiceServer) ListClients(context.Context, *ListClientsRequest) (*ListClientsResponse, error)
- func (UnimplementedDomainAdminServiceServer) ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
- func (UnimplementedDomainAdminServiceServer) ListUsers(context.Context, *emptypb.Empty) (*ListUsersResponse, error)
- func (UnimplementedDomainAdminServiceServer) RemoveDevice(context.Context, *RemoveDeviceRequest) (*emptypb.Empty, error)
- func (UnimplementedDomainAdminServiceServer) RevokeKey(context.Context, *RevokeKeyRequest) (*RevokeKeyResponse, error)
- func (UnimplementedDomainAdminServiceServer) UpdateDevice(context.Context, *UpdateDeviceRequest) (*emptypb.Empty, error)
- func (UnimplementedDomainAdminServiceServer) UpdateDomain(context.Context, *UpdateDomainDetailsRequest) (*DomainDetails, error)
- type UnimplementedPlatformAdminServiceServer
- func (UnimplementedPlatformAdminServiceServer) AuditChallenge(context.Context, *AuditChallengeRequest) (*AuditEntry, error)
- func (UnimplementedPlatformAdminServiceServer) AuditUser(context.Context, *AuditUserRequest) (*AuditUserResponse, error)
- func (UnimplementedPlatformAdminServiceServer) CreateDomain(context.Context, *CreateDomainRequest) (*CreateDomainResponse, error)
- func (UnimplementedPlatformAdminServiceServer) DeleteDomain(context.Context, *DeleteDomainRequest) (*emptypb.Empty, error)
- func (UnimplementedPlatformAdminServiceServer) GetDomain(context.Context, *GetDomainRequest) (*Domain, error)
- func (UnimplementedPlatformAdminServiceServer) ListAdminClients(context.Context, *ListAdminClientsRequest) (*ListAdminClientsResponse, error)
- func (UnimplementedPlatformAdminServiceServer) ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error)
- func (UnimplementedPlatformAdminServiceServer) UpdateDomain(context.Context, *UpdateDomainRequest) (*Domain, error)
- type UnsafeDomainAdminServiceServer
- type UnsafePlatformAdminServiceServer
- type UpdateDeviceRequest
- func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeviceRequest) GetDeviceId() string
- func (x *UpdateDeviceRequest) GetName() string
- func (x *UpdateDeviceRequest) GetUserId() string
- func (*UpdateDeviceRequest) ProtoMessage()
- func (x *UpdateDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDeviceRequest) Reset()
- func (x *UpdateDeviceRequest) String() string
- type UpdateDomainDetailsRequest
- func (*UpdateDomainDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDomainDetailsRequest) GetAlgorithms() []int64
- func (x *UpdateDomainDetailsRequest) GetDescription() string
- func (x *UpdateDomainDetailsRequest) GetName() string
- func (x *UpdateDomainDetailsRequest) GetRegistrationPath() string
- func (x *UpdateDomainDetailsRequest) GetRequireDeviceBinding() bool
- func (x *UpdateDomainDetailsRequest) GetSignPath() string
- func (x *UpdateDomainDetailsRequest) GetTokenMaxAge() int32
- func (*UpdateDomainDetailsRequest) ProtoMessage()
- func (x *UpdateDomainDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDomainDetailsRequest) Reset()
- func (x *UpdateDomainDetailsRequest) String() string
- type UpdateDomainRequest
- func (*UpdateDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDomainRequest) GetAlgorithms() []int64
- func (x *UpdateDomainRequest) GetDescription() string
- func (x *UpdateDomainRequest) GetDomain() string
- func (x *UpdateDomainRequest) GetName() string
- func (x *UpdateDomainRequest) GetRegistrationPath() string
- func (x *UpdateDomainRequest) GetRequireDeviceBinding() bool
- func (x *UpdateDomainRequest) GetSignPath() string
- func (x *UpdateDomainRequest) GetTokenMaxAge() int32
- func (*UpdateDomainRequest) ProtoMessage()
- func (x *UpdateDomainRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDomainRequest) Reset()
- func (x *UpdateDomainRequest) String() string
Constants ¶
const ( DomainAdminService_CreateUser_FullMethodName = "/se.mantra.api.admin.DomainAdminService/CreateUser" DomainAdminService_GetUser_FullMethodName = "/se.mantra.api.admin.DomainAdminService/GetUser" DomainAdminService_ListUsers_FullMethodName = "/se.mantra.api.admin.DomainAdminService/ListUsers" DomainAdminService_DeleteUser_FullMethodName = "/se.mantra.api.admin.DomainAdminService/DeleteUser" DomainAdminService_AddKey_FullMethodName = "/se.mantra.api.admin.DomainAdminService/AddKey" DomainAdminService_RevokeKey_FullMethodName = "/se.mantra.api.admin.DomainAdminService/RevokeKey" DomainAdminService_ActivateKey_FullMethodName = "/se.mantra.api.admin.DomainAdminService/ActivateKey" DomainAdminService_CollectChallenge_FullMethodName = "/se.mantra.api.admin.DomainAdminService/CollectChallenge" DomainAdminService_CreateClient_FullMethodName = "/se.mantra.api.admin.DomainAdminService/CreateClient" DomainAdminService_DeleteClient_FullMethodName = "/se.mantra.api.admin.DomainAdminService/DeleteClient" DomainAdminService_ListClients_FullMethodName = "/se.mantra.api.admin.DomainAdminService/ListClients" DomainAdminService_UpdateDomain_FullMethodName = "/se.mantra.api.admin.DomainAdminService/UpdateDomain" DomainAdminService_GetDomain_FullMethodName = "/se.mantra.api.admin.DomainAdminService/GetDomain" DomainAdminService_ListDevices_FullMethodName = "/se.mantra.api.admin.DomainAdminService/ListDevices" DomainAdminService_UpdateDevice_FullMethodName = "/se.mantra.api.admin.DomainAdminService/UpdateDevice" DomainAdminService_RemoveDevice_FullMethodName = "/se.mantra.api.admin.DomainAdminService/RemoveDevice" DomainAdminService_AuditUser_FullMethodName = "/se.mantra.api.admin.DomainAdminService/AuditUser" DomainAdminService_AuditChallenge_FullMethodName = "/se.mantra.api.admin.DomainAdminService/AuditChallenge" )
const ( PlatformAdminService_CreateDomain_FullMethodName = "/se.mantra.api.admin.PlatformAdminService/CreateDomain" PlatformAdminService_DeleteDomain_FullMethodName = "/se.mantra.api.admin.PlatformAdminService/DeleteDomain" PlatformAdminService_ListDomains_FullMethodName = "/se.mantra.api.admin.PlatformAdminService/ListDomains" PlatformAdminService_GetDomain_FullMethodName = "/se.mantra.api.admin.PlatformAdminService/GetDomain" PlatformAdminService_UpdateDomain_FullMethodName = "/se.mantra.api.admin.PlatformAdminService/UpdateDomain" PlatformAdminService_ListAdminClients_FullMethodName = "/se.mantra.api.admin.PlatformAdminService/ListAdminClients" PlatformAdminService_AuditUser_FullMethodName = "/se.mantra.api.admin.PlatformAdminService/AuditUser" PlatformAdminService_AuditChallenge_FullMethodName = "/se.mantra.api.admin.PlatformAdminService/AuditChallenge" )
Variables ¶
var DomainAdminService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "se.mantra.api.admin.DomainAdminService", HandlerType: (*DomainAdminServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _DomainAdminService_CreateUser_Handler, }, { MethodName: "GetUser", Handler: _DomainAdminService_GetUser_Handler, }, { MethodName: "ListUsers", Handler: _DomainAdminService_ListUsers_Handler, }, { MethodName: "DeleteUser", Handler: _DomainAdminService_DeleteUser_Handler, }, { MethodName: "AddKey", Handler: _DomainAdminService_AddKey_Handler, }, { MethodName: "RevokeKey", Handler: _DomainAdminService_RevokeKey_Handler, }, { MethodName: "ActivateKey", Handler: _DomainAdminService_ActivateKey_Handler, }, { MethodName: "CollectChallenge", Handler: _DomainAdminService_CollectChallenge_Handler, }, { MethodName: "CreateClient", Handler: _DomainAdminService_CreateClient_Handler, }, { MethodName: "DeleteClient", Handler: _DomainAdminService_DeleteClient_Handler, }, { MethodName: "ListClients", Handler: _DomainAdminService_ListClients_Handler, }, { MethodName: "UpdateDomain", Handler: _DomainAdminService_UpdateDomain_Handler, }, { MethodName: "GetDomain", Handler: _DomainAdminService_GetDomain_Handler, }, { MethodName: "ListDevices", Handler: _DomainAdminService_ListDevices_Handler, }, { MethodName: "UpdateDevice", Handler: _DomainAdminService_UpdateDevice_Handler, }, { MethodName: "RemoveDevice", Handler: _DomainAdminService_RemoveDevice_Handler, }, { MethodName: "AuditUser", Handler: _DomainAdminService_AuditUser_Handler, }, { MethodName: "AuditChallenge", Handler: _DomainAdminService_AuditChallenge_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service/domain_admin.proto", }
DomainAdminService_ServiceDesc is the grpc.ServiceDesc for DomainAdminService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_service_domain_admin_proto protoreflect.FileDescriptor
var File_service_platform_admin_proto protoreflect.FileDescriptor
var PlatformAdminService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "se.mantra.api.admin.PlatformAdminService", HandlerType: (*PlatformAdminServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateDomain", Handler: _PlatformAdminService_CreateDomain_Handler, }, { MethodName: "DeleteDomain", Handler: _PlatformAdminService_DeleteDomain_Handler, }, { MethodName: "ListDomains", Handler: _PlatformAdminService_ListDomains_Handler, }, { MethodName: "GetDomain", Handler: _PlatformAdminService_GetDomain_Handler, }, { MethodName: "UpdateDomain", Handler: _PlatformAdminService_UpdateDomain_Handler, }, { MethodName: "ListAdminClients", Handler: _PlatformAdminService_ListAdminClients_Handler, }, { MethodName: "AuditUser", Handler: _PlatformAdminService_AuditUser_Handler, }, { MethodName: "AuditChallenge", Handler: _PlatformAdminService_AuditChallenge_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service/platform_admin.proto", }
PlatformAdminService_ServiceDesc is the grpc.ServiceDesc for PlatformAdminService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDomainAdminService ¶
func RegisterDomainAdminService(server *grpc.Server, impl DomainAdminServiceServer)
func RegisterDomainAdminServiceServer ¶
func RegisterDomainAdminServiceServer(s grpc.ServiceRegistrar, srv DomainAdminServiceServer)
func RegisterPlatformAdminService ¶
func RegisterPlatformAdminService(server *grpc.Server, impl PlatformAdminServiceServer)
func RegisterPlatformAdminServiceServer ¶
func RegisterPlatformAdminServiceServer(s grpc.ServiceRegistrar, srv PlatformAdminServiceServer)
Types ¶
type ActivateKeyRequest ¶ added in v0.0.2
type ActivateKeyRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
KeyId []byte `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
// contains filtered or unexported fields
}
func (*ActivateKeyRequest) Descriptor
deprecated
added in
v0.0.2
func (*ActivateKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActivateKeyRequest.ProtoReflect.Descriptor instead.
func (*ActivateKeyRequest) GetKeyId ¶ added in v0.0.2
func (x *ActivateKeyRequest) GetKeyId() []byte
func (*ActivateKeyRequest) GetUserId ¶ added in v0.0.2
func (x *ActivateKeyRequest) GetUserId() string
func (*ActivateKeyRequest) ProtoMessage ¶ added in v0.0.2
func (*ActivateKeyRequest) ProtoMessage()
func (*ActivateKeyRequest) ProtoReflect ¶ added in v0.0.2
func (x *ActivateKeyRequest) ProtoReflect() protoreflect.Message
func (*ActivateKeyRequest) Reset ¶ added in v0.0.2
func (x *ActivateKeyRequest) Reset()
func (*ActivateKeyRequest) String ¶ added in v0.0.2
func (x *ActivateKeyRequest) String() string
type ActivateKeyResponse ¶ added in v0.0.2
type ActivateKeyResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// contains filtered or unexported fields
}
func (*ActivateKeyResponse) Descriptor
deprecated
added in
v0.0.2
func (*ActivateKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ActivateKeyResponse.ProtoReflect.Descriptor instead.
func (*ActivateKeyResponse) GetSuccess ¶ added in v0.0.2
func (x *ActivateKeyResponse) GetSuccess() bool
func (*ActivateKeyResponse) ProtoMessage ¶ added in v0.0.2
func (*ActivateKeyResponse) ProtoMessage()
func (*ActivateKeyResponse) ProtoReflect ¶ added in v0.0.2
func (x *ActivateKeyResponse) ProtoReflect() protoreflect.Message
func (*ActivateKeyResponse) Reset ¶ added in v0.0.2
func (x *ActivateKeyResponse) Reset()
func (*ActivateKeyResponse) String ¶ added in v0.0.2
func (x *ActivateKeyResponse) String() string
type AddKeyRequest ¶
type AddKeyRequest struct {
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Timeout int64 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
ReturnUrl string `protobuf:"bytes,5,opt,name=return_url,json=returnUrl,proto3" json:"return_url,omitempty"`
Location *common.Location `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
Pending bool `protobuf:"varint,7,opt,name=pending,proto3" json:"pending,omitempty"`
// contains filtered or unexported fields
}
func (*AddKeyRequest) Descriptor
deprecated
func (*AddKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddKeyRequest.ProtoReflect.Descriptor instead.
func (*AddKeyRequest) GetLocation ¶
func (x *AddKeyRequest) GetLocation() *common.Location
func (*AddKeyRequest) GetName ¶
func (x *AddKeyRequest) GetName() string
func (*AddKeyRequest) GetPending ¶ added in v0.0.2
func (x *AddKeyRequest) GetPending() bool
func (*AddKeyRequest) GetReturnUrl ¶
func (x *AddKeyRequest) GetReturnUrl() string
func (*AddKeyRequest) GetTimeout ¶
func (x *AddKeyRequest) GetTimeout() int64
func (*AddKeyRequest) GetUserId ¶
func (x *AddKeyRequest) GetUserId() string
func (*AddKeyRequest) ProtoMessage ¶
func (*AddKeyRequest) ProtoMessage()
func (*AddKeyRequest) ProtoReflect ¶
func (x *AddKeyRequest) ProtoReflect() protoreflect.Message
func (*AddKeyRequest) Reset ¶
func (x *AddKeyRequest) Reset()
func (*AddKeyRequest) String ¶
func (x *AddKeyRequest) String() string
type AuditChallengeRequest ¶ added in v0.0.2
type AuditChallengeRequest struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
ChallengeId string `protobuf:"bytes,2,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"`
// contains filtered or unexported fields
}
func (*AuditChallengeRequest) Descriptor
deprecated
added in
v0.0.2
func (*AuditChallengeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuditChallengeRequest.ProtoReflect.Descriptor instead.
func (*AuditChallengeRequest) GetChallengeId ¶ added in v0.0.2
func (x *AuditChallengeRequest) GetChallengeId() string
func (*AuditChallengeRequest) GetDomain ¶ added in v0.0.2
func (x *AuditChallengeRequest) GetDomain() string
func (*AuditChallengeRequest) ProtoMessage ¶ added in v0.0.2
func (*AuditChallengeRequest) ProtoMessage()
func (*AuditChallengeRequest) ProtoReflect ¶ added in v0.0.2
func (x *AuditChallengeRequest) ProtoReflect() protoreflect.Message
func (*AuditChallengeRequest) Reset ¶ added in v0.0.2
func (x *AuditChallengeRequest) Reset()
func (*AuditChallengeRequest) String ¶ added in v0.0.2
func (x *AuditChallengeRequest) String() string
type AuditClientInfo ¶ added in v0.0.2
type AuditClientInfo struct {
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Admin bool `protobuf:"varint,3,opt,name=admin,proto3" json:"admin,omitempty"`
// contains filtered or unexported fields
}
func (*AuditClientInfo) Descriptor
deprecated
added in
v0.0.2
func (*AuditClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use AuditClientInfo.ProtoReflect.Descriptor instead.
func (*AuditClientInfo) GetAdmin ¶ added in v0.0.2
func (x *AuditClientInfo) GetAdmin() bool
func (*AuditClientInfo) GetClientId ¶ added in v0.0.2
func (x *AuditClientInfo) GetClientId() string
func (*AuditClientInfo) GetName ¶ added in v0.0.2
func (x *AuditClientInfo) GetName() string
func (*AuditClientInfo) ProtoMessage ¶ added in v0.0.2
func (*AuditClientInfo) ProtoMessage()
func (*AuditClientInfo) ProtoReflect ¶ added in v0.0.2
func (x *AuditClientInfo) ProtoReflect() protoreflect.Message
func (*AuditClientInfo) Reset ¶ added in v0.0.2
func (x *AuditClientInfo) Reset()
func (*AuditClientInfo) String ¶ added in v0.0.2
func (x *AuditClientInfo) String() string
type AuditDeviceInfo ¶ added in v0.0.2
type AuditDeviceInfo struct {
DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*AuditDeviceInfo) Descriptor
deprecated
added in
v0.0.2
func (*AuditDeviceInfo) Descriptor() ([]byte, []int)
Deprecated: Use AuditDeviceInfo.ProtoReflect.Descriptor instead.
func (*AuditDeviceInfo) GetDeviceId ¶ added in v0.0.2
func (x *AuditDeviceInfo) GetDeviceId() string
func (*AuditDeviceInfo) GetName ¶ added in v0.0.2
func (x *AuditDeviceInfo) GetName() string
func (*AuditDeviceInfo) ProtoMessage ¶ added in v0.0.2
func (*AuditDeviceInfo) ProtoMessage()
func (*AuditDeviceInfo) ProtoReflect ¶ added in v0.0.2
func (x *AuditDeviceInfo) ProtoReflect() protoreflect.Message
func (*AuditDeviceInfo) Reset ¶ added in v0.0.2
func (x *AuditDeviceInfo) Reset()
func (*AuditDeviceInfo) String ¶ added in v0.0.2
func (x *AuditDeviceInfo) String() string
type AuditEntry ¶ added in v0.0.2
type AuditEntry struct {
ChallengeId string `protobuf:"bytes,1,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
Status common.Status `protobuf:"varint,4,opt,name=status,proto3,enum=se.mantra.api.common.Status" json:"status,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
SignedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=signed_at,json=signedAt,proto3" json:"signed_at,omitempty"`
Key *AuditKeyInfo `protobuf:"bytes,7,opt,name=key,proto3" json:"key,omitempty"`
Client *AuditClientInfo `protobuf:"bytes,8,opt,name=client,proto3" json:"client,omitempty"`
Device *AuditDeviceInfo `protobuf:"bytes,9,opt,name=device,proto3" json:"device,omitempty"`
Verified bool `protobuf:"varint,10,opt,name=verified,proto3" json:"verified,omitempty"`
SignatureLocation *common.Location `protobuf:"bytes,11,opt,name=signature_location,json=signatureLocation,proto3" json:"signature_location,omitempty"`
AuthenticatorData []byte `protobuf:"bytes,12,opt,name=authenticator_data,json=authenticatorData,proto3" json:"authenticator_data,omitempty"`
ClientDataJson []byte `protobuf:"bytes,13,opt,name=client_data_json,json=clientDataJson,proto3" json:"client_data_json,omitempty"`
Signature []byte `protobuf:"bytes,14,opt,name=signature,proto3" json:"signature,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
ChallengeLocation *common.Location `protobuf:"bytes,16,opt,name=challenge_location,json=challengeLocation,proto3" json:"challenge_location,omitempty"`
LocationRequired bool `protobuf:"varint,17,opt,name=location_required,json=locationRequired,proto3" json:"location_required,omitempty"`
DistanceMeters *wrapperspb.DoubleValue `protobuf:"bytes,18,opt,name=distance_meters,json=distanceMeters,proto3" json:"distance_meters,omitempty"`
// contains filtered or unexported fields
}
func (*AuditEntry) Descriptor
deprecated
added in
v0.0.2
func (*AuditEntry) Descriptor() ([]byte, []int)
Deprecated: Use AuditEntry.ProtoReflect.Descriptor instead.
func (*AuditEntry) GetAuthenticatorData ¶ added in v0.0.2
func (x *AuditEntry) GetAuthenticatorData() []byte
func (*AuditEntry) GetChallengeId ¶ added in v0.0.2
func (x *AuditEntry) GetChallengeId() string
func (*AuditEntry) GetChallengeLocation ¶ added in v0.0.2
func (x *AuditEntry) GetChallengeLocation() *common.Location
func (*AuditEntry) GetClient ¶ added in v0.0.2
func (x *AuditEntry) GetClient() *AuditClientInfo
func (*AuditEntry) GetClientDataJson ¶ added in v0.0.2
func (x *AuditEntry) GetClientDataJson() []byte
func (*AuditEntry) GetCreatedAt ¶ added in v0.0.2
func (x *AuditEntry) GetCreatedAt() *timestamppb.Timestamp
func (*AuditEntry) GetDevice ¶ added in v0.0.2
func (x *AuditEntry) GetDevice() *AuditDeviceInfo
func (*AuditEntry) GetDistanceMeters ¶ added in v0.0.2
func (x *AuditEntry) GetDistanceMeters() *wrapperspb.DoubleValue
func (*AuditEntry) GetExpiresAt ¶ added in v0.0.2
func (x *AuditEntry) GetExpiresAt() *timestamppb.Timestamp
func (*AuditEntry) GetKey ¶ added in v0.0.2
func (x *AuditEntry) GetKey() *AuditKeyInfo
func (*AuditEntry) GetLocationRequired ¶ added in v0.0.2
func (x *AuditEntry) GetLocationRequired() bool
func (*AuditEntry) GetMessage ¶ added in v0.0.2
func (x *AuditEntry) GetMessage() string
func (*AuditEntry) GetSignature ¶ added in v0.0.2
func (x *AuditEntry) GetSignature() []byte
func (*AuditEntry) GetSignatureLocation ¶ added in v0.0.2
func (x *AuditEntry) GetSignatureLocation() *common.Location
func (*AuditEntry) GetSignedAt ¶ added in v0.0.2
func (x *AuditEntry) GetSignedAt() *timestamppb.Timestamp
func (*AuditEntry) GetStatus ¶ added in v0.0.2
func (x *AuditEntry) GetStatus() common.Status
func (*AuditEntry) GetTitle ¶ added in v0.0.2
func (x *AuditEntry) GetTitle() string
func (*AuditEntry) GetVerified ¶ added in v0.0.2
func (x *AuditEntry) GetVerified() bool
func (*AuditEntry) ProtoMessage ¶ added in v0.0.2
func (*AuditEntry) ProtoMessage()
func (*AuditEntry) ProtoReflect ¶ added in v0.0.2
func (x *AuditEntry) ProtoReflect() protoreflect.Message
func (*AuditEntry) Reset ¶ added in v0.0.2
func (x *AuditEntry) Reset()
func (*AuditEntry) String ¶ added in v0.0.2
func (x *AuditEntry) String() string
type AuditKeyInfo ¶ added in v0.0.2
type AuditKeyInfo struct {
KeyId []byte `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
Algorithm int64 `protobuf:"varint,2,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
Revoked bool `protobuf:"varint,3,opt,name=revoked,proto3" json:"revoked,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*AuditKeyInfo) Descriptor
deprecated
added in
v0.0.2
func (*AuditKeyInfo) Descriptor() ([]byte, []int)
Deprecated: Use AuditKeyInfo.ProtoReflect.Descriptor instead.
func (*AuditKeyInfo) GetAlgorithm ¶ added in v0.0.2
func (x *AuditKeyInfo) GetAlgorithm() int64
func (*AuditKeyInfo) GetKeyId ¶ added in v0.0.2
func (x *AuditKeyInfo) GetKeyId() []byte
func (*AuditKeyInfo) GetName ¶ added in v0.0.2
func (x *AuditKeyInfo) GetName() string
func (*AuditKeyInfo) GetRevoked ¶ added in v0.0.2
func (x *AuditKeyInfo) GetRevoked() bool
func (*AuditKeyInfo) ProtoMessage ¶ added in v0.0.2
func (*AuditKeyInfo) ProtoMessage()
func (*AuditKeyInfo) ProtoReflect ¶ added in v0.0.2
func (x *AuditKeyInfo) ProtoReflect() protoreflect.Message
func (*AuditKeyInfo) Reset ¶ added in v0.0.2
func (x *AuditKeyInfo) Reset()
func (*AuditKeyInfo) String ¶ added in v0.0.2
func (x *AuditKeyInfo) String() string
type AuditUserRequest ¶ added in v0.0.2
type AuditUserRequest struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
From *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
To *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
// contains filtered or unexported fields
}
func (*AuditUserRequest) Descriptor
deprecated
added in
v0.0.2
func (*AuditUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuditUserRequest.ProtoReflect.Descriptor instead.
func (*AuditUserRequest) GetDomain ¶ added in v0.0.2
func (x *AuditUserRequest) GetDomain() string
func (*AuditUserRequest) GetFrom ¶ added in v0.0.2
func (x *AuditUserRequest) GetFrom() *timestamppb.Timestamp
func (*AuditUserRequest) GetTo ¶ added in v0.0.2
func (x *AuditUserRequest) GetTo() *timestamppb.Timestamp
func (*AuditUserRequest) GetUserId ¶ added in v0.0.2
func (x *AuditUserRequest) GetUserId() string
func (*AuditUserRequest) ProtoMessage ¶ added in v0.0.2
func (*AuditUserRequest) ProtoMessage()
func (*AuditUserRequest) ProtoReflect ¶ added in v0.0.2
func (x *AuditUserRequest) ProtoReflect() protoreflect.Message
func (*AuditUserRequest) Reset ¶ added in v0.0.2
func (x *AuditUserRequest) Reset()
func (*AuditUserRequest) String ¶ added in v0.0.2
func (x *AuditUserRequest) String() string
type AuditUserResponse ¶ added in v0.0.2
type AuditUserResponse struct {
Entries []*AuditEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
// contains filtered or unexported fields
}
func (*AuditUserResponse) Descriptor
deprecated
added in
v0.0.2
func (*AuditUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuditUserResponse.ProtoReflect.Descriptor instead.
func (*AuditUserResponse) GetEntries ¶ added in v0.0.2
func (x *AuditUserResponse) GetEntries() []*AuditEntry
func (*AuditUserResponse) ProtoMessage ¶ added in v0.0.2
func (*AuditUserResponse) ProtoMessage()
func (*AuditUserResponse) ProtoReflect ¶ added in v0.0.2
func (x *AuditUserResponse) ProtoReflect() protoreflect.Message
func (*AuditUserResponse) Reset ¶ added in v0.0.2
func (x *AuditUserResponse) Reset()
func (*AuditUserResponse) String ¶ added in v0.0.2
func (x *AuditUserResponse) String() string
type CollectRequest ¶
type CollectRequest struct {
ChallengeId string `protobuf:"bytes,1,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"`
ChallengeSecret string `protobuf:"bytes,2,opt,name=challenge_secret,json=challengeSecret,proto3" json:"challenge_secret,omitempty"`
// contains filtered or unexported fields
}
func (*CollectRequest) Descriptor
deprecated
func (*CollectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CollectRequest.ProtoReflect.Descriptor instead.
func (*CollectRequest) GetChallengeId ¶
func (x *CollectRequest) GetChallengeId() string
func (*CollectRequest) GetChallengeSecret ¶
func (x *CollectRequest) GetChallengeSecret() string
func (*CollectRequest) ProtoMessage ¶
func (*CollectRequest) ProtoMessage()
func (*CollectRequest) ProtoReflect ¶
func (x *CollectRequest) ProtoReflect() protoreflect.Message
func (*CollectRequest) Reset ¶
func (x *CollectRequest) Reset()
func (*CollectRequest) String ¶
func (x *CollectRequest) String() string
type CollectResponse ¶
type CollectResponse struct {
Status common.Status `protobuf:"varint,1,opt,name=status,proto3,enum=se.mantra.api.common.Status" json:"status,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Challenge []byte `protobuf:"bytes,3,opt,name=challenge,proto3" json:"challenge,omitempty"`
KeyId []byte `protobuf:"bytes,4,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
Algorithm int64 `protobuf:"varint,5,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
PublicKey []byte `protobuf:"bytes,6,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
Aaguid []byte `protobuf:"bytes,7,opt,name=aaguid,proto3" json:"aaguid,omitempty"`
AttestationType string `protobuf:"bytes,8,opt,name=attestation_type,json=attestationType,proto3" json:"attestation_type,omitempty"`
ClientDataJson []byte `protobuf:"bytes,9,opt,name=client_data_json,json=clientDataJson,proto3" json:"client_data_json,omitempty"`
AttestationObject []byte `protobuf:"bytes,10,opt,name=attestation_object,json=attestationObject,proto3" json:"attestation_object,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
Location *common.Location `protobuf:"bytes,12,opt,name=location,proto3" json:"location,omitempty"`
// contains filtered or unexported fields
}
func (*CollectResponse) Descriptor
deprecated
func (*CollectResponse) Descriptor() ([]byte, []int)
Deprecated: Use CollectResponse.ProtoReflect.Descriptor instead.
func (*CollectResponse) GetAaguid ¶
func (x *CollectResponse) GetAaguid() []byte
func (*CollectResponse) GetAlgorithm ¶
func (x *CollectResponse) GetAlgorithm() int64
func (*CollectResponse) GetAttestationObject ¶
func (x *CollectResponse) GetAttestationObject() []byte
func (*CollectResponse) GetAttestationType ¶
func (x *CollectResponse) GetAttestationType() string
func (*CollectResponse) GetChallenge ¶
func (x *CollectResponse) GetChallenge() []byte
func (*CollectResponse) GetClientDataJson ¶
func (x *CollectResponse) GetClientDataJson() []byte
func (*CollectResponse) GetCreatedAt ¶
func (x *CollectResponse) GetCreatedAt() *timestamppb.Timestamp
func (*CollectResponse) GetKeyId ¶
func (x *CollectResponse) GetKeyId() []byte
func (*CollectResponse) GetLocation ¶
func (x *CollectResponse) GetLocation() *common.Location
func (*CollectResponse) GetPublicKey ¶
func (x *CollectResponse) GetPublicKey() []byte
func (*CollectResponse) GetStatus ¶
func (x *CollectResponse) GetStatus() common.Status
func (*CollectResponse) GetUserId ¶
func (x *CollectResponse) GetUserId() string
func (*CollectResponse) ProtoMessage ¶
func (*CollectResponse) ProtoMessage()
func (*CollectResponse) ProtoReflect ¶
func (x *CollectResponse) ProtoReflect() protoreflect.Message
func (*CollectResponse) Reset ¶
func (x *CollectResponse) Reset()
func (*CollectResponse) String ¶
func (x *CollectResponse) String() string
type CreateClientRequest ¶
type CreateClientRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
Admin bool `protobuf:"varint,4,opt,name=admin,proto3" json:"admin,omitempty"`
// contains filtered or unexported fields
}
func (*CreateClientRequest) Descriptor
deprecated
func (*CreateClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClientRequest.ProtoReflect.Descriptor instead.
func (*CreateClientRequest) GetAdmin ¶
func (x *CreateClientRequest) GetAdmin() bool
func (*CreateClientRequest) GetDescription ¶
func (x *CreateClientRequest) GetDescription() string
func (*CreateClientRequest) GetIcon ¶
func (x *CreateClientRequest) GetIcon() string
func (*CreateClientRequest) GetName ¶
func (x *CreateClientRequest) GetName() string
func (*CreateClientRequest) ProtoMessage ¶
func (*CreateClientRequest) ProtoMessage()
func (*CreateClientRequest) ProtoReflect ¶
func (x *CreateClientRequest) ProtoReflect() protoreflect.Message
func (*CreateClientRequest) Reset ¶
func (x *CreateClientRequest) Reset()
func (*CreateClientRequest) String ¶
func (x *CreateClientRequest) String() string
type CreateClientResponse ¶
type CreateClientResponse struct {
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
Admin bool `protobuf:"varint,6,opt,name=admin,proto3" json:"admin,omitempty"`
// contains filtered or unexported fields
}
func (*CreateClientResponse) Descriptor
deprecated
func (*CreateClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateClientResponse.ProtoReflect.Descriptor instead.
func (*CreateClientResponse) GetAdmin ¶
func (x *CreateClientResponse) GetAdmin() bool
func (*CreateClientResponse) GetClientId ¶
func (x *CreateClientResponse) GetClientId() string
func (*CreateClientResponse) GetClientSecret ¶
func (x *CreateClientResponse) GetClientSecret() string
func (*CreateClientResponse) GetDescription ¶
func (x *CreateClientResponse) GetDescription() string
func (*CreateClientResponse) GetIcon ¶
func (x *CreateClientResponse) GetIcon() string
func (*CreateClientResponse) GetName ¶
func (x *CreateClientResponse) GetName() string
func (*CreateClientResponse) ProtoMessage ¶
func (*CreateClientResponse) ProtoMessage()
func (*CreateClientResponse) ProtoReflect ¶
func (x *CreateClientResponse) ProtoReflect() protoreflect.Message
func (*CreateClientResponse) Reset ¶
func (x *CreateClientResponse) Reset()
func (*CreateClientResponse) String ¶
func (x *CreateClientResponse) String() string
type CreateDomainRequest ¶
type CreateDomainRequest struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Algorithms []int64 `protobuf:"varint,4,rep,packed,name=algorithms,proto3" json:"algorithms,omitempty"`
RegistrationPath string `protobuf:"bytes,5,opt,name=registration_path,json=registrationPath,proto3" json:"registration_path,omitempty"`
SignPath string `protobuf:"bytes,6,opt,name=sign_path,json=signPath,proto3" json:"sign_path,omitempty"`
RequireDeviceBinding bool `protobuf:"varint,7,opt,name=require_device_binding,json=requireDeviceBinding,proto3" json:"require_device_binding,omitempty"`
TokenMaxAge int32 `protobuf:"varint,8,opt,name=token_max_age,json=tokenMaxAge,proto3" json:"token_max_age,omitempty"`
// contains filtered or unexported fields
}
func (*CreateDomainRequest) Descriptor
deprecated
func (*CreateDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDomainRequest.ProtoReflect.Descriptor instead.
func (*CreateDomainRequest) GetAlgorithms ¶
func (x *CreateDomainRequest) GetAlgorithms() []int64
func (*CreateDomainRequest) GetDescription ¶
func (x *CreateDomainRequest) GetDescription() string
func (*CreateDomainRequest) GetDomain ¶
func (x *CreateDomainRequest) GetDomain() string
func (*CreateDomainRequest) GetName ¶
func (x *CreateDomainRequest) GetName() string
func (*CreateDomainRequest) GetRegistrationPath ¶
func (x *CreateDomainRequest) GetRegistrationPath() string
func (*CreateDomainRequest) GetRequireDeviceBinding ¶ added in v0.0.2
func (x *CreateDomainRequest) GetRequireDeviceBinding() bool
func (*CreateDomainRequest) GetSignPath ¶
func (x *CreateDomainRequest) GetSignPath() string
func (*CreateDomainRequest) GetTokenMaxAge ¶ added in v0.0.2
func (x *CreateDomainRequest) GetTokenMaxAge() int32
func (*CreateDomainRequest) ProtoMessage ¶
func (*CreateDomainRequest) ProtoMessage()
func (*CreateDomainRequest) ProtoReflect ¶
func (x *CreateDomainRequest) ProtoReflect() protoreflect.Message
func (*CreateDomainRequest) Reset ¶
func (x *CreateDomainRequest) Reset()
func (*CreateDomainRequest) String ¶
func (x *CreateDomainRequest) String() string
type CreateDomainResponse ¶
type CreateDomainResponse struct {
ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
Secret string `protobuf:"bytes,6,opt,name=secret,proto3" json:"secret,omitempty"`
// contains filtered or unexported fields
}
func (*CreateDomainResponse) Descriptor
deprecated
func (*CreateDomainResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDomainResponse.ProtoReflect.Descriptor instead.
func (*CreateDomainResponse) GetClientId ¶
func (x *CreateDomainResponse) GetClientId() string
func (*CreateDomainResponse) GetSecret ¶
func (x *CreateDomainResponse) GetSecret() string
func (*CreateDomainResponse) ProtoMessage ¶
func (*CreateDomainResponse) ProtoMessage()
func (*CreateDomainResponse) ProtoReflect ¶
func (x *CreateDomainResponse) ProtoReflect() protoreflect.Message
func (*CreateDomainResponse) Reset ¶
func (x *CreateDomainResponse) Reset()
func (*CreateDomainResponse) String ¶
func (x *CreateDomainResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct {
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Timeout int64 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
ReturnUrl string `protobuf:"bytes,5,opt,name=return_url,json=returnUrl,proto3" json:"return_url,omitempty"`
Location *common.Location `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetLocation ¶
func (x *CreateUserRequest) GetLocation() *common.Location
func (*CreateUserRequest) GetLocationCoordinates ¶
func (r *CreateUserRequest) GetLocationCoordinates() (*common.LongLatitude, error)
GetLocationCoordinates returns the location as coordinates, converting from geohash if necessary
func (*CreateUserRequest) GetName ¶
func (x *CreateUserRequest) GetName() string
func (*CreateUserRequest) GetReturnUrl ¶
func (x *CreateUserRequest) GetReturnUrl() string
func (*CreateUserRequest) GetTimeout ¶
func (x *CreateUserRequest) GetTimeout() int64
func (*CreateUserRequest) GetUserId ¶
func (x *CreateUserRequest) GetUserId() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type DeleteClientRequest ¶
type DeleteClientRequest struct {
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteClientRequest) Descriptor
deprecated
func (*DeleteClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClientRequest.ProtoReflect.Descriptor instead.
func (*DeleteClientRequest) GetClientId ¶
func (x *DeleteClientRequest) GetClientId() string
func (*DeleteClientRequest) ProtoMessage ¶
func (*DeleteClientRequest) ProtoMessage()
func (*DeleteClientRequest) ProtoReflect ¶
func (x *DeleteClientRequest) ProtoReflect() protoreflect.Message
func (*DeleteClientRequest) Reset ¶
func (x *DeleteClientRequest) Reset()
func (*DeleteClientRequest) String ¶
func (x *DeleteClientRequest) String() string
type DeleteDomainRequest ¶
type DeleteDomainRequest struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteDomainRequest) Descriptor
deprecated
func (*DeleteDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDomainRequest.ProtoReflect.Descriptor instead.
func (*DeleteDomainRequest) GetDomain ¶
func (x *DeleteDomainRequest) GetDomain() string
func (*DeleteDomainRequest) ProtoMessage ¶
func (*DeleteDomainRequest) ProtoMessage()
func (*DeleteDomainRequest) ProtoReflect ¶
func (x *DeleteDomainRequest) ProtoReflect() protoreflect.Message
func (*DeleteDomainRequest) Reset ¶
func (x *DeleteDomainRequest) Reset()
func (*DeleteDomainRequest) String ¶
func (x *DeleteDomainRequest) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct {
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetUserId ¶
func (x *DeleteUserRequest) GetUserId() string
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type DeviceBinding ¶ added in v0.0.2
type DeviceBinding struct {
DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
FirstUsedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=first_used_at,json=firstUsedAt,proto3" json:"first_used_at,omitempty"`
LastUsedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
// contains filtered or unexported fields
}
func (*DeviceBinding) Descriptor
deprecated
added in
v0.0.2
func (*DeviceBinding) Descriptor() ([]byte, []int)
Deprecated: Use DeviceBinding.ProtoReflect.Descriptor instead.
func (*DeviceBinding) GetDeviceId ¶ added in v0.0.2
func (x *DeviceBinding) GetDeviceId() string
func (*DeviceBinding) GetFirstUsedAt ¶ added in v0.0.2
func (x *DeviceBinding) GetFirstUsedAt() *timestamppb.Timestamp
func (*DeviceBinding) GetLastUsedAt ¶ added in v0.0.2
func (x *DeviceBinding) GetLastUsedAt() *timestamppb.Timestamp
func (*DeviceBinding) GetName ¶ added in v0.0.2
func (x *DeviceBinding) GetName() string
func (*DeviceBinding) ProtoMessage ¶ added in v0.0.2
func (*DeviceBinding) ProtoMessage()
func (*DeviceBinding) ProtoReflect ¶ added in v0.0.2
func (x *DeviceBinding) ProtoReflect() protoreflect.Message
func (*DeviceBinding) Reset ¶ added in v0.0.2
func (x *DeviceBinding) Reset()
func (*DeviceBinding) String ¶ added in v0.0.2
func (x *DeviceBinding) String() string
type Domain ¶
type Domain struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Algorithms []int64 `protobuf:"varint,4,rep,packed,name=algorithms,proto3" json:"algorithms,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
RegistrationPath string `protobuf:"bytes,6,opt,name=registration_path,json=registrationPath,proto3" json:"registration_path,omitempty"`
SignPath string `protobuf:"bytes,7,opt,name=sign_path,json=signPath,proto3" json:"sign_path,omitempty"`
RequireDeviceBinding bool `protobuf:"varint,8,opt,name=require_device_binding,json=requireDeviceBinding,proto3" json:"require_device_binding,omitempty"`
TokenMaxAge int32 `protobuf:"varint,9,opt,name=token_max_age,json=tokenMaxAge,proto3" json:"token_max_age,omitempty"`
// contains filtered or unexported fields
}
func (*Domain) Descriptor
deprecated
func (*Domain) GetAlgorithms ¶
func (*Domain) GetCreatedAt ¶
func (x *Domain) GetCreatedAt() *timestamppb.Timestamp
func (*Domain) GetDescription ¶
func (*Domain) GetRegistrationPath ¶
func (*Domain) GetRequireDeviceBinding ¶ added in v0.0.2
func (*Domain) GetSignPath ¶
func (*Domain) GetTokenMaxAge ¶ added in v0.0.2
func (*Domain) ProtoMessage ¶
func (*Domain) ProtoMessage()
func (*Domain) ProtoReflect ¶
func (x *Domain) ProtoReflect() protoreflect.Message
type DomainAdminServiceClient ¶
type DomainAdminServiceClient interface {
CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*common.ChallengeResponse, error)
GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
ListUsers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListUsersResponse, error)
DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
AddKey(ctx context.Context, in *AddKeyRequest, opts ...grpc.CallOption) (*common.ChallengeResponse, error)
RevokeKey(ctx context.Context, in *RevokeKeyRequest, opts ...grpc.CallOption) (*RevokeKeyResponse, error)
ActivateKey(ctx context.Context, in *ActivateKeyRequest, opts ...grpc.CallOption) (*ActivateKeyResponse, error)
CollectChallenge(ctx context.Context, in *CollectRequest, opts ...grpc.CallOption) (*CollectResponse, error)
CreateClient(ctx context.Context, in *CreateClientRequest, opts ...grpc.CallOption) (*CreateClientResponse, error)
DeleteClient(ctx context.Context, in *DeleteClientRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
ListClients(ctx context.Context, in *ListClientsRequest, opts ...grpc.CallOption) (*ListClientsResponse, error)
UpdateDomain(ctx context.Context, in *UpdateDomainDetailsRequest, opts ...grpc.CallOption) (*DomainDetails, error)
GetDomain(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*DomainDetails, error)
ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error)
UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
RemoveDevice(ctx context.Context, in *RemoveDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
AuditUser(ctx context.Context, in *DomainAuditUserRequest, opts ...grpc.CallOption) (*AuditUserResponse, error)
AuditChallenge(ctx context.Context, in *DomainAuditChallengeRequest, opts ...grpc.CallOption) (*AuditEntry, error)
}
DomainAdminServiceClient is the client API for DomainAdminService 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 NewDomainAdminServiceClient ¶
func NewDomainAdminServiceClient(cc grpc.ClientConnInterface) DomainAdminServiceClient
type DomainAdminServiceServer ¶
type DomainAdminServiceServer interface {
CreateUser(context.Context, *CreateUserRequest) (*common.ChallengeResponse, error)
GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
ListUsers(context.Context, *emptypb.Empty) (*ListUsersResponse, error)
DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
AddKey(context.Context, *AddKeyRequest) (*common.ChallengeResponse, error)
RevokeKey(context.Context, *RevokeKeyRequest) (*RevokeKeyResponse, error)
ActivateKey(context.Context, *ActivateKeyRequest) (*ActivateKeyResponse, error)
CollectChallenge(context.Context, *CollectRequest) (*CollectResponse, error)
CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error)
DeleteClient(context.Context, *DeleteClientRequest) (*emptypb.Empty, error)
ListClients(context.Context, *ListClientsRequest) (*ListClientsResponse, error)
UpdateDomain(context.Context, *UpdateDomainDetailsRequest) (*DomainDetails, error)
GetDomain(context.Context, *emptypb.Empty) (*DomainDetails, error)
ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
UpdateDevice(context.Context, *UpdateDeviceRequest) (*emptypb.Empty, error)
RemoveDevice(context.Context, *RemoveDeviceRequest) (*emptypb.Empty, error)
AuditUser(context.Context, *DomainAuditUserRequest) (*AuditUserResponse, error)
AuditChallenge(context.Context, *DomainAuditChallengeRequest) (*AuditEntry, error)
}
DomainAdminServiceServer is the server API for DomainAdminService service. All implementations should embed UnimplementedDomainAdminServiceServer for forward compatibility.
type DomainAuditChallengeRequest ¶ added in v0.0.2
type DomainAuditChallengeRequest struct {
ChallengeId string `protobuf:"bytes,1,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"`
// contains filtered or unexported fields
}
func (*DomainAuditChallengeRequest) Descriptor
deprecated
added in
v0.0.2
func (*DomainAuditChallengeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DomainAuditChallengeRequest.ProtoReflect.Descriptor instead.
func (*DomainAuditChallengeRequest) GetChallengeId ¶ added in v0.0.2
func (x *DomainAuditChallengeRequest) GetChallengeId() string
func (*DomainAuditChallengeRequest) ProtoMessage ¶ added in v0.0.2
func (*DomainAuditChallengeRequest) ProtoMessage()
func (*DomainAuditChallengeRequest) ProtoReflect ¶ added in v0.0.2
func (x *DomainAuditChallengeRequest) ProtoReflect() protoreflect.Message
func (*DomainAuditChallengeRequest) Reset ¶ added in v0.0.2
func (x *DomainAuditChallengeRequest) Reset()
func (*DomainAuditChallengeRequest) String ¶ added in v0.0.2
func (x *DomainAuditChallengeRequest) String() string
type DomainAuditUserRequest ¶ added in v0.0.2
type DomainAuditUserRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
From *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
To *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
// contains filtered or unexported fields
}
func (*DomainAuditUserRequest) Descriptor
deprecated
added in
v0.0.2
func (*DomainAuditUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DomainAuditUserRequest.ProtoReflect.Descriptor instead.
func (*DomainAuditUserRequest) GetFrom ¶ added in v0.0.2
func (x *DomainAuditUserRequest) GetFrom() *timestamppb.Timestamp
func (*DomainAuditUserRequest) GetTo ¶ added in v0.0.2
func (x *DomainAuditUserRequest) GetTo() *timestamppb.Timestamp
func (*DomainAuditUserRequest) GetUserId ¶ added in v0.0.2
func (x *DomainAuditUserRequest) GetUserId() string
func (*DomainAuditUserRequest) ProtoMessage ¶ added in v0.0.2
func (*DomainAuditUserRequest) ProtoMessage()
func (*DomainAuditUserRequest) ProtoReflect ¶ added in v0.0.2
func (x *DomainAuditUserRequest) ProtoReflect() protoreflect.Message
func (*DomainAuditUserRequest) Reset ¶ added in v0.0.2
func (x *DomainAuditUserRequest) Reset()
func (*DomainAuditUserRequest) String ¶ added in v0.0.2
func (x *DomainAuditUserRequest) String() string
type DomainDetails ¶
type DomainDetails struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Algorithms []int64 `protobuf:"varint,4,rep,packed,name=algorithms,proto3" json:"algorithms,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
RegistrationPath string `protobuf:"bytes,6,opt,name=registration_path,json=registrationPath,proto3" json:"registration_path,omitempty"`
SignPath string `protobuf:"bytes,7,opt,name=sign_path,json=signPath,proto3" json:"sign_path,omitempty"`
RequireDeviceBinding bool `protobuf:"varint,8,opt,name=require_device_binding,json=requireDeviceBinding,proto3" json:"require_device_binding,omitempty"`
TokenMaxAge int32 `protobuf:"varint,9,opt,name=token_max_age,json=tokenMaxAge,proto3" json:"token_max_age,omitempty"`
// contains filtered or unexported fields
}
func (*DomainDetails) Descriptor
deprecated
func (*DomainDetails) Descriptor() ([]byte, []int)
Deprecated: Use DomainDetails.ProtoReflect.Descriptor instead.
func (*DomainDetails) GetAlgorithms ¶
func (x *DomainDetails) GetAlgorithms() []int64
func (*DomainDetails) GetCreatedAt ¶
func (x *DomainDetails) GetCreatedAt() *timestamppb.Timestamp
func (*DomainDetails) GetDescription ¶
func (x *DomainDetails) GetDescription() string
func (*DomainDetails) GetDomain ¶
func (x *DomainDetails) GetDomain() string
func (*DomainDetails) GetName ¶
func (x *DomainDetails) GetName() string
func (*DomainDetails) GetRegistrationPath ¶
func (x *DomainDetails) GetRegistrationPath() string
func (*DomainDetails) GetRequireDeviceBinding ¶ added in v0.0.2
func (x *DomainDetails) GetRequireDeviceBinding() bool
func (*DomainDetails) GetSignPath ¶
func (x *DomainDetails) GetSignPath() string
func (*DomainDetails) GetTokenMaxAge ¶ added in v0.0.2
func (x *DomainDetails) GetTokenMaxAge() int32
func (*DomainDetails) ProtoMessage ¶
func (*DomainDetails) ProtoMessage()
func (*DomainDetails) ProtoReflect ¶
func (x *DomainDetails) ProtoReflect() protoreflect.Message
func (*DomainDetails) Reset ¶
func (x *DomainDetails) Reset()
func (*DomainDetails) String ¶
func (x *DomainDetails) String() string
type GetDomainRequest ¶
type GetDomainRequest struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
// contains filtered or unexported fields
}
func (*GetDomainRequest) Descriptor
deprecated
func (*GetDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDomainRequest.ProtoReflect.Descriptor instead.
func (*GetDomainRequest) GetDomain ¶
func (x *GetDomainRequest) GetDomain() string
func (*GetDomainRequest) ProtoMessage ¶
func (*GetDomainRequest) ProtoMessage()
func (*GetDomainRequest) ProtoReflect ¶
func (x *GetDomainRequest) ProtoReflect() protoreflect.Message
func (*GetDomainRequest) Reset ¶
func (x *GetDomainRequest) Reset()
func (*GetDomainRequest) String ¶
func (x *GetDomainRequest) String() string
type GetUserRequest ¶
type GetUserRequest struct {
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetUserId ¶
func (x *GetUserRequest) GetUserId() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
Keys []*common.Key `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetCreatedAt ¶
func (x *GetUserResponse) GetCreatedAt() *timestamppb.Timestamp
func (*GetUserResponse) GetDomain ¶
func (x *GetUserResponse) GetDomain() string
func (*GetUserResponse) GetKeys ¶
func (x *GetUserResponse) GetKeys() []*common.Key
func (*GetUserResponse) GetUserId ¶
func (x *GetUserResponse) GetUserId() string
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type ListAdminClientsRequest ¶
type ListAdminClientsRequest struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
// contains filtered or unexported fields
}
func (*ListAdminClientsRequest) Descriptor
deprecated
func (*ListAdminClientsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAdminClientsRequest.ProtoReflect.Descriptor instead.
func (*ListAdminClientsRequest) GetDomain ¶
func (x *ListAdminClientsRequest) GetDomain() string
func (*ListAdminClientsRequest) ProtoMessage ¶
func (*ListAdminClientsRequest) ProtoMessage()
func (*ListAdminClientsRequest) ProtoReflect ¶
func (x *ListAdminClientsRequest) ProtoReflect() protoreflect.Message
func (*ListAdminClientsRequest) Reset ¶
func (x *ListAdminClientsRequest) Reset()
func (*ListAdminClientsRequest) String ¶
func (x *ListAdminClientsRequest) String() string
type ListAdminClientsResponse ¶
type ListAdminClientsResponse struct {
Clients []*common.ClientMeta `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
// contains filtered or unexported fields
}
func (*ListAdminClientsResponse) Descriptor
deprecated
func (*ListAdminClientsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAdminClientsResponse.ProtoReflect.Descriptor instead.
func (*ListAdminClientsResponse) GetClients ¶
func (x *ListAdminClientsResponse) GetClients() []*common.ClientMeta
func (*ListAdminClientsResponse) ProtoMessage ¶
func (*ListAdminClientsResponse) ProtoMessage()
func (*ListAdminClientsResponse) ProtoReflect ¶
func (x *ListAdminClientsResponse) ProtoReflect() protoreflect.Message
func (*ListAdminClientsResponse) Reset ¶
func (x *ListAdminClientsResponse) Reset()
func (*ListAdminClientsResponse) String ¶
func (x *ListAdminClientsResponse) String() string
type ListClientsRequest ¶
type ListClientsRequest struct {
AdminOnly bool `protobuf:"varint,1,opt,name=admin_only,json=adminOnly,proto3" json:"admin_only,omitempty"`
// contains filtered or unexported fields
}
func (*ListClientsRequest) Descriptor
deprecated
func (*ListClientsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClientsRequest.ProtoReflect.Descriptor instead.
func (*ListClientsRequest) GetAdminOnly ¶
func (x *ListClientsRequest) GetAdminOnly() bool
func (*ListClientsRequest) ProtoMessage ¶
func (*ListClientsRequest) ProtoMessage()
func (*ListClientsRequest) ProtoReflect ¶
func (x *ListClientsRequest) ProtoReflect() protoreflect.Message
func (*ListClientsRequest) Reset ¶
func (x *ListClientsRequest) Reset()
func (*ListClientsRequest) String ¶
func (x *ListClientsRequest) String() string
type ListClientsResponse ¶
type ListClientsResponse struct {
Clients []*common.ClientMeta `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
// contains filtered or unexported fields
}
func (*ListClientsResponse) Descriptor
deprecated
func (*ListClientsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClientsResponse.ProtoReflect.Descriptor instead.
func (*ListClientsResponse) GetClients ¶
func (x *ListClientsResponse) GetClients() []*common.ClientMeta
func (*ListClientsResponse) ProtoMessage ¶
func (*ListClientsResponse) ProtoMessage()
func (*ListClientsResponse) ProtoReflect ¶
func (x *ListClientsResponse) ProtoReflect() protoreflect.Message
func (*ListClientsResponse) Reset ¶
func (x *ListClientsResponse) Reset()
func (*ListClientsResponse) String ¶
func (x *ListClientsResponse) String() string
type ListDevicesRequest ¶ added in v0.0.2
type ListDevicesRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*ListDevicesRequest) Descriptor
deprecated
added in
v0.0.2
func (*ListDevicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDevicesRequest.ProtoReflect.Descriptor instead.
func (*ListDevicesRequest) GetUserId ¶ added in v0.0.2
func (x *ListDevicesRequest) GetUserId() string
func (*ListDevicesRequest) ProtoMessage ¶ added in v0.0.2
func (*ListDevicesRequest) ProtoMessage()
func (*ListDevicesRequest) ProtoReflect ¶ added in v0.0.2
func (x *ListDevicesRequest) ProtoReflect() protoreflect.Message
func (*ListDevicesRequest) Reset ¶ added in v0.0.2
func (x *ListDevicesRequest) Reset()
func (*ListDevicesRequest) String ¶ added in v0.0.2
func (x *ListDevicesRequest) String() string
type ListDevicesResponse ¶ added in v0.0.2
type ListDevicesResponse struct {
Devices []*DeviceBinding `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
// contains filtered or unexported fields
}
func (*ListDevicesResponse) Descriptor
deprecated
added in
v0.0.2
func (*ListDevicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDevicesResponse.ProtoReflect.Descriptor instead.
func (*ListDevicesResponse) GetDevices ¶ added in v0.0.2
func (x *ListDevicesResponse) GetDevices() []*DeviceBinding
func (*ListDevicesResponse) ProtoMessage ¶ added in v0.0.2
func (*ListDevicesResponse) ProtoMessage()
func (*ListDevicesResponse) ProtoReflect ¶ added in v0.0.2
func (x *ListDevicesResponse) ProtoReflect() protoreflect.Message
func (*ListDevicesResponse) Reset ¶ added in v0.0.2
func (x *ListDevicesResponse) Reset()
func (*ListDevicesResponse) String ¶ added in v0.0.2
func (x *ListDevicesResponse) String() string
type ListDomainsRequest ¶
type ListDomainsRequest struct {
// Optional filter: if provided, only return domains matching these names
Domains []string `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
// contains filtered or unexported fields
}
func (*ListDomainsRequest) Descriptor
deprecated
func (*ListDomainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainsRequest.ProtoReflect.Descriptor instead.
func (*ListDomainsRequest) GetDomains ¶
func (x *ListDomainsRequest) GetDomains() []string
func (*ListDomainsRequest) ProtoMessage ¶
func (*ListDomainsRequest) ProtoMessage()
func (*ListDomainsRequest) ProtoReflect ¶
func (x *ListDomainsRequest) ProtoReflect() protoreflect.Message
func (*ListDomainsRequest) Reset ¶
func (x *ListDomainsRequest) Reset()
func (*ListDomainsRequest) String ¶
func (x *ListDomainsRequest) String() string
type ListDomainsResponse ¶
type ListDomainsResponse struct {
Domains []*Domain `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
// contains filtered or unexported fields
}
func (*ListDomainsResponse) Descriptor
deprecated
func (*ListDomainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainsResponse.ProtoReflect.Descriptor instead.
func (*ListDomainsResponse) GetDomains ¶
func (x *ListDomainsResponse) GetDomains() []*Domain
func (*ListDomainsResponse) ProtoMessage ¶
func (*ListDomainsResponse) ProtoMessage()
func (*ListDomainsResponse) ProtoReflect ¶
func (x *ListDomainsResponse) ProtoReflect() protoreflect.Message
func (*ListDomainsResponse) Reset ¶
func (x *ListDomainsResponse) Reset()
func (*ListDomainsResponse) String ¶
func (x *ListDomainsResponse) String() string
type ListUsersResponse ¶
type ListUsersResponse struct {
Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []string
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
type PlatformAdminServiceClient ¶
type PlatformAdminServiceClient interface {
CreateDomain(ctx context.Context, in *CreateDomainRequest, opts ...grpc.CallOption) (*CreateDomainResponse, error)
DeleteDomain(ctx context.Context, in *DeleteDomainRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
ListDomains(ctx context.Context, in *ListDomainsRequest, opts ...grpc.CallOption) (*ListDomainsResponse, error)
GetDomain(ctx context.Context, in *GetDomainRequest, opts ...grpc.CallOption) (*Domain, error)
UpdateDomain(ctx context.Context, in *UpdateDomainRequest, opts ...grpc.CallOption) (*Domain, error)
ListAdminClients(ctx context.Context, in *ListAdminClientsRequest, opts ...grpc.CallOption) (*ListAdminClientsResponse, error)
AuditUser(ctx context.Context, in *AuditUserRequest, opts ...grpc.CallOption) (*AuditUserResponse, error)
AuditChallenge(ctx context.Context, in *AuditChallengeRequest, opts ...grpc.CallOption) (*AuditEntry, error)
}
PlatformAdminServiceClient is the client API for PlatformAdminService 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 NewPlatformAdminServiceClient ¶
func NewPlatformAdminServiceClient(cc grpc.ClientConnInterface) PlatformAdminServiceClient
type PlatformAdminServiceServer ¶
type PlatformAdminServiceServer interface {
CreateDomain(context.Context, *CreateDomainRequest) (*CreateDomainResponse, error)
DeleteDomain(context.Context, *DeleteDomainRequest) (*emptypb.Empty, error)
ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error)
GetDomain(context.Context, *GetDomainRequest) (*Domain, error)
UpdateDomain(context.Context, *UpdateDomainRequest) (*Domain, error)
ListAdminClients(context.Context, *ListAdminClientsRequest) (*ListAdminClientsResponse, error)
AuditUser(context.Context, *AuditUserRequest) (*AuditUserResponse, error)
AuditChallenge(context.Context, *AuditChallengeRequest) (*AuditEntry, error)
}
PlatformAdminServiceServer is the server API for PlatformAdminService service. All implementations should embed UnimplementedPlatformAdminServiceServer for forward compatibility.
type RemoveDeviceRequest ¶ added in v0.0.2
type RemoveDeviceRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveDeviceRequest) Descriptor
deprecated
added in
v0.0.2
func (*RemoveDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDeviceRequest.ProtoReflect.Descriptor instead.
func (*RemoveDeviceRequest) GetDeviceId ¶ added in v0.0.2
func (x *RemoveDeviceRequest) GetDeviceId() string
func (*RemoveDeviceRequest) GetUserId ¶ added in v0.0.2
func (x *RemoveDeviceRequest) GetUserId() string
func (*RemoveDeviceRequest) ProtoMessage ¶ added in v0.0.2
func (*RemoveDeviceRequest) ProtoMessage()
func (*RemoveDeviceRequest) ProtoReflect ¶ added in v0.0.2
func (x *RemoveDeviceRequest) ProtoReflect() protoreflect.Message
func (*RemoveDeviceRequest) Reset ¶ added in v0.0.2
func (x *RemoveDeviceRequest) Reset()
func (*RemoveDeviceRequest) String ¶ added in v0.0.2
func (x *RemoveDeviceRequest) String() string
type RevokeKeyRequest ¶ added in v0.0.2
type RevokeKeyRequest struct {
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
KeyId []byte `protobuf:"bytes,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeKeyRequest) Descriptor
deprecated
added in
v0.0.2
func (*RevokeKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeKeyRequest.ProtoReflect.Descriptor instead.
func (*RevokeKeyRequest) GetKeyId ¶ added in v0.0.2
func (x *RevokeKeyRequest) GetKeyId() []byte
func (*RevokeKeyRequest) GetUserId ¶ added in v0.0.2
func (x *RevokeKeyRequest) GetUserId() string
func (*RevokeKeyRequest) ProtoMessage ¶ added in v0.0.2
func (*RevokeKeyRequest) ProtoMessage()
func (*RevokeKeyRequest) ProtoReflect ¶ added in v0.0.2
func (x *RevokeKeyRequest) ProtoReflect() protoreflect.Message
func (*RevokeKeyRequest) Reset ¶ added in v0.0.2
func (x *RevokeKeyRequest) Reset()
func (*RevokeKeyRequest) String ¶ added in v0.0.2
func (x *RevokeKeyRequest) String() string
type RevokeKeyResponse ¶ added in v0.0.2
type RevokeKeyResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeKeyResponse) Descriptor
deprecated
added in
v0.0.2
func (*RevokeKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeKeyResponse.ProtoReflect.Descriptor instead.
func (*RevokeKeyResponse) GetSuccess ¶ added in v0.0.2
func (x *RevokeKeyResponse) GetSuccess() bool
func (*RevokeKeyResponse) ProtoMessage ¶ added in v0.0.2
func (*RevokeKeyResponse) ProtoMessage()
func (*RevokeKeyResponse) ProtoReflect ¶ added in v0.0.2
func (x *RevokeKeyResponse) ProtoReflect() protoreflect.Message
func (*RevokeKeyResponse) Reset ¶ added in v0.0.2
func (x *RevokeKeyResponse) Reset()
func (*RevokeKeyResponse) String ¶ added in v0.0.2
func (x *RevokeKeyResponse) String() string
type UnimplementedDomainAdminServiceServer ¶
type UnimplementedDomainAdminServiceServer struct{}
UnimplementedDomainAdminServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDomainAdminServiceServer) ActivateKey ¶ added in v0.0.2
func (UnimplementedDomainAdminServiceServer) ActivateKey(context.Context, *ActivateKeyRequest) (*ActivateKeyResponse, error)
func (UnimplementedDomainAdminServiceServer) AddKey ¶
func (UnimplementedDomainAdminServiceServer) AddKey(context.Context, *AddKeyRequest) (*common.ChallengeResponse, error)
func (UnimplementedDomainAdminServiceServer) AuditChallenge ¶ added in v0.0.2
func (UnimplementedDomainAdminServiceServer) AuditChallenge(context.Context, *DomainAuditChallengeRequest) (*AuditEntry, error)
func (UnimplementedDomainAdminServiceServer) AuditUser ¶ added in v0.0.2
func (UnimplementedDomainAdminServiceServer) AuditUser(context.Context, *DomainAuditUserRequest) (*AuditUserResponse, error)
func (UnimplementedDomainAdminServiceServer) CollectChallenge ¶
func (UnimplementedDomainAdminServiceServer) CollectChallenge(context.Context, *CollectRequest) (*CollectResponse, error)
func (UnimplementedDomainAdminServiceServer) CreateClient ¶
func (UnimplementedDomainAdminServiceServer) CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error)
func (UnimplementedDomainAdminServiceServer) CreateUser ¶
func (UnimplementedDomainAdminServiceServer) CreateUser(context.Context, *CreateUserRequest) (*common.ChallengeResponse, error)
func (UnimplementedDomainAdminServiceServer) DeleteClient ¶
func (UnimplementedDomainAdminServiceServer) DeleteClient(context.Context, *DeleteClientRequest) (*emptypb.Empty, error)
func (UnimplementedDomainAdminServiceServer) DeleteUser ¶
func (UnimplementedDomainAdminServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
func (UnimplementedDomainAdminServiceServer) GetDomain ¶
func (UnimplementedDomainAdminServiceServer) GetDomain(context.Context, *emptypb.Empty) (*DomainDetails, error)
func (UnimplementedDomainAdminServiceServer) GetUser ¶
func (UnimplementedDomainAdminServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedDomainAdminServiceServer) ListClients ¶
func (UnimplementedDomainAdminServiceServer) ListClients(context.Context, *ListClientsRequest) (*ListClientsResponse, error)
func (UnimplementedDomainAdminServiceServer) ListDevices ¶ added in v0.0.2
func (UnimplementedDomainAdminServiceServer) ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
func (UnimplementedDomainAdminServiceServer) ListUsers ¶
func (UnimplementedDomainAdminServiceServer) ListUsers(context.Context, *emptypb.Empty) (*ListUsersResponse, error)
func (UnimplementedDomainAdminServiceServer) RemoveDevice ¶ added in v0.0.2
func (UnimplementedDomainAdminServiceServer) RemoveDevice(context.Context, *RemoveDeviceRequest) (*emptypb.Empty, error)
func (UnimplementedDomainAdminServiceServer) RevokeKey ¶ added in v0.0.2
func (UnimplementedDomainAdminServiceServer) RevokeKey(context.Context, *RevokeKeyRequest) (*RevokeKeyResponse, error)
func (UnimplementedDomainAdminServiceServer) UpdateDevice ¶ added in v0.0.2
func (UnimplementedDomainAdminServiceServer) UpdateDevice(context.Context, *UpdateDeviceRequest) (*emptypb.Empty, error)
func (UnimplementedDomainAdminServiceServer) UpdateDomain ¶
func (UnimplementedDomainAdminServiceServer) UpdateDomain(context.Context, *UpdateDomainDetailsRequest) (*DomainDetails, error)
type UnimplementedPlatformAdminServiceServer ¶
type UnimplementedPlatformAdminServiceServer struct{}
UnimplementedPlatformAdminServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPlatformAdminServiceServer) AuditChallenge ¶ added in v0.0.2
func (UnimplementedPlatformAdminServiceServer) AuditChallenge(context.Context, *AuditChallengeRequest) (*AuditEntry, error)
func (UnimplementedPlatformAdminServiceServer) AuditUser ¶ added in v0.0.2
func (UnimplementedPlatformAdminServiceServer) AuditUser(context.Context, *AuditUserRequest) (*AuditUserResponse, error)
func (UnimplementedPlatformAdminServiceServer) CreateDomain ¶
func (UnimplementedPlatformAdminServiceServer) CreateDomain(context.Context, *CreateDomainRequest) (*CreateDomainResponse, error)
func (UnimplementedPlatformAdminServiceServer) DeleteDomain ¶
func (UnimplementedPlatformAdminServiceServer) DeleteDomain(context.Context, *DeleteDomainRequest) (*emptypb.Empty, error)
func (UnimplementedPlatformAdminServiceServer) GetDomain ¶
func (UnimplementedPlatformAdminServiceServer) GetDomain(context.Context, *GetDomainRequest) (*Domain, error)
func (UnimplementedPlatformAdminServiceServer) ListAdminClients ¶
func (UnimplementedPlatformAdminServiceServer) ListAdminClients(context.Context, *ListAdminClientsRequest) (*ListAdminClientsResponse, error)
func (UnimplementedPlatformAdminServiceServer) ListDomains ¶
func (UnimplementedPlatformAdminServiceServer) ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error)
func (UnimplementedPlatformAdminServiceServer) UpdateDomain ¶
func (UnimplementedPlatformAdminServiceServer) UpdateDomain(context.Context, *UpdateDomainRequest) (*Domain, error)
type UnsafeDomainAdminServiceServer ¶
type UnsafeDomainAdminServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDomainAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DomainAdminServiceServer will result in compilation errors.
type UnsafePlatformAdminServiceServer ¶
type UnsafePlatformAdminServiceServer interface {
// contains filtered or unexported methods
}
UnsafePlatformAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PlatformAdminServiceServer will result in compilation errors.
type UpdateDeviceRequest ¶ added in v0.0.2
type UpdateDeviceRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateDeviceRequest) Descriptor
deprecated
added in
v0.0.2
func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeviceRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeviceRequest) GetDeviceId ¶ added in v0.0.2
func (x *UpdateDeviceRequest) GetDeviceId() string
func (*UpdateDeviceRequest) GetName ¶ added in v0.0.2
func (x *UpdateDeviceRequest) GetName() string
func (*UpdateDeviceRequest) GetUserId ¶ added in v0.0.2
func (x *UpdateDeviceRequest) GetUserId() string
func (*UpdateDeviceRequest) ProtoMessage ¶ added in v0.0.2
func (*UpdateDeviceRequest) ProtoMessage()
func (*UpdateDeviceRequest) ProtoReflect ¶ added in v0.0.2
func (x *UpdateDeviceRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeviceRequest) Reset ¶ added in v0.0.2
func (x *UpdateDeviceRequest) Reset()
func (*UpdateDeviceRequest) String ¶ added in v0.0.2
func (x *UpdateDeviceRequest) String() string
type UpdateDomainDetailsRequest ¶
type UpdateDomainDetailsRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Algorithms []int64 `protobuf:"varint,3,rep,packed,name=algorithms,proto3" json:"algorithms,omitempty"`
RegistrationPath string `protobuf:"bytes,4,opt,name=registration_path,json=registrationPath,proto3" json:"registration_path,omitempty"`
SignPath string `protobuf:"bytes,5,opt,name=sign_path,json=signPath,proto3" json:"sign_path,omitempty"`
RequireDeviceBinding bool `protobuf:"varint,6,opt,name=require_device_binding,json=requireDeviceBinding,proto3" json:"require_device_binding,omitempty"`
TokenMaxAge int32 `protobuf:"varint,7,opt,name=token_max_age,json=tokenMaxAge,proto3" json:"token_max_age,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateDomainDetailsRequest) Descriptor
deprecated
func (*UpdateDomainDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDomainDetailsRequest.ProtoReflect.Descriptor instead.
func (*UpdateDomainDetailsRequest) GetAlgorithms ¶
func (x *UpdateDomainDetailsRequest) GetAlgorithms() []int64
func (*UpdateDomainDetailsRequest) GetDescription ¶
func (x *UpdateDomainDetailsRequest) GetDescription() string
func (*UpdateDomainDetailsRequest) GetName ¶
func (x *UpdateDomainDetailsRequest) GetName() string
func (*UpdateDomainDetailsRequest) GetRegistrationPath ¶
func (x *UpdateDomainDetailsRequest) GetRegistrationPath() string
func (*UpdateDomainDetailsRequest) GetRequireDeviceBinding ¶ added in v0.0.2
func (x *UpdateDomainDetailsRequest) GetRequireDeviceBinding() bool
func (*UpdateDomainDetailsRequest) GetSignPath ¶
func (x *UpdateDomainDetailsRequest) GetSignPath() string
func (*UpdateDomainDetailsRequest) GetTokenMaxAge ¶ added in v0.0.2
func (x *UpdateDomainDetailsRequest) GetTokenMaxAge() int32
func (*UpdateDomainDetailsRequest) ProtoMessage ¶
func (*UpdateDomainDetailsRequest) ProtoMessage()
func (*UpdateDomainDetailsRequest) ProtoReflect ¶
func (x *UpdateDomainDetailsRequest) ProtoReflect() protoreflect.Message
func (*UpdateDomainDetailsRequest) Reset ¶
func (x *UpdateDomainDetailsRequest) Reset()
func (*UpdateDomainDetailsRequest) String ¶
func (x *UpdateDomainDetailsRequest) String() string
type UpdateDomainRequest ¶
type UpdateDomainRequest struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Algorithms []int64 `protobuf:"varint,4,rep,packed,name=algorithms,proto3" json:"algorithms,omitempty"`
RegistrationPath string `protobuf:"bytes,5,opt,name=registration_path,json=registrationPath,proto3" json:"registration_path,omitempty"`
SignPath string `protobuf:"bytes,6,opt,name=sign_path,json=signPath,proto3" json:"sign_path,omitempty"`
RequireDeviceBinding bool `protobuf:"varint,7,opt,name=require_device_binding,json=requireDeviceBinding,proto3" json:"require_device_binding,omitempty"`
TokenMaxAge int32 `protobuf:"varint,8,opt,name=token_max_age,json=tokenMaxAge,proto3" json:"token_max_age,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateDomainRequest) Descriptor
deprecated
func (*UpdateDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDomainRequest.ProtoReflect.Descriptor instead.
func (*UpdateDomainRequest) GetAlgorithms ¶
func (x *UpdateDomainRequest) GetAlgorithms() []int64
func (*UpdateDomainRequest) GetDescription ¶
func (x *UpdateDomainRequest) GetDescription() string
func (*UpdateDomainRequest) GetDomain ¶
func (x *UpdateDomainRequest) GetDomain() string
func (*UpdateDomainRequest) GetName ¶
func (x *UpdateDomainRequest) GetName() string
func (*UpdateDomainRequest) GetRegistrationPath ¶
func (x *UpdateDomainRequest) GetRegistrationPath() string
func (*UpdateDomainRequest) GetRequireDeviceBinding ¶ added in v0.0.2
func (x *UpdateDomainRequest) GetRequireDeviceBinding() bool
func (*UpdateDomainRequest) GetSignPath ¶
func (x *UpdateDomainRequest) GetSignPath() string
func (*UpdateDomainRequest) GetTokenMaxAge ¶ added in v0.0.2
func (x *UpdateDomainRequest) GetTokenMaxAge() int32
func (*UpdateDomainRequest) ProtoMessage ¶
func (*UpdateDomainRequest) ProtoMessage()
func (*UpdateDomainRequest) ProtoReflect ¶
func (x *UpdateDomainRequest) ProtoReflect() protoreflect.Message
func (*UpdateDomainRequest) Reset ¶
func (x *UpdateDomainRequest) Reset()
func (*UpdateDomainRequest) String ¶
func (x *UpdateDomainRequest) String() string