auth

package
v0.390.0-next.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAuthenticated added in v0.368.0

func IsAuthenticated(ctx context.Context) bool

func WithIdentity added in v0.368.0

func WithIdentity(ctx context.Context, identity Identity) context.Context

Types

type Identity added in v0.368.0

type Identity map[string]any

func GetIdentity added in v0.368.0

func GetIdentity(ctx context.Context) (Identity, error)

Jump to

Keyboard shortcuts

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