AccessToken – PB Docs 2019

AccessToken

PowerScript function

Description

Sends a request to get the token information.

Applies to

OAuthClient objects

Syntax

Argument

Description

objectname

A reference to the OAuthClient object.

tokenRequest

A reference to the TokenRequest object specifying the
request information.

tokenResponse

A reference to the TokenResponse object into which the
function returns the object.

Return value

Integer.

Returns the value as follows. If any argument’s value is null, the
method returns null.

1 — Success

-1 — A general error occurred

-2 — Invalid URL

-3 — Cannot connect to the Internet

-4 — Timeout

Examples

The following example shows the use of the AccessToken function to
get the token information:

See also

RequestResource


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