auth

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller added in v0.0.3

type Controller struct {
}

func New

func New() *Controller

New is the constructor of Controller.

func (*Controller) Authorization added in v0.0.3

func (c *Controller) Authorization(ctx context.Context, req *v1.AuthReq) (res *v1.AuthRes, err error)

Authorization is the handler for Authorization

func (*Controller) CreateAccessToken added in v0.0.3

func (c *Controller) CreateAccessToken(ctx context.Context, req *v1.CreateAccessTokenReq) (res *v1.CreateAccessTokenRes, err error)

CreateAccessToken is the handler for CreateAccessToken

Jump to

Keyboard shortcuts

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