feat: add clock skew and option to put userinfo (profile, email, phone, address) into id_token
This commit is contained in:
parent
13b14734b9
commit
24120554e5
6 changed files with 61 additions and 13 deletions
|
@ -37,6 +37,8 @@ type Client interface {
|
|||
RestrictAdditionalIdTokenScopes() func(scopes []string) []string
|
||||
RestrictAdditionalAccessTokenScopes() func(scopes []string) []string
|
||||
IsScopeAllowed(scope string) bool
|
||||
UserInfoInIDToken() bool
|
||||
ClockSkew() time.Duration
|
||||
}
|
||||
|
||||
func ContainsResponseType(types []oidc.ResponseType, responseType oidc.ResponseType) bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue