@loopback/authentication-jwt 0.12.5 → 0.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models/refresh-token.model.d.ts +1 -1
- package/dist/models/user-credentials.model.d.ts +1 -1
- package/dist/models/user.model.d.ts +1 -1
- package/dist/services/security.spec.enhancer.d.ts +1 -1
- package/dist/services/user.service.d.ts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +19 -19
|
@@ -8,4 +8,4 @@ export declare class RefreshToken extends Entity {
|
|
|
8
8
|
}
|
|
9
9
|
export interface RefreshTokenRelations {
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type RefereshTokenWithRelations = RefreshToken & RefreshTokenRelations;
|
|
@@ -8,4 +8,4 @@ export declare class UserCredentials extends Entity {
|
|
|
8
8
|
}
|
|
9
9
|
export interface UserCredentialsRelations {
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type UserCredentialsWithRelations = UserCredentials & UserCredentialsRelations;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OASEnhancer, OpenApiSpec, ReferenceObject, SecuritySchemeObject } from '@loopback/rest';
|
|
2
|
-
export
|
|
2
|
+
export type SecuritySchemeObjects = {
|
|
3
3
|
[securityScheme: string]: SecuritySchemeObject | ReferenceObject;
|
|
4
4
|
};
|
|
5
5
|
export declare const OPERATION_SECURITY_SPEC: {
|
|
@@ -6,7 +6,7 @@ import { UserRepository } from '../repositories';
|
|
|
6
6
|
* A pre-defined type for user credentials. It assumes a user logs in
|
|
7
7
|
* using the email and password. You can modify it if your app has different credential fields
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type Credentials = {
|
|
10
10
|
email: string;
|
|
11
11
|
password: string;
|
|
12
12
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { UserProfile } from '@loopback/security';
|
|
|
2
2
|
/**
|
|
3
3
|
* Describes the token object that returned by the refresh token service functions.
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export type TokenObject = {
|
|
6
6
|
accessToken: string;
|
|
7
7
|
expiresIn?: string | undefined;
|
|
8
8
|
refreshToken?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/authentication-jwt",
|
|
3
3
|
"description": "Extension for the prototype of JWT authentication",
|
|
4
|
-
"version": "0.12.
|
|
4
|
+
"version": "0.12.6",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"LoopBack",
|
|
7
7
|
"Authentication",
|
|
@@ -37,33 +37,33 @@
|
|
|
37
37
|
"!*/__tests__"
|
|
38
38
|
],
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@loopback/authentication": "^9.0.
|
|
41
|
-
"@loopback/core": "^4.0.
|
|
42
|
-
"@loopback/rest": "^12.0.
|
|
40
|
+
"@loopback/authentication": "^9.0.6",
|
|
41
|
+
"@loopback/core": "^4.0.6",
|
|
42
|
+
"@loopback/rest": "^12.0.6"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@loopback/security": "^0.8.
|
|
45
|
+
"@loopback/security": "^0.8.6",
|
|
46
46
|
"@types/bcryptjs": "2.4.2",
|
|
47
47
|
"bcryptjs": "^2.4.3",
|
|
48
48
|
"debug": "^4.3.4",
|
|
49
49
|
"jsonwebtoken": "^8.5.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@loopback/authentication": "^9.0.
|
|
53
|
-
"@loopback/boot": "^5.0.
|
|
54
|
-
"@loopback/build": "^9.0.
|
|
55
|
-
"@loopback/core": "^4.0.
|
|
56
|
-
"@loopback/eslint-config": "^13.0.
|
|
57
|
-
"@loopback/repository": "^5.1.
|
|
58
|
-
"@loopback/rest": "^12.0.
|
|
59
|
-
"@loopback/rest-explorer": "^5.0.
|
|
60
|
-
"@loopback/service-proxy": "^5.0.
|
|
61
|
-
"@loopback/testlab": "^5.0.
|
|
52
|
+
"@loopback/authentication": "^9.0.6",
|
|
53
|
+
"@loopback/boot": "^5.0.6",
|
|
54
|
+
"@loopback/build": "^9.0.6",
|
|
55
|
+
"@loopback/core": "^4.0.6",
|
|
56
|
+
"@loopback/eslint-config": "^13.0.6",
|
|
57
|
+
"@loopback/repository": "^5.1.1",
|
|
58
|
+
"@loopback/rest": "^12.0.6",
|
|
59
|
+
"@loopback/rest-explorer": "^5.0.6",
|
|
60
|
+
"@loopback/service-proxy": "^5.0.6",
|
|
61
|
+
"@loopback/testlab": "^5.0.6",
|
|
62
62
|
"@types/debug": "^4.1.7",
|
|
63
|
-
"@types/lodash": "^4.14.
|
|
64
|
-
"@types/node": "^14.18.
|
|
63
|
+
"@types/lodash": "^4.14.191",
|
|
64
|
+
"@types/node": "^14.18.34",
|
|
65
65
|
"lodash": "^4.17.21",
|
|
66
|
-
"typescript": "~4.
|
|
66
|
+
"typescript": "~4.9.4"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "709a5ecd1ffddeb02262cecabf7b663c7b4d7e47"
|
|
69
69
|
}
|