@genezio/auth
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -53,5 +53,4 @@ /** | ||
* | ||
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which | ||
* is true if the creation was successful, false otherwise. | ||
*/ | ||
* @returns {Promise<UserLoginResponse>} An object containing the user's information. | ||
* */ | ||
register(email: string, password: string, name?: string): Promise<UserLoginResponse>; | ||
@@ -64,5 +63,4 @@ /** | ||
* @param {string} password The user's password. | ||
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which | ||
* is true if the login was successful, false otherwise. | ||
*/ | ||
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token. | ||
* */ | ||
login(email: string, password: string): Promise<UserLoginResponse>; | ||
@@ -89,3 +87,3 @@ /** | ||
* @param {string} email | ||
* @returns {Promise<ResendEmailConfirmationResponse>} An object with a boolean property "success" indicating success or failure. | ||
* @returns void. If the method did not throw, the operation was successful. | ||
*/ | ||
@@ -99,3 +97,3 @@ resendEmailConfirmation(email: string): Promise<void>; | ||
* @param {string} password - The new password. | ||
* @returns {Promise<ResetPasswordConfirmResponse>} An object with a boolean property "success" indicating success or failure. | ||
* @returns void. If the method did not throw, the operation was successful. | ||
*/ | ||
@@ -108,4 +106,3 @@ resetPasswordConfirmation(token: string, password: string): Promise<void>; | ||
* @param {string} googleToken The user's Google token. | ||
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which | ||
* is true if the login was successful, false otherwise. | ||
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token. | ||
*/ | ||
@@ -112,0 +109,0 @@ googleRegistration(googleToken: string): Promise<UserLoginResponse>; |
@@ -86,5 +86,4 @@ "use strict"; | ||
* | ||
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which | ||
* is true if the creation was successful, false otherwise. | ||
*/ | ||
* @returns {Promise<UserLoginResponse>} An object containing the user's information. | ||
* */ | ||
async register(email, password, name) { | ||
@@ -102,5 +101,4 @@ if (!this.remote) { | ||
* @param {string} password The user's password. | ||
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which | ||
* is true if the login was successful, false otherwise. | ||
*/ | ||
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token. | ||
* */ | ||
async login(email, password) { | ||
@@ -144,3 +142,3 @@ if (!this.remote) { | ||
* @param {string} email | ||
* @returns {Promise<ResendEmailConfirmationResponse>} An object with a boolean property "success" indicating success or failure. | ||
* @returns void. If the method did not throw, the operation was successful. | ||
*/ | ||
@@ -159,3 +157,3 @@ async resendEmailConfirmation(email) { | ||
* @param {string} password - The new password. | ||
* @returns {Promise<ResetPasswordConfirmResponse>} An object with a boolean property "success" indicating success or failure. | ||
* @returns void. If the method did not throw, the operation was successful. | ||
*/ | ||
@@ -173,4 +171,3 @@ async resetPasswordConfirmation(token, password) { | ||
* @param {string} googleToken The user's Google token. | ||
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which | ||
* is true if the login was successful, false otherwise. | ||
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token. | ||
*/ | ||
@@ -177,0 +174,0 @@ async googleRegistration(googleToken) { |
@@ -11,4 +11,2 @@ /** | ||
verified: boolean; | ||
tokenConfirmEmail: string; | ||
tokenReset: string; | ||
name?: string; | ||
@@ -15,0 +13,0 @@ }; |
@@ -53,5 +53,4 @@ /** | ||
* | ||
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which | ||
* is true if the creation was successful, false otherwise. | ||
*/ | ||
* @returns {Promise<UserLoginResponse>} An object containing the user's information. | ||
* */ | ||
register(email: string, password: string, name?: string): Promise<UserLoginResponse>; | ||
@@ -64,5 +63,4 @@ /** | ||
* @param {string} password The user's password. | ||
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which | ||
* is true if the login was successful, false otherwise. | ||
*/ | ||
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token. | ||
* */ | ||
login(email: string, password: string): Promise<UserLoginResponse>; | ||
@@ -89,3 +87,3 @@ /** | ||
* @param {string} email | ||
* @returns {Promise<ResendEmailConfirmationResponse>} An object with a boolean property "success" indicating success or failure. | ||
* @returns void. If the method did not throw, the operation was successful. | ||
*/ | ||
@@ -99,3 +97,3 @@ resendEmailConfirmation(email: string): Promise<void>; | ||
* @param {string} password - The new password. | ||
* @returns {Promise<ResetPasswordConfirmResponse>} An object with a boolean property "success" indicating success or failure. | ||
* @returns void. If the method did not throw, the operation was successful. | ||
*/ | ||
@@ -108,4 +106,3 @@ resetPasswordConfirmation(token: string, password: string): Promise<void>; | ||
* @param {string} googleToken The user's Google token. | ||
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which | ||
* is true if the login was successful, false otherwise. | ||
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token. | ||
*/ | ||
@@ -112,0 +109,0 @@ googleRegistration(googleToken: string): Promise<UserLoginResponse>; |
@@ -80,5 +80,4 @@ /** | ||
* | ||
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which | ||
* is true if the creation was successful, false otherwise. | ||
*/ | ||
* @returns {Promise<UserLoginResponse>} An object containing the user's information. | ||
* */ | ||
async register(email, password, name) { | ||
@@ -96,5 +95,4 @@ if (!this.remote) { | ||
* @param {string} password The user's password. | ||
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which | ||
* is true if the login was successful, false otherwise. | ||
*/ | ||
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token. | ||
* */ | ||
async login(email, password) { | ||
@@ -138,3 +136,3 @@ if (!this.remote) { | ||
* @param {string} email | ||
* @returns {Promise<ResendEmailConfirmationResponse>} An object with a boolean property "success" indicating success or failure. | ||
* @returns void. If the method did not throw, the operation was successful. | ||
*/ | ||
@@ -153,3 +151,3 @@ async resendEmailConfirmation(email) { | ||
* @param {string} password - The new password. | ||
* @returns {Promise<ResetPasswordConfirmResponse>} An object with a boolean property "success" indicating success or failure. | ||
* @returns void. If the method did not throw, the operation was successful. | ||
*/ | ||
@@ -167,4 +165,3 @@ async resetPasswordConfirmation(token, password) { | ||
* @param {string} googleToken The user's Google token. | ||
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which | ||
* is true if the login was successful, false otherwise. | ||
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token. | ||
*/ | ||
@@ -171,0 +168,0 @@ async googleRegistration(googleToken) { |
@@ -11,4 +11,2 @@ /** | ||
verified: boolean; | ||
tokenConfirmEmail: string; | ||
tokenReset: string; | ||
name?: string; | ||
@@ -15,0 +13,0 @@ }; |
{ | ||
"name": "@genezio/auth", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "SDK for accessing genezio authentication system.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
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
42267
1046