diff --git a/constants.go b/constants.go index 34a2aa0..8d681b1 100644 --- a/constants.go +++ b/constants.go @@ -1,8 +1,10 @@ package goauth const ( - GrantTypeAuthCode = "authorization_code" - GrantTypePassword = "password" + GrantTypeAuthorizationCode = "authorization_code" GrantTypeClientCredentials = "client_credentials" + GrantTypePassword = "password" GrantTypeRefreshToken = "refresh_token" + TokenBasic = "Basic" + TokenBearer = "Bearer" ) diff --git a/goauth.go b/goauth.go index f5e5674..b80df26 100644 --- a/goauth.go +++ b/goauth.go @@ -12,11 +12,8 @@ import ( ) const ( - VERSION = "0.2.0" - PATH = "github.com/grokify/goauth" - TokenBasic = "Basic" - TokenBearer = "Bearer" - GrantTypeAuthorizationCode = "code" + VERSION = "0.10" + PATH = "github.com/grokify/goauth" ) type AuthorizationType int