fix: Add db scanner methods for SpaceDelimitedArray (#194)

This commit is contained in:
David Sharnoff 2022-07-20 06:36:17 -07:00 committed by GitHub
parent 8dd5c87faa
commit 5fb36bf4c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 76 additions and 0 deletions

View file

@ -32,6 +32,11 @@ const (
ClientAssertionTypeJWTAssertion = "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"
)
var AllGrantTypes = []GrantType{
GrantTypeCode, GrantTypeRefreshToken, GrantTypeClientCredentials,
GrantTypeBearer, GrantTypeTokenExchange, GrantTypeImplicit,
ClientAssertionTypeJWTAssertion}
type GrantType string
type TokenRequest interface {