token

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: GPL-3.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnexpectedTokenType = errors.New("unexpected token type")
)

Functions

This section is empty.

Types

type Token

type Token string

Token represents a token type

var (
	// RefreshToken represents a refresh token
	RefreshToken Token = "refresh_token"

	// AccessToken represents an access token
	AccessToken Token = "access_token"
)

func (Token) Abbreviation added in v0.4.2

func (t Token) Abbreviation() (string, error)

Abbreviation returns the abbreviation of the token

func (Token) String

func (t Token) String() string

String returns the string representation of the token

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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