mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-05-12 07:18:11 +00:00
feat: extract tags from tailscale node
This commit is contained in:
@@ -241,6 +241,7 @@ type TailscaleWhoisResponse struct {
|
||||
LoginName string
|
||||
DisplayName string
|
||||
NodeName string
|
||||
Tags []string
|
||||
}
|
||||
|
||||
type Apps struct {
|
||||
|
||||
@@ -59,6 +59,8 @@ type LDAPContext struct {
|
||||
type TailscaleContext struct {
|
||||
BaseContext
|
||||
UserID string
|
||||
// for future use
|
||||
Tags []string
|
||||
}
|
||||
|
||||
func (c *UserContext) IsAuthenticated() bool {
|
||||
|
||||
Reference in New Issue
Block a user