Supporting OAuth 2.0 Authorization Server

PowerBuilder supports getting secured data from the OAuth 2.0 authorization server. The Bearer access token is supported, and the following three grant types are supported: Client Credentials Grant, Resource Owner Password Credentials Grant, and Extension Grant. TokenRequest and TokenResponse objects get or set the access token request and response. OAuthRequest and ResourceResponse objects get or set the protected resource request and response. OAuthClient objects provides interfaces for obtaining the access token and protected resources.

PowerBuilder supports the Basic HTTP authentication theme (see Example 2 (using HTTPClient)), and does not support the following HTTP authentication themes: Digest, NTLM, Passport, and Negotiate.

For more information, see

the section called “TokenRequest object” in Objects and Controls

the section called “TokenResponse object” in Objects and Controls

the section called “OAuthRequest object” in Objects and Controls

the section called “ResourceResponse object” in Objects and Controls

the section called “HTTPClient object” in Objects and Controls