mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Add AuthModule to token API * Add badge to UserSessions * Change idp label rendering * Render IdP label for User Profile page * Add i18n labels
18 lines
620 B
Go
18 lines
620 B
Go
package dtos
|
|
|
|
import "time"
|
|
|
|
type UserToken struct {
|
|
Id int64 `json:"id"`
|
|
IsActive bool `json:"isActive"`
|
|
ClientIp string `json:"clientIp"`
|
|
Device string `json:"device"`
|
|
OperatingSystem string `json:"os"`
|
|
OperatingSystemVersion string `json:"osVersion"`
|
|
Browser string `json:"browser"`
|
|
BrowserVersion string `json:"browserVersion"`
|
|
AuthModule string `json:"authModule"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
SeenAt time.Time `json:"seenAt"`
|
|
}
|