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

SetAccessToken – PB Docs 2019 – PowerBuilder Library

SetAccessToken – PB Docs 2019

SetAccessToken

PowerScript function

Description

Sets the access token.

Applies to

OAuthRequest objects

Syntax

Argument

Description

objectname

A reference to the OAuthRequest object in which you want
to set the access token.

accessToken

A string specifying the access token.

Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs. If any
argument’s value is null, the method returns null.

Examples

The following example shows the use of the SetAccessToken function
to set the access token:

See also

ClearHeaders

GetBody

GetHeader

GetHeaders

SetBody

SetHeader

SetHeaders


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