mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-06-13 23:10:18 +00:00
a0e74cd5f2
Co-authored-by: Claude <noreply@anthropic.com>
21 lines
450 B
Go
21 lines
450 B
Go
package controller
|
|
|
|
type FrontendLoginFor string
|
|
|
|
const (
|
|
FrontendLoginForOIDC FrontendLoginFor = "oidc"
|
|
FrontendLoginForApp FrontendLoginFor = "app"
|
|
)
|
|
|
|
type UnauthorizedQuery struct {
|
|
Username string `url:"username"`
|
|
Resource string `url:"resource"`
|
|
GroupErr bool `url:"groupErr"`
|
|
IP string `url:"ip"`
|
|
}
|
|
|
|
type RedirectQuery struct {
|
|
RedirectURI string `url:"redirect_uri"`
|
|
LoginFor FrontendLoginFor `url:"login_for"`
|
|
}
|