feat: allow additional scopes

This commit is contained in:
Fabiennne 2020-10-28 13:34:26 +01:00
parent 6162e217e9
commit f47fb07c0f
2 changed files with 2 additions and 2 deletions

View file

@ -34,9 +34,9 @@ type Client interface {
AccessTokenType() AccessTokenType
IDTokenLifetime() time.Duration
DevMode() bool
AllowedScopes() []string
AssertAdditionalIdTokenScopes() bool
AssertAdditionalAccessTokenScopes() bool
IsScopeAllowed(scope string) bool
}
func ContainsResponseType(types []oidc.ResponseType, responseType oidc.ResponseType) bool {