@zlspace/z-auth 1.0.6 → 1.0.7
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/README.md +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -92,7 +92,7 @@ sendVerificationEmail(email: string)
|
|
|
92
92
|
verifyEmail(token: string, tenantId:number)
|
|
93
93
|
updateUserById(userId: string, data: I_UpdateUserByIdRequest) //{data: email, contactNumber, recoveryEmail, recoveryNumber, isBlocked, roleId; all optional}
|
|
94
94
|
authLogin(token: string) //idtoken returned from google, role id optional
|
|
95
|
-
authRegister(token: string, roleId:
|
|
95
|
+
authRegister(token: string, roleId: number[]) //access_token returned from facebook, role id optional
|
|
96
96
|
|
|
97
97
|
```
|
|
98
98
|
### Role Service
|
package/dist/index.d.mts
CHANGED
|
@@ -116,7 +116,7 @@ declare class UserService {
|
|
|
116
116
|
getAccessToken(): Promise<any>;
|
|
117
117
|
getRefreshToken(): Promise<any>;
|
|
118
118
|
authLogin(token: string): Promise<any>;
|
|
119
|
-
authRegister(token: string, roleId:
|
|
119
|
+
authRegister(token: string, roleId: number[]): Promise<any>;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
declare class RoleService {
|
package/dist/index.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ declare class UserService {
|
|
|
116
116
|
getAccessToken(): Promise<any>;
|
|
117
117
|
getRefreshToken(): Promise<any>;
|
|
118
118
|
authLogin(token: string): Promise<any>;
|
|
119
|
-
authRegister(token: string, roleId:
|
|
119
|
+
authRegister(token: string, roleId: number[]): Promise<any>;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
declare class RoleService {
|