handler

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 8 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 {
	// contains filtered or unexported fields
}

Handler is a structure which cointains methods to handle requests received by the UID Provider API

func NewHandler

func NewHandler(ctx context.Context, rdb client.RedisManager) *Handler

NewHandler instantiates a new Handler structure

func (*Handler) CreateUserHandler

func (h *Handler) CreateUserHandler() rest.Handler

CreateUserHandler handles user creation requests

func (*Handler) DeleteUserHandler

func (h *Handler) DeleteUserHandler() rest.Handler

DeleteUserHandler handles user deletion requests

func (*Handler) LoginHandler

func (h *Handler) LoginHandler() rest.Handler

LoginHandler handles login requests

func (*Handler) RefreshTokenHandler

func (h *Handler) RefreshTokenHandler() rest.Handler

RefreshTokenHandler handles token refresh requests

func (*Handler) UpdatePasswordHandler

func (h *Handler) UpdatePasswordHandler() rest.Handler

UpdatePasswordHandler handles requests to update an user password

Jump to

Keyboard shortcuts

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