services

package
v0.0.0-...-77d14a5 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Login

type Login struct {
	// contains filtered or unexported fields
}

func NewLogin

func NewLogin(l *log.Logger, f *models.Flags) *Login

func (*Login) GetToken

func (l *Login) GetToken(loginModel models.LoginRequest, origin string) (string, *models.ErrorDetail)

func (*Login) VerifyToken

func (*Login) VerifyToken(tokenString, referer string) (bool, *models.JwtClaims)

type LoginRpcServer

type LoginRpcServer struct {
	rpc_auth.UnimplementedLoginServiceServer
}

func (LoginRpcServer) LoginBiDirectionalRPC

func (LoginRpcServer) LoginClientStreamRPC

func (LoginRpcServer) LoginSimpleRPC

type ValidateRpcServer

type ValidateRpcServer struct {
	rpc_auth.UnimplementedValidateTokenServiceServer
}

func (ValidateRpcServer) Validate

Jump to

Keyboard shortcuts

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