You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/index.js
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,3 +46,12 @@ module.exports = AV;
46
46
* @property {AV.User} [user] Specify a user to excute the operation as. The user must have _sessionToken. This option will be ignored if sessionToken option provided.
47
47
* @property {Boolean} [useMasterKey] Indicates whether masterKey is used for this operation. Only valid when masterKey is set.
48
48
*/
49
+
50
+
/**
51
+
* Options to controll the authentication for an SMS operation
52
+
* @typedef {Object} SMSAuthOptions
53
+
* @property {String} [sessionToken] Specify a user to excute the operation as.
54
+
* @property {AV.User} [user] Specify a user to excute the operation as. The user must have _sessionToken. This option will be ignored if sessionToken option provided.
55
+
* @property {Boolean} [useMasterKey] Indicates whether masterKey is used for this operation. Only valid when masterKey is set.
56
+
* @property {String} [validateToken] a validate token returned by {@link AV.Cloud.verifyCaptcha}
0 commit comments