idp

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Idp

type Idp struct {
	Logger *zap.Logger
}

func (*Idp) AuthenticateToken

func (s *Idp) AuthenticateToken(message *Message, reply *string) (err error)

func (*Idp) FindUser

func (s *Idp) FindUser(message *Message, reply *User) error

func (*Idp) Healthcheck

func (s *Idp) Healthcheck(requestID string, reply *bool) error

type Message

type Message struct {
	RequestID string
	Value     string
	Metadata  map[string]string
}

type User

type User struct {
	Ident string
	Name  string
	Pass  string
}

func (User) ID

func (u User) ID() string

func (User) String

func (u User) String() string

Jump to

Keyboard shortcuts

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