Documentation ¶
Index ¶
Constants ¶
View Source
const ( TokenUrl = "api/v2/initialToken" UserUrl = "api/v2/users" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authentication ¶
type Authentication struct { Token string User ResponseUser Entity models.User }
type Configuration ¶
type Configuration struct{}
func (*Configuration) Get ¶
func (this *Configuration) Get() config.ConfigContainer
func (*Configuration) Key ¶
func (this *Configuration) Key(key string) map[string]interface{}
type RequestToken ¶
type RequestUser ¶
type RequestUser struct {
ServiceSecret string `json:"serviceSecret"`
}
type ResponseToken ¶
type ResponseToken struct {
Token string `json:"token"`
}
type ResponseUser ¶
type ResponseUser struct { UserId string `json:"userId"` EmployeeNumber string `json:"employeeNumber"` DisplayName string `json:"displayName"` Mail string `json:"mail"` Domain string `json:"domain"` Title string `json:"title"` Department string `json:"department"` Team string `json:"team"` ManagerUsername string `json:"managerUsername"` }
Click to show internal directories.
Click to hide internal directories.