cleanup unused GrantType method

This commit is contained in:
Tim Möhlmann 2023-09-25 20:07:08 +03:00
parent a49ad31735
commit c6f6a8800d

View file

@ -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,
}