@atproto/oauth-provider 0.1.2-rc.0 → 0.1.2-rc.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -24,7 +24,7 @@ export interface TokenStore {
|
|
24
24
|
rotateToken(tokenId: TokenId, newTokenId: TokenId, newRefreshToken: RefreshToken, newData: NewTokenData): Awaitable<void>;
|
25
25
|
/**
|
26
26
|
* Find a token by its refresh token. Note that previous refresh tokens
|
27
|
-
* should also return the token. The data model is
|
27
|
+
* should also return the token. The data model is responsible for storing
|
28
28
|
* old refresh tokens when a new one is issued.
|
29
29
|
*/
|
30
30
|
findTokenByRefreshToken(refreshToken: RefreshToken): Awaitable<null | TokenInfo>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atproto/oauth-provider",
|
3
|
-
"version": "0.1.2-rc.
|
3
|
+
"version": "0.1.2-rc.1",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Generic OAuth2 and OpenID Connect provider for Node.js. Currently only supports features needed for Atproto.",
|
6
6
|
"keywords": [
|
@@ -39,13 +39,13 @@
|
|
39
39
|
"psl": "^1.9.0",
|
40
40
|
"zod": "^3.23.8",
|
41
41
|
"@atproto-labs/fetch": "0.1.0",
|
42
|
+
"@atproto-labs/fetch-node": "0.1.0",
|
43
|
+
"@atproto-labs/pipe": "0.1.0",
|
42
44
|
"@atproto-labs/simple-store": "0.1.1",
|
43
|
-
"@atproto-labs/simple-store-memory": "0.1.1",
|
44
|
-
"@atproto/jwk": "0.1.1",
|
45
45
|
"@atproto/jwk-jose": "0.1.2-rc.0",
|
46
|
-
"@atproto/oauth-types": "0.1.
|
47
|
-
"@atproto
|
48
|
-
"@atproto-labs/
|
46
|
+
"@atproto/oauth-types": "0.1.2-rc.0",
|
47
|
+
"@atproto/jwk": "0.1.1",
|
48
|
+
"@atproto-labs/simple-store-memory": "0.1.1"
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
51
51
|
"@rollup/plugin-commonjs": "^25.0.7",
|
package/src/token/token-store.ts
CHANGED
@@ -45,7 +45,7 @@ export interface TokenStore {
|
|
45
45
|
|
46
46
|
/**
|
47
47
|
* Find a token by its refresh token. Note that previous refresh tokens
|
48
|
-
* should also return the token. The data model is
|
48
|
+
* should also return the token. The data model is responsible for storing
|
49
49
|
* old refresh tokens when a new one is issued.
|
50
50
|
*/
|
51
51
|
findTokenByRefreshToken(
|