credentials

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: CC0-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManagerService_CreateManagerRaw_FullMethodName        = "/credentials.ManagerService/CreateManagerRaw"
	ManagerService_GetCredentialRaw_FullMethodName        = "/credentials.ManagerService/GetCredentialRaw"
	ManagerService_CreateCredentialRaw_FullMethodName     = "/credentials.ManagerService/CreateCredentialRaw"
	ManagerService_ClearCredentialStateRaw_FullMethodName = "/credentials.ManagerService/ClearCredentialStateRaw"
)
View Source
const (
	GetCredentialRequestBuilderService_AddCredentialOption_FullMethodName = "/credentials.GetCredentialRequestBuilderService/AddCredentialOption"
	GetCredentialRequestBuilderService_Build_FullMethodName               = "/credentials.GetCredentialRequestBuilderService/Build"
)

Variables

View Source
var File_proto_credentials_credentials_proto protoreflect.FileDescriptor
View Source
var GetCredentialRequestBuilderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "credentials.GetCredentialRequestBuilderService",
	HandlerType: (*GetCredentialRequestBuilderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddCredentialOption",
			Handler:    _GetCredentialRequestBuilderService_AddCredentialOption_Handler,
		},
		{
			MethodName: "Build",
			Handler:    _GetCredentialRequestBuilderService_Build_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/credentials/credentials.proto",
}

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

View Source
var ManagerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "credentials.ManagerService",
	HandlerType: (*ManagerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateManagerRaw",
			Handler:    _ManagerService_CreateManagerRaw_Handler,
		},
		{
			MethodName: "GetCredentialRaw",
			Handler:    _ManagerService_GetCredentialRaw_Handler,
		},
		{
			MethodName: "CreateCredentialRaw",
			Handler:    _ManagerService_CreateCredentialRaw_Handler,
		},
		{
			MethodName: "ClearCredentialStateRaw",
			Handler:    _ManagerService_ClearCredentialStateRaw_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/credentials/credentials.proto",
}

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

Functions

func RegisterManagerServiceServer

func RegisterManagerServiceServer(s grpc.ServiceRegistrar, srv ManagerServiceServer)

Types

type AddCredentialOptionRequest

type AddCredentialOptionRequest struct {
	Option int64 `protobuf:"varint,1,opt,name=option,proto3" json:"option,omitempty"`
	// contains filtered or unexported fields
}

func (*AddCredentialOptionRequest) Descriptor deprecated

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

Deprecated: Use AddCredentialOptionRequest.ProtoReflect.Descriptor instead.

func (*AddCredentialOptionRequest) GetOption

func (x *AddCredentialOptionRequest) GetOption() int64

func (*AddCredentialOptionRequest) ProtoMessage

func (*AddCredentialOptionRequest) ProtoMessage()

func (*AddCredentialOptionRequest) ProtoReflect

func (*AddCredentialOptionRequest) Reset

func (x *AddCredentialOptionRequest) Reset()

func (*AddCredentialOptionRequest) String

func (x *AddCredentialOptionRequest) String() string

type AddCredentialOptionResponse

type AddCredentialOptionResponse struct {
	Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*AddCredentialOptionResponse) Descriptor deprecated

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

Deprecated: Use AddCredentialOptionResponse.ProtoReflect.Descriptor instead.

func (*AddCredentialOptionResponse) GetResult

func (x *AddCredentialOptionResponse) GetResult() int64

func (*AddCredentialOptionResponse) ProtoMessage

func (*AddCredentialOptionResponse) ProtoMessage()

func (*AddCredentialOptionResponse) ProtoReflect

func (*AddCredentialOptionResponse) Reset

func (x *AddCredentialOptionResponse) Reset()

func (*AddCredentialOptionResponse) String

func (x *AddCredentialOptionResponse) String() string

type BuildRequest

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

func (*BuildRequest) Descriptor deprecated

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

Deprecated: Use BuildRequest.ProtoReflect.Descriptor instead.

func (*BuildRequest) ProtoMessage

func (*BuildRequest) ProtoMessage()

func (*BuildRequest) ProtoReflect

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

func (*BuildRequest) Reset

func (x *BuildRequest) Reset()

func (*BuildRequest) String

func (x *BuildRequest) String() string

type BuildResponse

type BuildResponse struct {
	Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildResponse) Descriptor deprecated

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

Deprecated: Use BuildResponse.ProtoReflect.Descriptor instead.

func (*BuildResponse) GetResult

func (x *BuildResponse) GetResult() int64

func (*BuildResponse) ProtoMessage

func (*BuildResponse) ProtoMessage()

func (*BuildResponse) ProtoReflect

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

func (*BuildResponse) Reset

func (x *BuildResponse) Reset()

func (*BuildResponse) String

func (x *BuildResponse) String() string

type ClearCredentialStateRawRequest

type ClearCredentialStateRawRequest struct {
	Request int64 `protobuf:"varint,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*ClearCredentialStateRawRequest) Descriptor deprecated

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

Deprecated: Use ClearCredentialStateRawRequest.ProtoReflect.Descriptor instead.

func (*ClearCredentialStateRawRequest) GetRequest

func (x *ClearCredentialStateRawRequest) GetRequest() int64

func (*ClearCredentialStateRawRequest) ProtoMessage

func (*ClearCredentialStateRawRequest) ProtoMessage()

func (*ClearCredentialStateRawRequest) ProtoReflect

func (*ClearCredentialStateRawRequest) Reset

func (x *ClearCredentialStateRawRequest) Reset()

func (*ClearCredentialStateRawRequest) String

type ClearCredentialStateRawResponse

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

func (*ClearCredentialStateRawResponse) Descriptor deprecated

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

Deprecated: Use ClearCredentialStateRawResponse.ProtoReflect.Descriptor instead.

func (*ClearCredentialStateRawResponse) ProtoMessage

func (*ClearCredentialStateRawResponse) ProtoMessage()

func (*ClearCredentialStateRawResponse) ProtoReflect

func (*ClearCredentialStateRawResponse) Reset

func (*ClearCredentialStateRawResponse) String

type CreateCredentialRawRequest

type CreateCredentialRawRequest struct {
	Ctx     int64 `protobuf:"varint,1,opt,name=ctx,proto3" json:"ctx,omitempty"`
	Request int64 `protobuf:"varint,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCredentialRawRequest) Descriptor deprecated

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

Deprecated: Use CreateCredentialRawRequest.ProtoReflect.Descriptor instead.

func (*CreateCredentialRawRequest) GetCtx

func (x *CreateCredentialRawRequest) GetCtx() int64

func (*CreateCredentialRawRequest) GetRequest

func (x *CreateCredentialRawRequest) GetRequest() int64

func (*CreateCredentialRawRequest) ProtoMessage

func (*CreateCredentialRawRequest) ProtoMessage()

func (*CreateCredentialRawRequest) ProtoReflect

func (*CreateCredentialRawRequest) Reset

func (x *CreateCredentialRawRequest) Reset()

func (*CreateCredentialRawRequest) String

func (x *CreateCredentialRawRequest) String() string

type CreateCredentialRawResponse

type CreateCredentialRawResponse struct {
	Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCredentialRawResponse) Descriptor deprecated

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

Deprecated: Use CreateCredentialRawResponse.ProtoReflect.Descriptor instead.

func (*CreateCredentialRawResponse) GetResult

func (x *CreateCredentialRawResponse) GetResult() int64

func (*CreateCredentialRawResponse) ProtoMessage

func (*CreateCredentialRawResponse) ProtoMessage()

func (*CreateCredentialRawResponse) ProtoReflect

func (*CreateCredentialRawResponse) Reset

func (x *CreateCredentialRawResponse) Reset()

func (*CreateCredentialRawResponse) String

func (x *CreateCredentialRawResponse) String() string

type CreateManagerRawRequest

type CreateManagerRawRequest struct {
	Ctx int64 `protobuf:"varint,1,opt,name=ctx,proto3" json:"ctx,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateManagerRawRequest) Descriptor deprecated

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

Deprecated: Use CreateManagerRawRequest.ProtoReflect.Descriptor instead.

func (*CreateManagerRawRequest) GetCtx

func (x *CreateManagerRawRequest) GetCtx() int64

func (*CreateManagerRawRequest) ProtoMessage

func (*CreateManagerRawRequest) ProtoMessage()

func (*CreateManagerRawRequest) ProtoReflect

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

func (*CreateManagerRawRequest) Reset

func (x *CreateManagerRawRequest) Reset()

func (*CreateManagerRawRequest) String

func (x *CreateManagerRawRequest) String() string

type CreateManagerRawResponse

type CreateManagerRawResponse struct {
	Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateManagerRawResponse) Descriptor deprecated

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

Deprecated: Use CreateManagerRawResponse.ProtoReflect.Descriptor instead.

func (*CreateManagerRawResponse) GetResult

func (x *CreateManagerRawResponse) GetResult() int64

func (*CreateManagerRawResponse) ProtoMessage

func (*CreateManagerRawResponse) ProtoMessage()

func (*CreateManagerRawResponse) ProtoReflect

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

func (*CreateManagerRawResponse) Reset

func (x *CreateManagerRawResponse) Reset()

func (*CreateManagerRawResponse) String

func (x *CreateManagerRawResponse) String() string

type GetCredentialRawRequest

type GetCredentialRawRequest struct {
	Ctx     int64 `protobuf:"varint,1,opt,name=ctx,proto3" json:"ctx,omitempty"`
	Request int64 `protobuf:"varint,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCredentialRawRequest) Descriptor deprecated

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

Deprecated: Use GetCredentialRawRequest.ProtoReflect.Descriptor instead.

func (*GetCredentialRawRequest) GetCtx

func (x *GetCredentialRawRequest) GetCtx() int64

func (*GetCredentialRawRequest) GetRequest

func (x *GetCredentialRawRequest) GetRequest() int64

func (*GetCredentialRawRequest) ProtoMessage

func (*GetCredentialRawRequest) ProtoMessage()

func (*GetCredentialRawRequest) ProtoReflect

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

func (*GetCredentialRawRequest) Reset

func (x *GetCredentialRawRequest) Reset()

func (*GetCredentialRawRequest) String

func (x *GetCredentialRawRequest) String() string

type GetCredentialRawResponse

type GetCredentialRawResponse struct {
	Result *GetCredentialResponse `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCredentialRawResponse) Descriptor deprecated

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

Deprecated: Use GetCredentialRawResponse.ProtoReflect.Descriptor instead.

func (*GetCredentialRawResponse) GetResult

func (*GetCredentialRawResponse) ProtoMessage

func (*GetCredentialRawResponse) ProtoMessage()

func (*GetCredentialRawResponse) ProtoReflect

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

func (*GetCredentialRawResponse) Reset

func (x *GetCredentialRawResponse) Reset()

func (*GetCredentialRawResponse) String

func (x *GetCredentialRawResponse) String() string

type GetCredentialRequestBuilderServiceClient

type GetCredentialRequestBuilderServiceClient interface {
	AddCredentialOption(ctx context.Context, in *AddCredentialOptionRequest, opts ...grpc.CallOption) (*AddCredentialOptionResponse, error)
	Build(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (*BuildResponse, error)
}

GetCredentialRequestBuilderServiceClient is the client API for GetCredentialRequestBuilderService service.

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

type GetCredentialRequestBuilderServiceServer

type GetCredentialRequestBuilderServiceServer interface {
	AddCredentialOption(context.Context, *AddCredentialOptionRequest) (*AddCredentialOptionResponse, error)
	Build(context.Context, *BuildRequest) (*BuildResponse, error)
	// contains filtered or unexported methods
}

GetCredentialRequestBuilderServiceServer is the server API for GetCredentialRequestBuilderService service. All implementations must embed UnimplementedGetCredentialRequestBuilderServiceServer for forward compatibility.

type GetCredentialResponse

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

func (*GetCredentialResponse) Descriptor deprecated

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

Deprecated: Use GetCredentialResponse.ProtoReflect.Descriptor instead.

func (*GetCredentialResponse) ProtoMessage

func (*GetCredentialResponse) ProtoMessage()

func (*GetCredentialResponse) ProtoReflect

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

func (*GetCredentialResponse) Reset

func (x *GetCredentialResponse) Reset()

func (*GetCredentialResponse) String

func (x *GetCredentialResponse) String() string

type ManagerServiceClient

type ManagerServiceClient interface {
	CreateManagerRaw(ctx context.Context, in *CreateManagerRawRequest, opts ...grpc.CallOption) (*CreateManagerRawResponse, error)
	GetCredentialRaw(ctx context.Context, in *GetCredentialRawRequest, opts ...grpc.CallOption) (*GetCredentialRawResponse, error)
	CreateCredentialRaw(ctx context.Context, in *CreateCredentialRawRequest, opts ...grpc.CallOption) (*CreateCredentialRawResponse, error)
	ClearCredentialStateRaw(ctx context.Context, in *ClearCredentialStateRawRequest, opts ...grpc.CallOption) (*ClearCredentialStateRawResponse, error)
}

ManagerServiceClient is the client API for ManagerService service.

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

type ManagerServiceServer

type ManagerServiceServer interface {
	CreateManagerRaw(context.Context, *CreateManagerRawRequest) (*CreateManagerRawResponse, error)
	GetCredentialRaw(context.Context, *GetCredentialRawRequest) (*GetCredentialRawResponse, error)
	CreateCredentialRaw(context.Context, *CreateCredentialRawRequest) (*CreateCredentialRawResponse, error)
	ClearCredentialStateRaw(context.Context, *ClearCredentialStateRawRequest) (*ClearCredentialStateRawResponse, error)
	// contains filtered or unexported methods
}

ManagerServiceServer is the server API for ManagerService service. All implementations must embed UnimplementedManagerServiceServer for forward compatibility.

type PasswordCredential

type PasswordCredential struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordCredential) Descriptor deprecated

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

Deprecated: Use PasswordCredential.ProtoReflect.Descriptor instead.

func (*PasswordCredential) GetId

func (x *PasswordCredential) GetId() string

func (*PasswordCredential) GetPassword

func (x *PasswordCredential) GetPassword() string

func (*PasswordCredential) ProtoMessage

func (*PasswordCredential) ProtoMessage()

func (*PasswordCredential) ProtoReflect

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

func (*PasswordCredential) Reset

func (x *PasswordCredential) Reset()

func (*PasswordCredential) String

func (x *PasswordCredential) String() string

type PublicKeyCredential

type PublicKeyCredential struct {
	AuthResponseJson string `protobuf:"bytes,1,opt,name=auth_response_json,json=authResponseJson,proto3" json:"auth_response_json,omitempty"`
	// contains filtered or unexported fields
}

func (*PublicKeyCredential) Descriptor deprecated

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

Deprecated: Use PublicKeyCredential.ProtoReflect.Descriptor instead.

func (*PublicKeyCredential) GetAuthResponseJson

func (x *PublicKeyCredential) GetAuthResponseJson() string

func (*PublicKeyCredential) ProtoMessage

func (*PublicKeyCredential) ProtoMessage()

func (*PublicKeyCredential) ProtoReflect

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

func (*PublicKeyCredential) Reset

func (x *PublicKeyCredential) Reset()

func (*PublicKeyCredential) String

func (x *PublicKeyCredential) String() string

type UnimplementedGetCredentialRequestBuilderServiceServer

type UnimplementedGetCredentialRequestBuilderServiceServer struct{}

UnimplementedGetCredentialRequestBuilderServiceServer must 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 (UnimplementedGetCredentialRequestBuilderServiceServer) AddCredentialOption

func (UnimplementedGetCredentialRequestBuilderServiceServer) Build

type UnimplementedManagerServiceServer

type UnimplementedManagerServiceServer struct{}

UnimplementedManagerServiceServer must 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 (UnimplementedManagerServiceServer) CreateCredentialRaw

func (UnimplementedManagerServiceServer) CreateManagerRaw

func (UnimplementedManagerServiceServer) GetCredentialRaw

type UnsafeGetCredentialRequestBuilderServiceServer

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

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

type UnsafeManagerServiceServer

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

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

Jump to

Keyboard shortcuts

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