authmock

package
v0.0.0-...-b0d25e1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthMock

type AuthMock struct {
	User        string
	Secret      []byte
	AuthName    string
	AuthRealm   string
	AuthContext auth.AuthContext
}

func (*AuthMock) Authenticate

func (am *AuthMock) Authenticate(pctx *auth.AuthContext, creds *auth.Credentials) (*auth.AuthContext, bool)

func (*AuthMock) CredentialType

func (am *AuthMock) CredentialType() string

func (*AuthMock) Name

func (am *AuthMock) Name() string

func (*AuthMock) Realm

func (am *AuthMock) Realm() string

func (*AuthMock) Type

func (am *AuthMock) Type() string

Jump to

Keyboard shortcuts

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