Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetExpiresIn – PB Docs 2021 – PowerBuilder Library

GetExpiresIn – PB Docs 2021

GetExpiresIn

PowerScript function

Description

Gets the lifetime of the access token returned by the authorization
server.

Applies to

TokenResponse object

Syntax

Argument

Description

objectname

A reference to the TokenResponse object in which you want
to get the lifetime of the access token.

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:

See also

GetAccessToken

GetBody

GetHeader

GetHeaders

GetRefreshToken

GetStatusCode

GetStatusText

GetTokenError

GetTokenType


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x