apikey

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const APIKeyHeader = "x-api-key"

Variables

This section is empty.

Functions

This section is empty.

Types

type RazeeApiKeyAuthClient

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

This client is used for authentication using OAuth e.g. GitHub/GitHub Enterprise

func NewClient

func NewClient(apiKey string) (*RazeeApiKeyAuthClient, error)

func (*RazeeApiKeyAuthClient) Authenticate

func (r *RazeeApiKeyAuthClient) Authenticate(request *http.Request) error

Jump to

Keyboard shortcuts

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