auth

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJWKSMapFromIAM

func GetJWKSMapFromIAM(ctx context.Context, keyType string) (map[string]any, error)

func GetSubjectFromUnverifiedJWTToken

func GetSubjectFromUnverifiedJWTToken(ctx context.Context, r *http.Request) (string, error)

GetSubjectFromUnverifiedJWTToken returns the subject from an unverified JWT token. This is a temp solution until I know where to get the public key to verify the token. This is used for parsing the session information in cookies from frontend only.

Types

This section is empty.

Jump to

Keyboard shortcuts

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