fix: restrict additional scopes
This commit is contained in:
parent
6ba72be7ea
commit
f48d6f8361
4 changed files with 24 additions and 1 deletions
|
@ -34,6 +34,8 @@ type Client interface {
|
|||
AccessTokenType() AccessTokenType
|
||||
IDTokenLifetime() time.Duration
|
||||
DevMode() bool
|
||||
//AssertAdditionalIdTokenScopes() bool
|
||||
//AssertAdditionalAccessTokenScopes() bool
|
||||
RestrictAdditionalIdTokenScopes() func(scopes []string) []string
|
||||
RestrictAdditionalAccessTokenScopes() func(scopes []string) []string
|
||||
IsScopeAllowed(scope string) bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue