AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Contains the parsed SAML response data following successful user authentication against a federated endpoint. We only parse out the data we need to support generation of temporary AWS credentials.
Namespace: Amazon.SecurityToken.SAML
Assembly: AWSSDK.SecurityToken.dll
Version: 3.x.y.z
public class SAMLAssertion
The SAMLAssertion type exposes the following members
Name | Type | Description | |
---|---|---|---|
![]() |
AssertionDocument | System.String |
The full SAML assertion parsed from the identity provider's response. |
![]() |
RoleSet | System.Collections.Generic.IDictionary<System.String, System.String> |
The collection of roles available to the authenticated user. he parsed friendly role name is used to key the entries. |
Name | Description | |
---|---|---|
![]() |
GetRoleCredentials(IAmazonSecurityTokenService, string, TimeSpan) |
Retrieves a set of temporary credentials for the specified role, valid for the specified timespan. If the SAML authentication data yield more than one role, a valid role name must be specified. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5