mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-10-30 21:55:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			556 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			556 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package constants
 | |
| 
 | |
| // Claims are the OIDC supported claims (including preferd username for some reason)
 | |
| type Claims struct {
 | |
| 	Name              string   `json:"name"`
 | |
| 	Email             string   `json:"email"`
 | |
| 	PreferredUsername string   `json:"preferred_username"`
 | |
| 	Groups            []string `json:"groups"`
 | |
| }
 | |
| 
 | |
| // Version information
 | |
| var Version = "development"
 | |
| var CommitHash = "n/a"
 | |
| var BuildTimestamp = "n/a"
 | |
| 
 | |
| // Cookie names
 | |
| var SessionCookieName = "tinyauth-session"
 | |
| var CsrfCookieName = "tinyauth-csrf"
 | |
| var RedirectCookieName = "tinyauth-redirect"
 | 
