Documentation ¶
Index ¶
- func RegisterAuthenticationServiceServer(s *grpc.Server, srv AuthenticationServiceServer)
- type AuthenticationServiceClient
- type AuthenticationServiceServer
- type DispatchAuthCommandRequest
- func (*DispatchAuthCommandRequest) Descriptor() ([]byte, []int)
- func (m *DispatchAuthCommandRequest) GetName() string
- func (m *DispatchAuthCommandRequest) GetPayload() []byte
- func (*DispatchAuthCommandRequest) ProtoMessage()
- func (m *DispatchAuthCommandRequest) Reset()
- func (m *DispatchAuthCommandRequest) String() string
- func (m *DispatchAuthCommandRequest) XXX_DiscardUnknown()
- func (m *DispatchAuthCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DispatchAuthCommandRequest) XXX_Merge(src proto.Message)
- func (m *DispatchAuthCommandRequest) XXX_Size() int
- func (m *DispatchAuthCommandRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedAuthenticationServiceServer
- func (*UnimplementedAuthenticationServiceServer) DispatchClientCommand(ctx context.Context, req *DispatchAuthCommandRequest) (*emptypb.Empty, error)
- func (*UnimplementedAuthenticationServiceServer) DispatchTokenCommand(ctx context.Context, req *DispatchAuthCommandRequest) (*emptypb.Empty, error)
- func (*UnimplementedAuthenticationServiceServer) ValidationBearerToken(ctx context.Context, req *ValidationBearerTokenRequest) (*emptypb.Empty, error)
- type ValidationBearerTokenRequest
- func (*ValidationBearerTokenRequest) Descriptor() ([]byte, []int)
- func (m *ValidationBearerTokenRequest) GetToken() string
- func (*ValidationBearerTokenRequest) ProtoMessage()
- func (m *ValidationBearerTokenRequest) Reset()
- func (m *ValidationBearerTokenRequest) String() string
- func (m *ValidationBearerTokenRequest) XXX_DiscardUnknown()
- func (m *ValidationBearerTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidationBearerTokenRequest) XXX_Merge(src proto.Message)
- func (m *ValidationBearerTokenRequest) XXX_Size() int
- func (m *ValidationBearerTokenRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAuthenticationServiceServer ¶
func RegisterAuthenticationServiceServer(s *grpc.Server, srv AuthenticationServiceServer)
Types ¶
type AuthenticationServiceClient ¶
type AuthenticationServiceClient interface { ValidationBearerToken(ctx context.Context, in *ValidationBearerTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DispatchClientCommand(ctx context.Context, in *DispatchAuthCommandRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DispatchTokenCommand(ctx context.Context, in *DispatchAuthCommandRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AuthenticationServiceClient is the client API for AuthenticationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthenticationServiceClient ¶
func NewAuthenticationServiceClient(cc grpc.ClientConnInterface) AuthenticationServiceClient
type AuthenticationServiceServer ¶
type AuthenticationServiceServer interface { ValidationBearerToken(context.Context, *ValidationBearerTokenRequest) (*emptypb.Empty, error) DispatchClientCommand(context.Context, *DispatchAuthCommandRequest) (*emptypb.Empty, error) DispatchTokenCommand(context.Context, *DispatchAuthCommandRequest) (*emptypb.Empty, error) }
AuthenticationServiceServer is the server API for AuthenticationService service.
type DispatchAuthCommandRequest ¶
type DispatchAuthCommandRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DispatchAuthCommandRequest is passed when dispatching
func (*DispatchAuthCommandRequest) Descriptor ¶
func (*DispatchAuthCommandRequest) Descriptor() ([]byte, []int)
func (*DispatchAuthCommandRequest) GetName ¶
func (m *DispatchAuthCommandRequest) GetName() string
func (*DispatchAuthCommandRequest) GetPayload ¶
func (m *DispatchAuthCommandRequest) GetPayload() []byte
func (*DispatchAuthCommandRequest) ProtoMessage ¶
func (*DispatchAuthCommandRequest) ProtoMessage()
func (*DispatchAuthCommandRequest) Reset ¶
func (m *DispatchAuthCommandRequest) Reset()
func (*DispatchAuthCommandRequest) String ¶
func (m *DispatchAuthCommandRequest) String() string
func (*DispatchAuthCommandRequest) XXX_DiscardUnknown ¶
func (m *DispatchAuthCommandRequest) XXX_DiscardUnknown()
func (*DispatchAuthCommandRequest) XXX_Marshal ¶
func (m *DispatchAuthCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DispatchAuthCommandRequest) XXX_Merge ¶
func (m *DispatchAuthCommandRequest) XXX_Merge(src proto.Message)
func (*DispatchAuthCommandRequest) XXX_Size ¶
func (m *DispatchAuthCommandRequest) XXX_Size() int
func (*DispatchAuthCommandRequest) XXX_Unmarshal ¶
func (m *DispatchAuthCommandRequest) XXX_Unmarshal(b []byte) error
type UnimplementedAuthenticationServiceServer ¶
type UnimplementedAuthenticationServiceServer struct { }
UnimplementedAuthenticationServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthenticationServiceServer) DispatchClientCommand ¶
func (*UnimplementedAuthenticationServiceServer) DispatchClientCommand(ctx context.Context, req *DispatchAuthCommandRequest) (*emptypb.Empty, error)
func (*UnimplementedAuthenticationServiceServer) DispatchTokenCommand ¶
func (*UnimplementedAuthenticationServiceServer) DispatchTokenCommand(ctx context.Context, req *DispatchAuthCommandRequest) (*emptypb.Empty, error)
func (*UnimplementedAuthenticationServiceServer) ValidationBearerToken ¶
func (*UnimplementedAuthenticationServiceServer) ValidationBearerToken(ctx context.Context, req *ValidationBearerTokenRequest) (*emptypb.Empty, error)
type ValidationBearerTokenRequest ¶
type ValidationBearerTokenRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ValidationBearerTokenRequest validates auth token
func (*ValidationBearerTokenRequest) Descriptor ¶
func (*ValidationBearerTokenRequest) Descriptor() ([]byte, []int)
func (*ValidationBearerTokenRequest) GetToken ¶
func (m *ValidationBearerTokenRequest) GetToken() string
func (*ValidationBearerTokenRequest) ProtoMessage ¶
func (*ValidationBearerTokenRequest) ProtoMessage()
func (*ValidationBearerTokenRequest) Reset ¶
func (m *ValidationBearerTokenRequest) Reset()
func (*ValidationBearerTokenRequest) String ¶
func (m *ValidationBearerTokenRequest) String() string
func (*ValidationBearerTokenRequest) XXX_DiscardUnknown ¶
func (m *ValidationBearerTokenRequest) XXX_DiscardUnknown()
func (*ValidationBearerTokenRequest) XXX_Marshal ¶
func (m *ValidationBearerTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidationBearerTokenRequest) XXX_Merge ¶
func (m *ValidationBearerTokenRequest) XXX_Merge(src proto.Message)
func (*ValidationBearerTokenRequest) XXX_Size ¶
func (m *ValidationBearerTokenRequest) XXX_Size() int
func (*ValidationBearerTokenRequest) XXX_Unmarshal ¶
func (m *ValidationBearerTokenRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.