mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
ddbb21af90
This includes the preferred_username claim in the meta. Also uses the consts for all the applicable claims and scopes.
20 lines
402 B
Go
20 lines
402 B
Go
package oidc
|
|
|
|
// Scope strings.
|
|
const (
|
|
ScopeOpenID = "openid"
|
|
ScopeProfile = "profile"
|
|
ScopeEmail = "email"
|
|
ScopeGroups = "groups"
|
|
)
|
|
|
|
// Claim strings.
|
|
const (
|
|
ClaimGroups = "groups"
|
|
ClaimDisplayName = "name"
|
|
ClaimPreferredUsername = "preferred_username"
|
|
ClaimEmail = "email"
|
|
ClaimEmailVerified = "email_verified"
|
|
ClaimEmailAlts = "alt_emails"
|
|
)
|