cleanup unused GrantType method
This commit is contained in:
parent
a49ad31735
commit
c6f6a8800d
1 changed files with 0 additions and 10 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue