-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7728ab5
commit 9fe912b
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
/* | ||
This function will be run when a user logs in with this provider. | ||
The return object must contain a string id, this string id will be used to login with an existing | ||
or create a new user. This is NOT the App Services user id, but it is the id used to identify which user has | ||
been created or logged in with. | ||
If an error is thrown within the function the login will fail. | ||
The default function provided below will always result in failure. | ||
*/ | ||
|
||
exports = (loginPayload) => { | ||
return; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,9 @@ | |
{ | ||
"name": "resetFunc", | ||
"private": false | ||
}, | ||
{ | ||
"name": "authFunc", | ||
"private": true | ||
} | ||
] |