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
* @param {number} options.ttl - amount of seconds for token to work, 0 works indefinately
18
-
* @param {bool} [options.multi=false] - if true, can be used many times until expired
18
+
* @param {boolean} [options.multi=false] - if true, can be used many times until expired
19
19
* @param {string} options.token - token to store, if not provided, will be generated
20
20
* @param {string} options.owner - id of the user who created this token
21
21
* @param {string} options.app - list of the apps for which token was created
22
22
* @param {string} options.endpoint - regexp of endpoint(any string - is used as substring,to mach exact ^{yourpath}$)
23
23
* @param {string} options.tryReuse - if true - tries to find not expired token with same parameters. If not founds cretes new token. If found - updates token expiration time to new one and returns token.
24
-
* @param {bool} [options.temporary=false] - If logged in with temporary token. Doesn't kill other sessions on logout.
24
+
* @param {boolean} [options.temporary=false] - If logged in with temporary token. Doesn't kill other sessions on logout.
25
25
* @param {function} options.callback - function called when saving was completed or errored, providing error object as first param and token string as second
0 commit comments