rbac

package
v0.10.26 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchATokenViaKeyCloak

func FetchATokenViaKeyCloak(openIDIssuer string, user string, passwd string) (string, error)

FetchATokenViaKeyCloak Get the token via keycloak using curl

func GetBearerContext

func GetBearerContext(ctx context.Context, token string) context.Context

GetBearerContext gets a context that usesthe given token as the Bearer in the Authorization header

Types

This section is empty.

Jump to

Keyboard shortcuts

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