preshared

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyAuthn

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

KeyAuthn - Authentication Keys Structure

func NewKeyAuthn

func NewKeyAuthn(_ context.Context, cfg config.Preshared) (*KeyAuthn, error)

NewKeyAuthn - Create New Authenticated Keys

func (*KeyAuthn) Authenticate

func (a *KeyAuthn) Authenticate(ctx context.Context) error

Authenticate - Checking whether any API request contain keys

Jump to

Keyboard shortcuts

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