update for url tokens
This commit is contained in:
parent
85565eb1d6
commit
1c6c65d532
|
@ -39,6 +39,13 @@ GET(ZRTN,ZTOKEN,NOKILL) ; RETRIEVE A STORED ARRAY INDEXED BY ZTOKEN
|
||||||
I $G(NOKILL)'=1 K ^TMP("C0E","TOKEN",ZTOKEN) ; DELETE
|
I $G(NOKILL)'=1 K ^TMP("C0E","TOKEN",ZTOKEN) ; DELETE
|
||||||
Q
|
Q
|
||||||
;
|
;
|
||||||
|
URLTOKEN() ; EXTRINSIC WHICH RETRIEVES THE TOKEN PASSED ON THE URL
|
||||||
|
; IN EWD EXAMPLE: https://example.com/ewd/myApp/index.ewd&token="12345"
|
||||||
|
N token
|
||||||
|
S token=""
|
||||||
|
s token=$$getRequestValue^%zewdAPI("token",sessid)
|
||||||
|
Q token
|
||||||
|
;
|
||||||
cbTestMethod(prefix,seedValue,lastSeedValue,optionNo,options)
|
cbTestMethod(prefix,seedValue,lastSeedValue,optionNo,options)
|
||||||
;
|
;
|
||||||
n maxNo,noFound
|
n maxNo,noFound
|
||||||
|
|
Loading…
Reference in New Issue