This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2021-11-05 09:37:30 +00:00
|
|
|
package flags
|
|
|
|
|
2022-05-08 14:48:53 +00:00
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
|
|
|
|
"goauthentik.io/api/v3"
|
|
|
|
)
|
2021-11-05 09:37:30 +00:00
|
|
|
|
2023-06-29 14:57:11 +00:00
|
|
|
const InvalidUserPK = -1
|
|
|
|
|
2021-11-05 09:37:30 +00:00
|
|
|
type UserFlags struct {
|
|
|
|
UserInfo *api.User
|
|
|
|
UserPk int32
|
|
|
|
CanSearch bool
|
2022-05-08 14:48:53 +00:00
|
|
|
Session *http.Cookie
|
2021-11-05 09:37:30 +00:00
|
|
|
}
|