unix

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package unix contains the implementation of unix security provider.

Index

Constants

This section is empty.

Variables

View Source
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.

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

Type indicates that unix authentication protocol is used.

Functions

This section is empty.

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

Jump to

Keyboard shortcuts

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