auth

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("authenticator", fx.Provide(newModule))

Module

Functions

This section is empty.

Types

type Authenticator

type Authenticator interface {
	GenerateJWT(string, string, string) (string, error)
}

Authenticator

type Claims

type Claims struct {
	jwt.RegisteredClaims
}

type Params

type Params struct {
	fx.In

	Cfg *setup.Authenticator
}

Params

type Result

type Result struct {
	fx.Out

	Auth Authenticator
}

Result

Jump to

Keyboard shortcuts

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