auth

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SessionUsername = "username"

	TypeAPI Type = "api"
	TypeWeb Type = "web"

	TtlOverDays    = "JWT_TTL_OVER_DAYS"
	Blacklist      = "JWT_BLACKLIST"
	CheckBlacklist = "JWT_CHECK_BLACKLIST"
	TtlMinutes     = "JWT_TTL_MINUTES"
	SecretKey      = "JWT_SECRET_KEY"
	RefreshKey     = "JWT_REFRESH_KEY"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token struct {
	Access  string
	Refresh string
}

Token struct to describe tokens object.

type Type

type Type string

Directories

Path Synopsis
domain

Jump to

Keyboard shortcuts

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