serviceHandler

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: MIT Imports: 7 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 used to handle all verification code service functions

func (Handler) Create

func (handler Handler) Create(
	ctx context.Context,
	request *proto.UserData) (*proto.TokenData, error)

Create is used to create a verification code jwt

func (Handler) Validate

func (handler Handler) Validate(
	ctx context.Context,
	request *proto.TokenData) (*proto.Valid, error)

Validate is used to validate a verification code jwt

Jump to

Keyboard shortcuts

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