Skip to content

Commit

Permalink
enhance: oauth2: constants
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Jan 11, 2022
1 parent bed2b4b commit 8fad5b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 4 additions & 2 deletions constants.go
Original file line number Diff line number Diff line change
@@ -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"
)
7 changes: 2 additions & 5 deletions goauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fad5b1

Please sign in to comment.