diff --git a/pkg/oidc/token_request.go b/pkg/oidc/token_request.go index 06b9c29..330c0c2 100644 --- a/pkg/oidc/token_request.go +++ b/pkg/oidc/token_request.go @@ -50,16 +50,6 @@ const ( JWTTokenType TokenType = "urn:ietf:params:oauth:token-type:jwt" ) -func (t GrantType) IsSupported() bool { - for _, gt := range AllGrantTypes { - if t == gt { - return true - } - } - - return false -} - var AllTokenTypes = []TokenType{ AccessTokenType, RefreshTokenType, IDTokenType, JWTTokenType, }