Documentation ¶
Index ¶
- Variables
- func DecodeGRPCCheckTokenRequest(ctx context.Context, r interface{}) (interface{}, error)
- func DecodeGRPCCheckTokenResponse(_ context.Context, r interface{}) (interface{}, error)
- func EncodeGRPCCheckTokenRequest(_ context.Context, r interface{}) (interface{}, error)
- func EncodeGRPCCheckTokenResponse(_ context.Context, r interface{}) (interface{}, error)
- func MakeHttpHandler(ctx context.Context, endpoints endpoint.OAuth2Endpoints, ...) http.Handler
- func NewGRPCServer(ctx context.Context, endpoints endpts.OAuth2Endpoints, ...) pb.OAuthServiceServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func MakeHttpHandler ¶
func MakeHttpHandler(ctx context.Context, endpoints endpoint.OAuth2Endpoints, tokenService service.TokenService, clientService service.ClientDetailsService, zipkinTracer *gozipkin.Tracer, logger log.Logger) http.Handler
MakeHttpHandler make http handler use mux
func NewGRPCServer ¶
func NewGRPCServer(ctx context.Context, endpoints endpts.OAuth2Endpoints, serverTracer grpc.ServerOption) pb.OAuthServiceServer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.