| Parameter | Type | Description | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
samlResponse |
string |
The SAML Response XML string (base64 encoded) to validate | ||||||||||||||||||||||
spConfig |
object |
The Service Provider configuration | ||||||||||||||||||||||
| ||||||||||||||||||||||||
idpConfig |
object |
The Identity Provider configuration | ||||||||||||||||||||||
| ||||||||||||||||||||||||
idpMetadataXml |
string |
The Identity Provider metadata XML string | ||||||||||||||||||||||
spMetadataXml |
string |
The Service Provider metadata XML string | ||||||||||||||||||||||
| Field | Type | Description |
|---|---|---|
valid |
boolean |
Whether the SAML response is valid |
responseId |
string |
The unique identifier of the SAML response |
issuer |
string |
The issuer of the SAML response |
status |
string |
The status code of the SAML response |
assertions |
integer |
The number of assertions in the SAML response |
responseError |
string |
The error message if SAML response validation failed |
validationErrors |
object |
A list of validation errors from the SAML response validation |
nameId |
string |
The NameID from the assertion subject, identifying the authenticated user |
nameIdFormat |
string |
The NameID format URI (e.g., urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress) |
authnContextClassRef |
string |
The authentication context class reference URI |
authnInstant |
string |
The timestamp of when the authentication occurred |
sessionIndex |
string |
The session index from the AuthnStatement |
inResponseTo |
string |
The InResponseTo attribute, correlating to the original AuthnRequest ID |
destination |
string |
The Destination URL the response was sent to |
issueInstant |
string |
The IssueInstant timestamp of the SAML response |
audience |
string |
The intended audience (Service Provider entity ID) |
notBefore |
string |
The NotBefore condition timestamp (validity window start) |
notOnOrAfter |
string |
The NotOnOrAfter condition timestamp (validity window end) |
attributes |
object |
A list of SAML attribute statements extracted from the assertion |
signatureValid |
boolean |
Whether the SAML response/assertion signature was verified successfully |
| Parameter | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
spConfig |
object |
The Service Provider configuration | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
idpConfig |
object |
The Identity Provider configuration | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
idpMetadataXml |
string |
The Identity Provider metadata XML string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
spMetadataXml |
string |
The Service Provider metadata XML string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
relayState |
string |
The relay state URL to redirect to after SAML authentication | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
config |
object |
Configuration for SAML response creation (signing, timestamps, status) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
samlResponse |
string |
The generated SAML Response as XML string, can be base64 encoded | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
config |
object |
The configuration used to generate the SAML response | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
responseError |
string |
The error message if SAML response creation failed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parameter | Type | Description | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
spConfig |
object |
The Service Provider configuration | ||||||||||||||||||||||
| ||||||||||||||||||||||||
| Field | Type | Description |
|---|---|---|
metadataXml |
string |
The generated SAML metadata XML string |
responseError |
string |
The error message if metadata generation failed |
| Parameter | Type | Description | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
idpConfig |
object |
The Identity Provider configuration | |||||||||||||||||||
| |||||||||||||||||||||
| Field | Type | Description |
|---|---|---|
metadataXml |
string |
The generated SAML metadata XML string |
responseError |
string |
The error message if metadata generation failed |
| Parameter | Type | Description | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
spConfig |
object |
The Service Provider configuration | ||||||||||||||||||||||
| ||||||||||||||||||||||||
spMetadataXml |
string |
The Service Provider metadata XML string | ||||||||||||||||||||||
config |
object |
Configuration for creation | ||||||||||||||||||||||
| ||||||||||||||||||||||||
| Field | Type | Description |
|---|---|---|
xml |
string |
The generated authn request XML string |
responseError |
string |
The error message if metadata generation failed |
| Parameter | Type | Description | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
spConfig |
object |
The Service Provider configuration | ||||||||||||||||||||||
| ||||||||||||||||||||||||
spMetadataXml |
string |
The Service Provider metadata XML string | ||||||||||||||||||||||
config |
object |
Configuration for creation | ||||||||||||||||||||||
| ||||||||||||||||||||||||
| Field | Type | Description |
|---|---|---|
xml |
string |
The generated authn request XML string |
responseError |
string |
The error message if metadata generation failed |
| Parameter | Type | Description | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
idpConfig |
object |
The Identity Provider configuration | |||||||||||||||||||
| |||||||||||||||||||||
idpMetadataXml |
string |
The Identity Provider metadata XML string | |||||||||||||||||||
config |
object |
Configuration for SAML logout response creation | |||||||||||||||||||
| |||||||||||||||||||||
| Field | Type | Description |
|---|---|---|
xml |
string |
The created LogoutResponse XML string |
responseError |
string |
The error message if processing failed |