Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendParams ¶ added in v0.4.0
type BackendParams struct {
Name string `json:"name"`
Type string `json:"type"`
GroupParams TeamParams `json:"group_params,omitempty"`
}
func (*BackendParams) GetGroupParams ¶ added in v0.4.0
func (b *BackendParams) GetGroupParams() TeamParams
func (*BackendParams) GetName ¶ added in v0.4.0
func (b *BackendParams) GetName() string
func (*BackendParams) GetType ¶ added in v0.4.0
func (b *BackendParams) GetType() string
type LDAPUser ¶
type LDAPUser struct {
CN string `json:"cn,omitempty"`
DisplayName string `json:"displayName,omitempty"`
Email string `json:"mail,omitempty"`
SN string `json:"sn,omitempty"`
UID string `json:"uid,omitempty"`
}
func (*LDAPUser) GetDisplayName ¶
type Team ¶
type Team struct {
ID string `json:"id,omitempty"`
Name string `json:"name"`
Description string `json:"description,omitempty"`
Role string `json:"role,omitempty"`
TeamParams TeamParams `json:"team_params,omitempty"`
}
func (*Team) GetDescription ¶
type TeamParams ¶ added in v0.4.0
type User ¶
type User struct {
ID string `json:"id,omitempty"`
UserName string `json:"username,omitempty"`
Email string `json:"email,omitempty"`
FirstName string `json:"first_name,omitempty"`
LastName string `json:"last_name,omitempty"`
DisplayName string `json:"display_name,omitempty"`
Role string `json:"role,omitempty"`
}
func (*User) GetDisplayName ¶
func (*User) GetFirstName ¶
func (*User) GetLastName ¶
func (*User) GetUserName ¶
Click to show internal directories.
Click to hide internal directories.