appcontext

package
v0.0.0-...-c53624e Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthSubject

func GetAuthSubject(ctx context.Context) (string, bool)

GetAuthSubject gets the Authorization JWT subject from the context.

func WithAuthSubject

func WithAuthSubject(ctx context.Context, subject string) context.Context

WithAuthSubject adds the Authorization JWT subject to the context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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