AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.SecurityToken.SAML.SAMLAssertion

Namespace: Amazon.SecurityToken.SAML
Assembly: AWSSDK.SecurityToken.dll
Version: 3.x.y.z

Syntax

C#
public class SAMLAssertion

The SAMLAssertion type exposes the following members

Properties

NameTypeDescription
Public Property AssertionDocument System.String

The full SAML assertion parsed from the identity provider's response.

Public Property 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.

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method 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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5