auth

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenAuth added in v1.7.3

type TokenAuth struct {
	// contains filtered or unexported fields
}

TokenAuth token authentication (simple)

func NewTokenAuth added in v1.7.3

func NewTokenAuth() *TokenAuth

NewTokenAuth create a token authentication

func (*TokenAuth) Authenticate added in v1.7.3

func (a *TokenAuth) Authenticate(payload string) bool

Authenticate authentication client's credential

func (*TokenAuth) Init added in v1.7.3

func (a *TokenAuth) Init(args ...string)

Init authentication initialize arguments

func (*TokenAuth) Name added in v1.7.3

func (a *TokenAuth) Name() string

Name authentication name

Jump to

Keyboard shortcuts

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