---
sourceDocument: Yokohama Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/platform-security

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# OAuth client APIs

# OAuth client APIs {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The OAuth client API provides methods to request and revoke OAuth tokens.  
The OAuth client provides these classes:

* [GlideOAuthClient](https://www.servicenow.com/docs/access?context=c_GlideOAuthClient&version=yokohama&pubname=yokohama-api-reference&ft:locale=en-US): Methods for requesting and revoking the refresh and access tokens.
* [GlideOAuthClientRequest](https://www.servicenow.com/docs/access?context=c_GlideOAuthClientRequest&version=yokohama&pubname=yokohama-api-reference&ft:locale=en-US): Methods for handling client requests.
* [GlideOAuthClientResponse](https://www.servicenow.com/docs/access?context=c_GlideOAuthClientResponse&version=yokohama&pubname=yokohama-api-reference&ft:locale=en-US): Methods for handling client responses.
* [GlideOAuthToken](https://www.servicenow.com/docs/access?context=c_GlideOAuthToken&version=yokohama&pubname=yokohama-api-reference&ft:locale=en-US): Methods for retrieving the access token and information about the access token.
{#c_OAuthClientAPIs__ul_pqj_dzj_wv}

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.

