package host

import "go-hep.org/x/hep/xrootd/xrdproto/auth/host"

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

Index

Variables

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.

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

Type indicates the host authentication protocol is used.

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

Source Files

host.go

Version
v0.37.0 (latest)
Published
May 20, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
1 day ago

Tools for package owners.