Versions in this module Expand all Collapse all v0 v0.3.0 Aug 24, 2026 Changes in this version + const Auth_Authenticate_FullMethodName + const Auth_Begin_FullMethodName + const Auth_Complete_FullMethodName + const Auth_Info_FullMethodName + const ChallengeType_CheckFlag_FullMethodName + const ChallengeType_Info_FullMethodName + const ChallengeType_ValidateConfig_FullMethodName + const Notification_Info_FullMethodName + const Notification_Notify_FullMethodName + const Notification_Subscriptions_FullMethodName + const Scoring_Info_FullMethodName + const Scoring_Value_FullMethodName + var Auth_ServiceDesc = grpc.ServiceDesc + var ChallengeType_ServiceDesc = grpc.ServiceDesc + var File_plugin_proto protoreflect.FileDescriptor + var Notification_ServiceDesc = grpc.ServiceDesc + var PluginType_name = map[int32]string + var PluginType_value = map[string]int32 + var Scoring_ServiceDesc = grpc.ServiceDesc + func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer) + func RegisterChallengeTypeServer(s grpc.ServiceRegistrar, srv ChallengeTypeServer) + func RegisterNotificationServer(s grpc.ServiceRegistrar, srv NotificationServer) + func RegisterScoringServer(s grpc.ServiceRegistrar, srv ScoringServer) + type AuthClient interface + Authenticate func(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*Identity, error) + Begin func(ctx context.Context, in *BeginRequest, opts ...grpc.CallOption) (*BeginResponse, error) + Complete func(ctx context.Context, in *CompleteRequest, opts ...grpc.CallOption) (*Identity, error) + Info func(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) + func NewAuthClient(cc grpc.ClientConnInterface) AuthClient + type AuthServer interface + Authenticate func(context.Context, *AuthenticateRequest) (*Identity, error) + Begin func(context.Context, *BeginRequest) (*BeginResponse, error) + Complete func(context.Context, *CompleteRequest) (*Identity, error) + Info func(context.Context, *InfoRequest) (*InfoResponse, error) + type AuthenticateRequest struct + Identifier string + Secret string + func (*AuthenticateRequest) Descriptor() ([]byte, []int) + func (*AuthenticateRequest) ProtoMessage() + func (x *AuthenticateRequest) GetIdentifier() string + func (x *AuthenticateRequest) GetSecret() string + func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message + func (x *AuthenticateRequest) Reset() + func (x *AuthenticateRequest) String() string + type BeginRequest struct + RedirectUri string + State string + func (*BeginRequest) Descriptor() ([]byte, []int) + func (*BeginRequest) ProtoMessage() + func (x *BeginRequest) GetRedirectUri() string + func (x *BeginRequest) GetState() string + func (x *BeginRequest) ProtoReflect() protoreflect.Message + func (x *BeginRequest) Reset() + func (x *BeginRequest) String() string + type BeginResponse struct + AuthorizeUrl string + State string + func (*BeginResponse) Descriptor() ([]byte, []int) + func (*BeginResponse) ProtoMessage() + func (x *BeginResponse) GetAuthorizeUrl() string + func (x *BeginResponse) GetState() string + func (x *BeginResponse) ProtoReflect() protoreflect.Message + func (x *BeginResponse) Reset() + func (x *BeginResponse) String() string + type ChallengeTypeClient interface + CheckFlag func(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) + Info func(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) + ValidateConfig func(ctx context.Context, in *ValidateRequest, opts ...grpc.CallOption) (*ValidateResponse, error) + func NewChallengeTypeClient(cc grpc.ClientConnInterface) ChallengeTypeClient + type ChallengeTypeServer interface + CheckFlag func(context.Context, *CheckRequest) (*CheckResponse, error) + Info func(context.Context, *InfoRequest) (*InfoResponse, error) + ValidateConfig func(context.Context, *ValidateRequest) (*ValidateResponse, error) + type CheckRequest struct + Config map[string]string + Instance map[string]string + Submitted string + func (*CheckRequest) Descriptor() ([]byte, []int) + func (*CheckRequest) ProtoMessage() + func (x *CheckRequest) GetConfig() map[string]string + func (x *CheckRequest) GetInstance() map[string]string + func (x *CheckRequest) GetSubmitted() string + func (x *CheckRequest) ProtoReflect() protoreflect.Message + func (x *CheckRequest) Reset() + func (x *CheckRequest) String() string + type CheckResponse struct + Correct bool + func (*CheckResponse) Descriptor() ([]byte, []int) + func (*CheckResponse) ProtoMessage() + func (x *CheckResponse) GetCorrect() bool + func (x *CheckResponse) ProtoReflect() protoreflect.Message + func (x *CheckResponse) Reset() + func (x *CheckResponse) String() string + type CompleteRequest struct + Params map[string]string + State string + func (*CompleteRequest) Descriptor() ([]byte, []int) + func (*CompleteRequest) ProtoMessage() + func (x *CompleteRequest) GetParams() map[string]string + func (x *CompleteRequest) GetState() string + func (x *CompleteRequest) ProtoReflect() protoreflect.Message + func (x *CompleteRequest) Reset() + func (x *CompleteRequest) String() string + type Event struct + Data map[string]string + Id string + Name string + OccurredAt string + func (*Event) Descriptor() ([]byte, []int) + func (*Event) ProtoMessage() + func (x *Event) GetData() map[string]string + func (x *Event) GetId() string + func (x *Event) GetName() string + func (x *Event) GetOccurredAt() string + func (x *Event) ProtoReflect() protoreflect.Message + func (x *Event) Reset() + func (x *Event) String() string + type Identity struct + Claims map[string]string + Email string + EmailVerified bool + Subject string + Username string + func (*Identity) Descriptor() ([]byte, []int) + func (*Identity) ProtoMessage() + func (x *Identity) GetClaims() map[string]string + func (x *Identity) GetEmail() string + func (x *Identity) GetEmailVerified() bool + func (x *Identity) GetSubject() string + func (x *Identity) GetUsername() string + func (x *Identity) ProtoReflect() protoreflect.Message + func (x *Identity) Reset() + func (x *Identity) String() string + type InfoRequest struct + func (*InfoRequest) Descriptor() ([]byte, []int) + func (*InfoRequest) ProtoMessage() + func (x *InfoRequest) ProtoReflect() protoreflect.Message + func (x *InfoRequest) Reset() + func (x *InfoRequest) String() string + type InfoResponse struct + Abi string + Capabilities []string + Name string + Type PluginType + Version string + func (*InfoResponse) Descriptor() ([]byte, []int) + func (*InfoResponse) ProtoMessage() + func (x *InfoResponse) GetAbi() string + func (x *InfoResponse) GetCapabilities() []string + func (x *InfoResponse) GetName() string + func (x *InfoResponse) GetType() PluginType + func (x *InfoResponse) GetVersion() string + func (x *InfoResponse) ProtoReflect() protoreflect.Message + func (x *InfoResponse) Reset() + func (x *InfoResponse) String() string + type NotificationClient interface + Info func(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) + Notify func(ctx context.Context, in *Event, opts ...grpc.CallOption) (*NotifyAck, error) + Subscriptions func(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*SubscriptionList, error) + func NewNotificationClient(cc grpc.ClientConnInterface) NotificationClient + type NotificationServer interface + Info func(context.Context, *InfoRequest) (*InfoResponse, error) + Notify func(context.Context, *Event) (*NotifyAck, error) + Subscriptions func(context.Context, *InfoRequest) (*SubscriptionList, error) + type NotifyAck struct + Handled bool + func (*NotifyAck) Descriptor() ([]byte, []int) + func (*NotifyAck) ProtoMessage() + func (x *NotifyAck) GetHandled() bool + func (x *NotifyAck) ProtoReflect() protoreflect.Message + func (x *NotifyAck) Reset() + func (x *NotifyAck) String() string + type PluginType int32 + const PluginType_PLUGIN_TYPE_AUTH + const PluginType_PLUGIN_TYPE_CHALLENGE_TYPE + const PluginType_PLUGIN_TYPE_NOTIFICATION + const PluginType_PLUGIN_TYPE_SCORING + const PluginType_PLUGIN_TYPE_UNSPECIFIED + func (PluginType) Descriptor() protoreflect.EnumDescriptor + func (PluginType) EnumDescriptor() ([]byte, []int) + func (PluginType) Type() protoreflect.EnumType + func (x PluginType) Enum() *PluginType + func (x PluginType) Number() protoreflect.EnumNumber + func (x PluginType) String() string + type ScoreRequest struct + Decay int32 + Initial int32 + Min int32 + Params map[string]string + Solves int32 + func (*ScoreRequest) Descriptor() ([]byte, []int) + func (*ScoreRequest) ProtoMessage() + func (x *ScoreRequest) GetDecay() int32 + func (x *ScoreRequest) GetInitial() int32 + func (x *ScoreRequest) GetMin() int32 + func (x *ScoreRequest) GetParams() map[string]string + func (x *ScoreRequest) GetSolves() int32 + func (x *ScoreRequest) ProtoReflect() protoreflect.Message + func (x *ScoreRequest) Reset() + func (x *ScoreRequest) String() string + type ScoreResponse struct + Value int32 + func (*ScoreResponse) Descriptor() ([]byte, []int) + func (*ScoreResponse) ProtoMessage() + func (x *ScoreResponse) GetValue() int32 + func (x *ScoreResponse) ProtoReflect() protoreflect.Message + func (x *ScoreResponse) Reset() + func (x *ScoreResponse) String() string + type ScoringClient interface + Info func(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) + Value func(ctx context.Context, in *ScoreRequest, opts ...grpc.CallOption) (*ScoreResponse, error) + func NewScoringClient(cc grpc.ClientConnInterface) ScoringClient + type ScoringServer interface + Info func(context.Context, *InfoRequest) (*InfoResponse, error) + Value func(context.Context, *ScoreRequest) (*ScoreResponse, error) + type SubscriptionList struct + EventNames []string + func (*SubscriptionList) Descriptor() ([]byte, []int) + func (*SubscriptionList) ProtoMessage() + func (x *SubscriptionList) GetEventNames() []string + func (x *SubscriptionList) ProtoReflect() protoreflect.Message + func (x *SubscriptionList) Reset() + func (x *SubscriptionList) String() string + type UnimplementedAuthServer struct + func (UnimplementedAuthServer) Authenticate(context.Context, *AuthenticateRequest) (*Identity, error) + func (UnimplementedAuthServer) Begin(context.Context, *BeginRequest) (*BeginResponse, error) + func (UnimplementedAuthServer) Complete(context.Context, *CompleteRequest) (*Identity, error) + func (UnimplementedAuthServer) Info(context.Context, *InfoRequest) (*InfoResponse, error) + type UnimplementedChallengeTypeServer struct + func (UnimplementedChallengeTypeServer) CheckFlag(context.Context, *CheckRequest) (*CheckResponse, error) + func (UnimplementedChallengeTypeServer) Info(context.Context, *InfoRequest) (*InfoResponse, error) + func (UnimplementedChallengeTypeServer) ValidateConfig(context.Context, *ValidateRequest) (*ValidateResponse, error) + type UnimplementedNotificationServer struct + func (UnimplementedNotificationServer) Info(context.Context, *InfoRequest) (*InfoResponse, error) + func (UnimplementedNotificationServer) Notify(context.Context, *Event) (*NotifyAck, error) + func (UnimplementedNotificationServer) Subscriptions(context.Context, *InfoRequest) (*SubscriptionList, error) + type UnimplementedScoringServer struct + func (UnimplementedScoringServer) Info(context.Context, *InfoRequest) (*InfoResponse, error) + func (UnimplementedScoringServer) Value(context.Context, *ScoreRequest) (*ScoreResponse, error) + type UnsafeAuthServer interface + type UnsafeChallengeTypeServer interface + type UnsafeNotificationServer interface + type UnsafeScoringServer interface + type ValidateRequest struct + Config map[string]string + func (*ValidateRequest) Descriptor() ([]byte, []int) + func (*ValidateRequest) ProtoMessage() + func (x *ValidateRequest) GetConfig() map[string]string + func (x *ValidateRequest) ProtoReflect() protoreflect.Message + func (x *ValidateRequest) Reset() + func (x *ValidateRequest) String() string + type ValidateResponse struct + FieldErrors map[string]string + Normalized map[string]string + Ok bool + func (*ValidateResponse) Descriptor() ([]byte, []int) + func (*ValidateResponse) ProtoMessage() + func (x *ValidateResponse) GetFieldErrors() map[string]string + func (x *ValidateResponse) GetNormalized() map[string]string + func (x *ValidateResponse) GetOk() bool + func (x *ValidateResponse) ProtoReflect() protoreflect.Message + func (x *ValidateResponse) Reset() + func (x *ValidateResponse) String() string v0.3.0-rc.1 Aug 23, 2026