---
title: Backchannel callbacks
description: Nodes use these callbacks to recover additional information from the request, such as a header or a certificate.
component: pingoneaic
page_id: pingoneaic:am-authentication:callbacks-backchannel
canonical_url: https://docs.pingidentity.com/pingoneaic/am-authentication/callbacks-backchannel.html
keywords: ["Authentication", "Callbacks", "REST API"]
page_aliases: ["authentication-guide:authn-backchannel-callbacks.adoc", "authn-backchannel-callbacks.adoc"]
section_ids:
  httpcallback: HttpCallback
  languagecallback: LanguageCallback
  scripttextoutputcallback: ScriptTextOutputCallback
  x509certificatecallback: X509CertificateCallback
---

# Backchannel callbacks

Nodes use these callbacks to recover additional information from the request, such as a header or a certificate.

## HttpCallback

Accesses user credentials sent in the `Authorization` header:

```
Authorization: Basic bXlDbGllbnQ6Zm9yZ2Vyb2Nr
```

Class to import in scripts: `com.sun.identity.authentication.spi.HttpCallback`

Learn more in [HttpCallback](../_attachments/apidocs/com/sun/identity/authentication/spi/HttpCallback.html).

## LanguageCallback

Retrieves the locale from the request header for localizing text presented to the user.

Class to import in scripts: `javax.security.auth.callback.LanguageCallback`

Learn more in [LanguageCallback](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/security/auth/callback/LanguageCallback.html).

## ScriptTextOutputCallback

Inserts a script into the page presented to the user; for example, to collect data about the user's environment.

Class to import in scripts: `com.sun.identity.authentication.callbacks.ScriptTextOutputCallback`

Learn more in [ScriptTextOutputCallback](../_attachments/apidocs/com/sun/identity/authentication/callbacks/ScriptTextOutputCallback.html).

## X509CertificateCallback

Retrieves an X.509 certificate, for example, from a header.

Class to import in scripts: `com.sun.identity.authentication.spi.X509CertificateCallback`

Learn more in [X509CertificateCallback](../_attachments/apidocs/com/sun/identity/authentication/spi/X509CertificateCallback.html).
