OAuth client APIs
-
- UpdatedJan 30, 2025
- 1 minute read
- Yokohama
- Platform Security
The OAuth client API provides methods to request and revoke OAuth tokens.
The OAuth client provides these classes:
- GlideOAuthClient: Methods for requesting and revoking the refresh and access tokens.
- GlideOAuthClientRequest: Methods for handling client requests.
- GlideOAuthClientResponse: Methods for handling client responses.
- GlideOAuthToken: Methods for retrieving the access token and information about the access token.
You can also customize the OAuthUtil script include to intercept the request parameters and also parse the responses from external OAuth providers.
When using OAuth classes in a scoped script, use the sn_auth
namespace
identifier.