Documentation ¶
Index ¶
- func NewRubicon(r *http.Request) ident.Ident
- type IdmUser
- type User
- func (u User) GetAspect() string
- func (u User) GetDisplay() string
- func (u User) GetGroups() []string
- func (u User) GetIdentity() string
- func (u User) GetMeta() map[string]string
- func (u User) GetRoles() []string
- func (u User) HasGroup(g ...string) bool
- func (u User) HasRole(r ...string) bool
- func (u User) IsActive() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IdmUser ¶
type IdmUser struct { UserID int `json:"userId"` UserName string `json:"userName"` Email string `json:"email"` FirstName string `json:"firstName"` LastName string `json:"lastName"` }
IdmUser is the responce from rubicon api
Click to show internal directories.
Click to hide internal directories.