servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListNGClientservoy sSummary12%30%58%height: 30px;3Methods SummaryCreate a DELETE request.Create a GET request for a resource.Create a POST request.Create a PUT request.Creates a JSOAuthRequest for with the enum of RequestType (GET, PUT, DELETE, etc) for a resource url.This is quick method by executing a GET request and returning right away the OAuthResponse So it would be the same as executeRequest(createRequest(RequestType.Method to execute requests that are made, and configured by #createRequest(Verb,String)Returns the number of seconds left until the access token expires.Get the access token currently set on the service.Return the token lifetime in seconds.Return the refresh token.Checks if the access token is expired.Obtains a new access token if the OAuth api supports it.voidConfigure the oauth service with an access token using the scope that was initially set when creating the service.voidConfigure the oauth service with an access token for the specified scope.functionservoy sDetail2100%height:30px2Methods DetailscreateDeleteRequestname
createDeleteRequest(resourceURL)
dessIndent
Create a DELETE request.
prs
Parameters
sIndentresourceURLthe url of the resource to be deletedret
Returns
sIndentthe request objectclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowcreateGetRequestname
createGetRequest(resourceURL)
dessIndent
Create a GET request for a resource.
prs
Parameters
sIndentresourceURLthe url of the resource which you want to getret
This is quick method by executing a GET request and returning right away the OAuthResponse
So it would be the same as executeRequest(createRequest(RequestType.GET, url))
prs
Parameters
sIndentresourceURL;ret
Returns
sIndentthe OAuthResponse objectclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowexecuteRequestname
executeRequest(request)
dessIndent
Method to execute requests that are made, and configured by #createRequest(Verb,String)
prs
Parameters
sIndentrequestthe JSOAuthRequest object that was created by #createRequest(Verb,String)ret