GetAccessToken – PB Docs 2019

GetAccessToken

PowerScript function

Description

Gets the access token returned by the authorization server.

Applies to

TokenResponse objects

Syntax

Argument

Description

objectname

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

Return value

String.

Returns the access token if it succeeds and empty string (“”) if an
error occurs.

Examples

The following example shows the use of the GetAccessToken function
to get the access token:

See also

GetBody

GetExpiresIn

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