pam

package module
v0.0.0-...-662d895 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: MIT Imports: 3 Imported by: 2

README

go-pam

Go bindings for libpam authentication modules

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handle

type Handle struct {
	Ptr unsafe.Pointer
}

Handle is a handle type to hang the PAM methods off of.

func (Handle) GetUser

func (hdl Handle) GetUser() (string, error)

GetUser maps to the pam_get_user call, and returns the user that we're trying to auth as.

Jump to

Keyboard shortcuts

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