---
sourceDocument: Référence API Brésil
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/fr-FR/api-reference

 Release :

    - brazil

ft:locale :

    - fr-FR

ft:publication_title :

    - Référence API Brésil

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# GlideOAuthClientResponse : étendu et global

# GlideOAuthClientResponse : étendu et global {#ariaid-title1}

Rversion finale: Brazil  
Mis à jour 10 sept. 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute de lecture  
L'API GlideOAuthClientResponse fournit des méthodes de gestion des réponses des clients OAuth.

Vous pouvez utiliser cette API dans les scripts globaux et à portée. Dans les scripts à portée, utilisez l'identificateur `d'espace` de noms sn_auth.

## GlideOAuthClientResponse : getBody() {#ariaid-title2}

Récupère toutes les informations sur la réponse, y compris les informations sur l'instance.
{#r_GlideOAuthClientResponseGetBody__table_qc4_bzf_cr__entry__3}

| Nom | Type | Description |
|-|-|-|
| aucun |   |   |
[Tableau 1. Paramètres]

{#r_GlideOAuthClientResponseGetBody__table_qc4_bzf_cr} {#r_GlideOAuthClientResponseGetBody__table_rc4_bzf_cr__entry__2}

| Type | Description |
|-|-|
| Chaîne | Informations sur la réponse. |
[Tableau 2. Renvoie]

{#r_GlideOAuthClientResponseGetBody__table_rc4_bzf_cr}

## GlideOAuthClientResponse : getContentType() {#ariaid-title3}

Récupère l'en-tête de contenu de la réponse HTTP à partir d'un fournisseur OAuth externe.
{#r_GOACRP-GetContentType__table_qc4_bzf_cr__entry__3}

| Nom | Type | Description |
|-|-|-|
| aucun |   |   |
[Tableau 3. Paramètres]

{#r_GOACRP-GetContentType__table_qc4_bzf_cr} {#r_GOACRP-GetContentType__table_rc4_bzf_cr__entry__2}

| Type | Description |
|-|-|
| Chaîne | En-tête de la réponse HTTP. |
[Tableau 4. Renvoie]

{#r_GOACRP-GetContentType__table_rc4_bzf_cr}

## GlideOAuthClientResponse : getErrorMessage() {#ariaid-title4}

Récupère le message d'erreur en cas d'échec de l'authentification.
{#r_GOACRP-GetErrorMessage__table_qc4_bzf_cr__entry__3}

| Nom | Type | Description |
|-|-|-|
| aucun |   |   |
[Tableau 5. Paramètres]

{#r_GOACRP-GetErrorMessage__table_qc4_bzf_cr} {#r_GOACRP-GetErrorMessage__table_rc4_bzf_cr__entry__2}

| Type | Description |
|-|-|
| Chaîne | Le message d'erreur. |
[Tableau 6. Renvoie]

{#r_GOACRP-GetErrorMessage__table_rc4_bzf_cr}

## GlideOAuthClientResponse : getResponseCode() {#ariaid-title5}

Récupère le code de réponse HTTP à partir du fournisseur OAuth externe.
{#r_GOACRP-GetResponseCode__table_qc4_bzf_cr__entry__3}

| Nom | Type | Description |
|-|-|-|
| aucun |   |   |
[Tableau 7. Paramètres]

{#r_GOACRP-GetResponseCode__table_qc4_bzf_cr} {#r_GOACRP-GetResponseCode__table_rc4_bzf_cr__entry__2}

| Type | Description |
|-|-|
| Chaîne | Code de réponse HTTP. |
[Tableau 8. Renvoie]

{#r_GOACRP-GetResponseCode__table_rc4_bzf_cr}

## GlideOAuthClientResponse : getResponseParameters() {#ariaid-title6}

Récupère le message d'erreur en cas d'échec de l'authentification.
{#r_GOACRP-GetResponseParameters__table_qc4_bzf_cr__entry__3}

| Nom | Type | Description |
|-|-|-|
| aucun |   |   |
[Tableau 9. Paramètres]

{#r_GOACRP-GetResponseParameters__table_qc4_bzf_cr} {#r_GOACRP-GetResponseParameters__table_rc4_bzf_cr__entry__2}

| Type | Description |
|-|-|
| Chaîne de mappage | Le contenu de la réponse. |
[Tableau 10. Renvoie]

{#r_GOACRP-GetResponseParameters__table_rc4_bzf_cr}

## GlideOAuthClientResponse : getToken() {#ariaid-title7}

Récupère le jeton d'actualisation.
{#r_GlideOAuthClientResponseGetToken__table_qc4_bzf_cr__entry__3}

| Nom | Type | Description |
|-|-|-|
| aucun |   |   |
[Tableau 11. Paramètres]

{#r_GlideOAuthClientResponseGetToken__table_qc4_bzf_cr} {#r_GlideOAuthClientResponseGetToken__table_rc4_bzf_cr__entry__2}

| Type | Description |
|-|-|
| GlideOAuthToken | Le jeton d'actualisation. |
[Tableau 12. Renvoie]

{#r_GlideOAuthClientResponseGetToken__table_rc4_bzf_cr}

