auth

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

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

Go to latest
Published: Oct 15, 2019 License: AGPL-3.0, AGPL-3.0-only Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdminGroup = "read:characters"

Functions

func Auth0Groups

func Auth0Groups(wantedGroups ...string) gin.HandlerFunc

Wrapping a Gin endpoint with Auth0 Groups.

func LoadPublicKey

func LoadPublicKey(data []byte) (interface{}, error)

LoadPublicKey loads a public key from PEM/DER-encoded data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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