host

package
v0.29.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package host contains the implementation for the "host" security provider.

Index

Constants

This section is empty.

Variables

View Source
var Default auth.Auther

Default is a host security provider configured from the current local host. If the credentials could not be correctly configured, Default will be nil.

View Source
var Type = [4]byte{'h', 'o', 's', 't'}

Type indicates the host authentication protocol is used.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Hostname string
}

Auth implements the host security provider.

func (*Auth) Provider

func (*Auth) Provider() string

Provider implements auth.Auther

func (*Auth) Request

func (a *Auth) Request(params []string) (*auth.Request, error)

Request implements auth.Auther

Jump to

Keyboard shortcuts

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