authcontext

package
v0.11.8 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthnUser

func GetAuthnUser(ctx context.Context) sdktypes.User

Get the authenticated user.

func SetAuthnUser

func SetAuthnUser(ctx context.Context, user sdktypes.User) context.Context

This function is used to set the authenticated user in 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