diff --git a/docs/examples/javascript/auth/login.md b/docs/examples/javascript/auth/login.md index dd94e3f00..2254a3bc0 100644 --- a/docs/examples/javascript/auth/login.md +++ b/docs/examples/javascript/auth/login.md @@ -4,9 +4,13 @@ sdk .setProject('') ; +/** + * Will redirect to relevant page + * depends on the operation result + */ sdk.auth.login( 'email@example.com', 'password', 'http://example.com/success', // required for JS SDK 'http://example.com/failure' // required for JS SDK -); // Will redirect to relevant page depends on the operation result \ No newline at end of file +); \ No newline at end of file diff --git a/docs/examples/javascript/auth/oauth.md b/docs/examples/javascript/auth/oauth.md index acf657486..cda610502 100644 --- a/docs/examples/javascript/auth/oauth.md +++ b/docs/examples/javascript/auth/oauth.md @@ -4,8 +4,12 @@ sdk .setProject('') ; +/** + * Will redirect to relevant page + * depends on the operation result + */ sdk.auth.oauth( 'facebook', 'http://example.com/success', 'http://example.com/failure' -); // Will redirect to relevant page depends on the operation result \ No newline at end of file +); \ No newline at end of file diff --git a/docs/examples/javascript/auth/register.md b/docs/examples/javascript/auth/register.md index 74a3e6ebe..b0943d7e5 100644 --- a/docs/examples/javascript/auth/register.md +++ b/docs/examples/javascript/auth/register.md @@ -4,10 +4,14 @@ sdk .setProject('') ; +/** + * Will redirect to relevant page + * depends on the operation result + */ sdk.auth.register( 'email@example.com', 'password', 'http://example.com/confirm', 'http://example.com/success', // required for JS SDK 'http://example.com/failure' // required for JS SDK -); // Will redirect to relevant page depends on the operation result \ No newline at end of file +); \ No newline at end of file