---
title: SAML 2.0 scripting API
description: The SAML 2.0 scripts have access to either legacy or next-generation common bindings depending on the script engine for the script type. Common bindings include httpclient, logger, and realm.
component: pingoneaic
page_id: pingoneaic:am-scripting:saml2-scripting-api
canonical_url: https://docs.pingidentity.com/pingoneaic/am-scripting/saml2-scripting-api.html
---

# SAML 2.0 scripting API

The SAML 2.0 scripts have access to either legacy or next-generation [common bindings](script-bindings.html) depending on the script engine for the script type. Common bindings include `httpclient`, `logger`, and `realm`.

Refer to the individual SAML 2.0 script types for specific bindings:

* [IDP attribute mapper](saml2-idp-attribute-mapper-api.html)

* [IDP adapter](saml2-idp-adapter-api.html)

* [SP account mapper](saml2-sp-account-mapper-api.html)

* [SP adapter](saml2-sp-adapter-api.html)

* [NameID mapper](saml2-nameid-mapper-api.html)

|   |                                                                                                                                                                              |
| - | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | To access information about SAML 2.0 flows, add a Scripted Decision node to your journey and [query the `samlApplication` binding](scripting-api-node.html#samlapp-binding). |
