uaac

package
v0.0.49 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2017 License: Apache-2.0 Imports: 4 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 {
	Host      string
	UUACToken string
}

DefaultUAACManager -

func (*DefaultUAACManager) CreateExternalUser added in v0.0.42

func (m *DefaultUAACManager) CreateExternalUser(userName, userEmail, externalID, origin string) error

CreateExternalUser -

func (*DefaultUAACManager) ListUsers

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

ListUsers -

type Manager

type Manager interface {
	ListUsers() (users map[string]string, err error)
	CreateExternalUser(userName, userEmail, externalID, origin 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 -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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