ExtractTokenFromHTTPRequest(
req comm.HttpServiceRequest)
RETURNS STRING
|
Return the OAuth access token. |
FetchOpenIDMetadata(
timeout INTEGER,
idp STRING )
RETURNS OAuthAPI.OpenIDMetadataType
|
Fetch metadata from the Identity Provider at the URL
provided. |
RetrievePasswordToken(
timeout INTEGER,
TokenServiceURL STRING,
usr, STRING,
pass STRING,
scope STRING )
RETURNS ( STRING, INTEGER )
|
Return the OAuth service access token via user name and
password. |
RetrieveServiceToken(
timeout INTEGER,
TokenServiceURL STRING,
client_id STRING,
secret_id STRING,
scope STRING )
RETURNS STRING, INTEGER
|
Return the OAuth service access token via client app
credentials. |
RetrievePasswordTokenForNativeApp(
timeout INTEGER,
TokenServiceURL STRING,
username STRING,
password STRING,
client_id STRING,
client_secret STRING,
scope STRING)
RETURNS OpenIdCResponseType
|
Returns the OAuth service access token via user credentials
(username/password) and client credentials (client_id/secret_id). A refresh token allows the access
token to be refreshed when it expires. |