GetExpiresIn
PowerScript function
Description
Gets the lifetime of the access token returned by the authorization
server.
Applies to
Syntax
|
1 |
objectname.GetExpiresIn ( ) |
|
Argument |
Description |
|---|---|
|
objectname |
A reference to the TokenResponse object in which you want |
Return value
Long. Values are:
>0 — Expiration time of the access token in seconds;
0 — Never expires.
Examples
The following example shows the use of the GetExpiresIn function to
get the lifetime of the access token:
|
1 2 3 4 |
long ll_expiresin TokenResponse lnv_TokenResponse ll_expiresin = lnv_TokenResponse.getexpiresin() |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest