auth

package
v0.0.0-...-54d1621 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ERR_INVALID_JWT_SIGNING_METHOD is raised when a jwt encryption is trying to use a wrong signing method algorithm.
	ERR_INVALID_JWT_SIGNING_METHOD = fmt.Errorf("The singing method does not match the method used during encryption.")

	// ERR_INVALID_TOKEN is a generic error raised when the token is not valid due to unknown reasons
	ERR_INVALID_TOKEN = fmt.Errorf("Token is invalid")
)

Functions

func NewService

func NewService(signingKey string, logger *zap.Logger, issuer string) pb.AuthServer

Types

This section is empty.

Directories

Path Synopsis
testing

Jump to

Keyboard shortcuts

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