updates
This commit is contained in:
parent
a8c5820a70
commit
2589c96b27
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Login with Github Function
|
||||
* ===============================================================================
|
||||
* @description This function uses google identity api to login a user with datasquirel
|
||||
* @description This function uses github api to login a user with datasquirel
|
||||
*
|
||||
* @async
|
||||
*
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "datasquirel",
|
||||
"version": "1.1.94",
|
||||
"version": "1.1.96",
|
||||
"description": "Cloud-based SQL data management tool",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -23,17 +23,18 @@ const encrypt = require("../functions/encrypt");
|
||||
* username: string,
|
||||
* email: string,
|
||||
* phone: string,
|
||||
* social_id: [string],
|
||||
* social_id?: string,
|
||||
* image: string,
|
||||
* image_thumbnail: string,
|
||||
* verification_status: [number=0],
|
||||
* social_login: [number],
|
||||
* social_platform: [string],
|
||||
* verification_status?: number,
|
||||
* social_login?: number,
|
||||
* social_platform?: string,
|
||||
* csrf_k: string,
|
||||
* more_data: [string],
|
||||
* more_data?: string,
|
||||
* logged_in_status: boolean,
|
||||
* date: string,
|
||||
* }} payload - Payload
|
||||
* }} payload - Payload of the response
|
||||
* @property {string} [msg] - An optional message
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -45,8 +46,10 @@ const encrypt = require("../functions/encrypt");
|
||||
* @param {String} params.key - FULL ACCESS API Key
|
||||
* @param {String} params.database - Target Database
|
||||
* @param {{
|
||||
* email: string,
|
||||
* password: string
|
||||
* email?: string,
|
||||
* username?: string,
|
||||
* password: string,
|
||||
* additionalFields: any,
|
||||
* }} params.payload Login Email/Username and Password
|
||||
* @param {Object} params.response - Http response object
|
||||
* @param {String} params.encryptionKey - Encryption Key
|
||||
|
Loading…
Reference in New Issue
Block a user