authentication

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package authentication re-exports reusable authentication contracts for clean services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithUser

func ContextWithUser[U any](ctx context.Context, u *U) context.Context

func UserFromContext

func UserFromContext[U any](ctx context.Context) *U

Types

type Authenticator

type Authenticator[U any] = base.Authenticator[U]

type UserInfo

type UserInfo = base.UserInfo

type UserResolver

type UserResolver[U any] = base.UserResolver[U]

Jump to

Keyboard shortcuts

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