auth

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth interface {
	Guard(name string) Auth
	Parse(token string) error
	User(user interface{}) error
	Login(user interface{}) (token string, err error)
	LoginUsingID(id interface{}) (token string, err error)
	Refresh() (token string, err error)
	Logout() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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