auth

package
v0.0.0-...-4d6605a Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

Types

type Verifier

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

func NewVerifier

func NewVerifier(config VerifierConfig) (*Verifier, error)

func (*Verifier) Verify

func (v *Verifier) Verify(ctx context.Context, req *texupd.UpdateI) (bool, error)

type VerifierConfig

type VerifierConfig struct {
	Permission permission.Gateway
	Redigo     redigo.Interface
}

Jump to

Keyboard shortcuts

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