uaac

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultUAACManager

type DefaultUAACManager struct {
	SystemDomain string
	UUACToken    string
}

DefaultUAACManager -

func (*DefaultUAACManager) CreateUser

func (m *DefaultUAACManager) CreateUser(userName, userEmail, userDN string) (err error)

CreateUser -

func (*DefaultUAACManager) ListUsers

func (m *DefaultUAACManager) ListUsers() (users map[string]string, err error)

ListUsers -

type Manager

type Manager interface {
	ListUsers() (users map[string]string, err error)
	CreateUser(userName, userEmail, userDN string) (err error)
}

Manager -

func NewManager

func NewManager(systemDomain, uuacToken string) (mgr Manager)

NewManager -

type User

type User struct {
	ID   string `json:"id"`
	Name string `json:"userName"`
}

User -

type UserList

type UserList struct {
	Users []User `json:"resources"`
}

UserList -

Jump to

Keyboard shortcuts

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