uaa

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

type Email struct {
	Value   string `json:"value"`
	Primary bool   `json:"primary"`
}

type Name

type Name struct {
	FamilyName string `json:"familyName"`
	GivenName  string `json:"givenName"`
}

type PhoneNumber

type PhoneNumber struct {
	Value string `json:"value"`
}

type Sdk

type Sdk struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *uaa.Config, logger *log.Logger) (*Sdk, error)

func (*Sdk) CreateUser

func (s *Sdk) CreateUser(user *User) error

type User

type User struct {
	Id           string        `json:"id"`
	Username     string        `json:"userName"`
	Password     string        `json:"password"`
	Name         Name          `json:"name"`
	PhoneNumbers []PhoneNumber `json:"phoneNumbers"`
	Emails       []Email       `json:"emails"`
	Active       bool          `json:"active"`
}

Jump to

Keyboard shortcuts

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