auth

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2021 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authentication

type Authentication struct {
	AppID  string
	AppKey string
}

func NewAuthentication

func NewAuthentication(id, key string) *Authentication

func (Authentication) AuthenticateRequest

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

type Transport

type Transport struct {
	AppID  string
	AppKey string

	Transport http.RoundTripper
}

func NewTransport

func NewTransport(id, key string) *Transport

func (*Transport) RoundTrip

func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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