package unix

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

Package unix contains the implementation of unix security provider.

Index

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.

Types

type Auth

type Auth struct {
	User  string
	Group string
}

Auth implements unix 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

lookupgid_unix.go unix.go

Version
v0.36.0 (latest)
Published
Nov 15, 2024
Platform
linux/amd64
Imports
2 packages
Last checked
1 day ago

Tools for package owners.