auth

package
v0.0.0-...-cd4da8b Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIKey

type APIKey string

APIKey implements authentication using API Key on Basic Auth. Expected Base64

func NewAPIKey

func NewAPIKey(apiKey string) APIKey

NewAPIKey encodes api key with base64 and returns APIKey for woodpecker

func (APIKey) AuthenticateRequest

func (a APIKey) AuthenticateRequest(req runtime.ClientRequest, reg strfmt.Registry) error

AuthenticateRequest implements runtime.ClientAuthInfoWriter

Jump to

Keyboard shortcuts

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