vault

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBaseClient

func GetBaseClient() *api.Client

func GetClient

func GetClient(token string) *api.Client

func GetClientFromContext

func GetClientFromContext(c echo.Context) *api.Client

func GetClientFromRequest

func GetClientFromRequest(r *http.Request) *api.Client

func GetManagerClient

func GetManagerClient() *api.Client

func GetSelf

func GetSelf(client *api.Client) map[string]interface{}

func GetSelfEntityId

func GetSelfEntityId(client *api.Client) string

func GetTokenFromRequest

func GetTokenFromRequest(r *http.Request) string

func InvalidateToken

func InvalidateToken(token string) error

func ValidateToken

func ValidateToken(token string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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