Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureValidToken ¶
func EnsureValidToken(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
Unary interceptor grpc.UnaryServerInterceptor function parameter for grpc.UnaryInterceptor function
Types ¶
type ServiceServer ¶
type ServiceServer struct { userauthnpb.UnimplementedUserAuthnServiceServer Mdb *mongo.Database }
func (ServiceServer) CreateToken ¶
func (svc ServiceServer) CreateToken(ctx context.Context, ctreq *userauthnpb.CreateTokenRequest) (*userauthnpb.CreateTokenResponse, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.