Versions in this module Expand all Collapse all v2 v2.9.3 Mar 12, 2021 Changes in this version + func RegisterAuthHandler(s server.Server, hdlr AuthHandler, opts ...server.HandlerOption) error + type AuthHandler interface + Verify func(context.Context, *VerifyRequest, *VerifyResponse) error + type AuthService interface + Verify func(ctx context.Context, in *VerifyRequest, opts ...client.CallOption) (*VerifyResponse, error) + func NewAuthService(name string, c client.Client) AuthService + type VerifyRequest struct + Token string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*VerifyRequest) Descriptor() ([]byte, []int) + func (*VerifyRequest) ProtoMessage() + func (m *VerifyRequest) GetToken() string + func (m *VerifyRequest) Reset() + func (m *VerifyRequest) String() string + func (m *VerifyRequest) XXX_DiscardUnknown() + func (m *VerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VerifyRequest) XXX_Merge(src proto.Message) + func (m *VerifyRequest) XXX_Size() int + func (m *VerifyRequest) XXX_Unmarshal(b []byte) error + type VerifyResponse struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*VerifyResponse) Descriptor() ([]byte, []int) + func (*VerifyResponse) ProtoMessage() + func (m *VerifyResponse) Reset() + func (m *VerifyResponse) String() string + func (m *VerifyResponse) XXX_DiscardUnknown() + func (m *VerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VerifyResponse) XXX_Merge(src proto.Message) + func (m *VerifyResponse) XXX_Size() int + func (m *VerifyResponse) XXX_Unmarshal(b []byte) error