mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-11-04 08:05:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			556 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			556 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package constants
 | 
						|
 | 
						|
// Claims are the OIDC supported claims (prefered username is included for convinience)
 | 
						|
type Claims struct {
 | 
						|
	Name              string `json:"name"`
 | 
						|
	Email             string `json:"email"`
 | 
						|
	PreferredUsername string `json:"preferred_username"`
 | 
						|
	Groups            any    `json:"groups"`
 | 
						|
}
 | 
						|
 | 
						|
// Version information
 | 
						|
var Version = "development"
 | 
						|
var CommitHash = "n/a"
 | 
						|
var BuildTimestamp = "n/a"
 | 
						|
 | 
						|
// Base cookie names
 | 
						|
var SessionCookieName = "tinyauth-session"
 | 
						|
var CsrfCookieName = "tinyauth-csrf"
 | 
						|
var RedirectCookieName = "tinyauth-redirect"
 |