@types/oauth2-server
Advanced tools
Comparing version 3.0.12 to 3.0.13
@@ -60,5 +60,5 @@ // Type definitions for Node OAuth2 Server 3.0 | ||
body?: any; | ||
headers?: { [key: string]: string; }; | ||
method?: string; | ||
query?: { [key: string]: string; }; | ||
headers?: { [key: string]: string; } | undefined; | ||
method?: string | undefined; | ||
query?: { [key: string]: string; } | undefined; | ||
@@ -89,4 +89,4 @@ /** | ||
body?: any; | ||
headers?: { [key: string]: string; }; | ||
status?: number; | ||
headers?: { [key: string]: string; } | undefined; | ||
status?: number | undefined; | ||
@@ -179,3 +179,3 @@ /** | ||
*/ | ||
scope?: string | string[]; | ||
scope?: string | string[] | undefined; | ||
@@ -185,3 +185,3 @@ /** | ||
*/ | ||
addAcceptedScopesHeader?: boolean; | ||
addAcceptedScopesHeader?: boolean | undefined; | ||
@@ -191,3 +191,3 @@ /** | ||
*/ | ||
addAuthorizedScopesHeader?: boolean; | ||
addAuthorizedScopesHeader?: boolean | undefined; | ||
@@ -197,3 +197,3 @@ /** | ||
*/ | ||
allowBearerTokensInQueryString?: boolean; | ||
allowBearerTokensInQueryString?: boolean | undefined; | ||
} | ||
@@ -205,3 +205,3 @@ | ||
*/ | ||
authenticateHandler?: {}; | ||
authenticateHandler?: {} | undefined; | ||
@@ -211,3 +211,3 @@ /** | ||
*/ | ||
allowEmptyState?: boolean; | ||
allowEmptyState?: boolean | undefined; | ||
@@ -217,3 +217,3 @@ /** | ||
*/ | ||
authorizationCodeLifetime?: number; | ||
authorizationCodeLifetime?: number | undefined; | ||
} | ||
@@ -225,3 +225,3 @@ | ||
*/ | ||
accessTokenLifetime?: number; | ||
accessTokenLifetime?: number | undefined; | ||
@@ -231,3 +231,3 @@ /** | ||
*/ | ||
refreshTokenLifetime?: number; | ||
refreshTokenLifetime?: number | undefined; | ||
@@ -237,3 +237,3 @@ /** | ||
*/ | ||
allowExtendedTokenAttributes?: boolean; | ||
allowExtendedTokenAttributes?: boolean | undefined; | ||
@@ -243,3 +243,3 @@ /** | ||
*/ | ||
requireClientAuthentication?: {}; | ||
requireClientAuthentication?: {} | undefined; | ||
@@ -249,3 +249,3 @@ /** | ||
*/ | ||
alwaysIssueNewRefreshToken?: boolean; | ||
alwaysIssueNewRefreshToken?: boolean | undefined; | ||
@@ -255,3 +255,3 @@ /** | ||
*/ | ||
extendedGrantTypes?: { [key: string]: typeof AbstractGrantType }; | ||
extendedGrantTypes?: { [key: string]: typeof AbstractGrantType } | undefined; | ||
} | ||
@@ -414,6 +414,6 @@ | ||
id: string; | ||
redirectUris?: string | string[]; | ||
redirectUris?: string | string[] | undefined; | ||
grants: string | string[]; | ||
accessTokenLifetime?: number; | ||
refreshTokenLifetime?: number; | ||
accessTokenLifetime?: number | undefined; | ||
refreshTokenLifetime?: number | undefined; | ||
[key: string]: any; | ||
@@ -429,3 +429,3 @@ } | ||
redirectUri: string; | ||
scope?: string | string[]; | ||
scope?: string | string[] | undefined; | ||
client: Client; | ||
@@ -441,6 +441,6 @@ user: User; | ||
accessToken: string; | ||
accessTokenExpiresAt?: Date; | ||
refreshToken?: string; | ||
refreshTokenExpiresAt?: Date; | ||
scope?: string | string[]; | ||
accessTokenExpiresAt?: Date | undefined; | ||
refreshToken?: string | undefined; | ||
refreshTokenExpiresAt?: Date | undefined; | ||
scope?: string | string[] | undefined; | ||
client: Client; | ||
@@ -456,4 +456,4 @@ user: User; | ||
refreshToken: string; | ||
refreshTokenExpiresAt?: Date; | ||
scope?: string | string[]; | ||
refreshTokenExpiresAt?: Date | undefined; | ||
scope?: string | string[] | undefined; | ||
client: Client; | ||
@@ -460,0 +460,0 @@ user: User; |
{ | ||
"name": "@types/oauth2-server", | ||
"version": "3.0.12", | ||
"version": "3.0.13", | ||
"description": "TypeScript definitions for Node OAuth2 Server", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/oauth2-server", | ||
"license": "MIT", | ||
@@ -29,3 +30,3 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -40,4 +41,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "6d39571869a8b8ab98827ace48e96abd94908154aef63174ca4e9db43634b1fb", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "f715bb4f2d166117ef78f58270233cc5da4f8630249cdc769572c95d7de885ee", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/oauth2-server | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/oauth2-server. | ||
Additional Details | ||
* Last updated: Tue, 24 Sep 2019 23:05:08 GMT | ||
* Dependencies: @types/express | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 18:51:43 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Robbie Van Gorkom <https://github.com/vangorra>, Charles Irick <https://github.com/cirick>, Daniel Fischer <https://github.com/d-fischer>, and Vitor Santos <https://github.com/rvitorsantos>. | ||
These definitions were written by [ Robbie Van Gorkom](https://github.com/vangorra), [Charles Irick](https://github.com/cirick), [Daniel Fischer](https://github.com/d-fischer), and [Vitor Santos](https://github.com/rvitorsantos). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
18481
0