OAuth client APIs
concept brazil Updated Sep 10, 2026 1 min read c_OAuthClientAPIs.md
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.
30 lines · 1.7 KB
--- title: OAuth client APIs description: The OAuth client API provides methods to request and revoke OAuth tokens. locale: en-US canonical_url: https://www.servicenow.com/docs/r/platform-security/authentication/c\_OAuthClientAPIs.html release: brazil product: Authentication classification: authentication topic_type: concept last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [OAuth outbound, OAuth authentication, Authentication, Access Management] --- # OAuth client APIs The OAuth client API provides methods to request and revoke OAuth tokens. The OAuth client provides these classes: - [GlideOAuthClient](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/server-api-reference/c_GlideOAuthClient.md): Methods for requesting and revoking the refresh and access tokens. - [GlideOAuthClientRequest](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/server-api-reference/c_GlideOAuthClientRequest.md): Methods for handling client requests. - [GlideOAuthClientResponse](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/server-api-reference/c_GlideOAuthClientResponse.md): Methods for handling client responses. - [GlideOAuthToken](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/server-api-reference/c_GlideOAuthToken.md): 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.
| title | OAuth client APIs |
| description | The OAuth client API provides methods to request and revoke OAuth tokens. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/platform-security/authentication/c\_OAuthClientAPIs.html |
| release | brazil |
| product | Authentication |
| classification | authentication |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | OAuth outboundOAuth authenticationAuthenticationAccess Management |