GetTokenError
PowerScript function
Description
Gets the error information returned by the authorization server if
the request privilege grant failed.
Applies to
Syntax
|
1 |
objectname.GetTokenError ( string type, string description, string uri, string state ) |
|
Argument |
Description |
|---|---|
|
objectname |
A reference to the TokenResponse object in which you want |
|
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:
|
1 2 3 4 5 |
int li_return string ls_type, ls_description, ls_uri, ls_state TokenResponse lnv_tokenResponse li_return = lnv_tokenResponse.gettokenerror(ls_type, ls_description, ls_uri, ls_state) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest