Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.

Scoped OAuth APIs

Log in to subscribe to topics and get notified when content changes.

Scoped OAuth APIs

OAuth supports application scoping by providing access to all OAuth methods in the available OAuth classes using the sn_auth namespace identifier.

For example, the following code accesses the requestToken:

var oAuthClient = new sn_auth.GlideOAuthClient( );
var tokenResponse = oAuthClient.requestTokenByRequest('TestClient',text );

In a global script omit the sn_auth namespace identifier.