Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientsModel ¶
type ClientsModel struct {
}
type ErrorModel ¶
type IndexModel ¶
type IndexModel struct {
Urls []UrlInfo
Clients []*configuration.ClientConfig
}
type UserLoginModel ¶
type UserLoginModel struct {
Error string
AuthRequestID string
Users []UserOption
}
type UserOption ¶
type UserView ¶ added in v0.2.0
UserView is a user prepared for display, with its claims flattened into an ordered list of name/value rows (including any custom claims).
type UsersModel ¶
type UsersModel struct {
Users []UserView
}
func NewUsersModel ¶ added in v0.2.0
func NewUsersModel(users []*configuration.User) UsersModel
NewUsersModel builds the users view model from the configured users, flattening each user's claims into ordered rows so they can be rendered without the UI needing to know about every individual claim field.