security

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAuthFailed = errors.New("authentication failed")

ErrAuthFailed will be return in case of some authentication issue

View Source
var ErrNoMetadataFound = errors.New("no metadata found")

ErrNoMetadataFound will be return in case of no metadata found on the GRPC request

Functions

func CheckJwtToken

func CheckJwtToken(repo configrepo.Repo, app *configrepo.ApplicationVersion, token string) error

CheckJwtToken check a jws token signature

Types

This section is empty.

Jump to

Keyboard shortcuts

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