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

GetTokenError – PB Docs 2021 – PowerBuilder Library

GetTokenError – PB Docs 2021

GetTokenError

PowerScript function

Description

Gets the error information returned by the authorization server if
the request privilege grant failed.

Applies to

TokenResponse object

Syntax

Argument

Description

objectname

A reference to the TokenResponse object in which you want
to get the error information.

type

A string specifying the error type.

description

A string specifying the error description.

uri

A string specifying the error URI.

state

A string specifying the error state.

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 GetTokenError function to
get the error information:

See also

GetAccessToken

GetBody

GetExpiresIn

GetHeader

GetHeaders

GetRefreshToken

GetStatusCode

GetStatusText

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