auth

package
v0.0.0-...-858496e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	gen.UnimplementedAuthServiceServer
	// contains filtered or unexported fields
}

Handler defines a user gRPC handler

func New

func New(ctrl *user.Controller) *Handler

New creates a new user gRPC handler

func (*Handler) ValidateToken

func (h *Handler) ValidateToken(ctx context.Context, req *gen.TokenRequest) (*gen.TokenResponse, error)

ValidateToken validates a JWT token

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL