hep: go-hep.org/x/hep/xrootd/xrdproto/auth/unix Index | Files

package unix

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

Package unix contains the implementation of unix security provider.

Index

Package Files

lookupgid_unix.go unix.go

Variables

var Default auth.Auther

Default is an unix security provider configured from current username and group. If the credentials could not be correctly configured, Default will be nil.

var Type = [4]byte{'u', 'n', 'i', 'x'}

Type indicates that unix authentication protocol is used.

type Auth Uses

type Auth struct {
    User  string
    Group string
}

Auth implements unix security provider.

func (*Auth) Provider Uses

func (*Auth) Provider() string

Provider implements auth.Auther

func (*Auth) Request Uses

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

Request implements auth.Auther

Package unix imports 2 packages (graph) and is imported by 1 packages. Updated 2018-11-01. Refresh now. Tools for package owners.