fileauth

package
v0.0.0-...-136c4f7 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadJWTPublicKeys

func LoadJWTPublicKeys(path string) ([]jwt.Key, error)

LoadJWTPublicKeys loads PEM encoded RSA public keys used to validata and decrypt the JWT.

Types

type FileAuth

type FileAuth struct {
}

FileAuth is an AuthExtension for local files

func (*FileAuth) GetMiddleware

func (a *FileAuth) GetMiddleware(cfg interface{}, security *goa.JWTSecurity) (goa.Middleware, error)

GetMiddleware implements AuthExtension.GetMiddleware

func (*FileAuth) GetName

func (a *FileAuth) GetName() string

FileAuth implements AuthExtension.GetName

Jump to

Keyboard shortcuts

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