auth

package
v0.0.0-...-2f38a6e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractAccessToken

func ExtractAccessToken(authHeader, authType string) (string, error)

func Validate

func Validate(ctx context.Context, sqlcDB *client.Client, token, envID string) (bool, error)

func ValidateAccessToken

func ValidateAccessToken(ctx context.Context, db *client.Client, accessToken string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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