1d24fef3
auth: s/OAuth2Token/BearerToken/g
This also makes some tweaks to the organization of the crypto module to make it easier for us to add more keys in the future, which will be necessary for the internal token redesign.
Drew DeVault <sir@cmpwn.com> — 2021-07-29 08:01:59 UTC
Commit 1d24fef3e29dc2c200e47d83f0eb7dddc1a23afe —
view raw patch
Parent(s):
39cd24bd
| File | Status | + | − |
|---|---|---|---|
auth/bearer_test.go
|
A | +101 | |
auth/middleware.go
|
M | +8 | -8 |
auth/token.go → auth/bearer.go
|
R | +11 | -11 |
auth/token_test.go
|
D | -101 | |
cmd/token/main.go
|
M | +1 | -1 |
crypto/crypto.go
|
M | +14 | -14 |
crypto/crypto_test.go
|
M | +4 | -4 |