Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
v1.UnimplementedRbacInternalServiceServer
// contains filtered or unexported fields
}
Server implementes the gRPC interface.
func (*Server) Authorize ¶
func (s *Server) Authorize(ctx context.Context, req *v1.AuthorizeRequest) (*v1.AuthorizeResponse, error)
Authorize authorizes the given token and scope.
func (*Server) AuthorizeWorker ¶ added in v0.67.0
func (s *Server) AuthorizeWorker(ctx context.Context, req *v1.AuthorizeWorkerRequest) (*v1.AuthorizeWorkerResponse, error)
AuthorizeWorker authorizes the given token.
Click to show internal directories.
Click to hide internal directories.