GetAccessToken
PowerScript function
Description
Gets the access token returned by the authorization server.
Applies to
Syntax
|
1 |
objectname.GetAccessToken ( ) |
|
Argument |
Description |
|---|---|
|
objectname |
A reference to the TokenResponse object in which you want |
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:
|
1 2 3 4 |
string ls_accesstoken TokenResponse lnv_TokenResponse ls_accesstoken = lnv_TokenResponse.getaccesstoken() |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest