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.
Helper class to perform SAML authentication negotiation for an identity provider and relying party combination. Yields a SAMLAssertion instance that can be used to retrieve temporary, auto-refreshing AWS credentials.
Namespace: Amazon.SecurityToken.SAML
Assembly: AWSSDK.SecurityToken.dll
Version: 3.x.y.z
public class SAMLAuthenticationController
The SAMLAuthenticationController type exposes the following members
Name | Description | |
---|---|---|
SAMLAuthenticationController() |
Instantiates a controller instance configured to use the built-in AD FS classes to authenticate and parse the responses. |
|
SAMLAuthenticationController(WebProxy) |
Instantiates a controller instance configured to use the built-in AD FS classes to authenticate and parse the responses. The supplied proxy settings will be used in the HTTPS calls to the authentication endpoint. |
|
SAMLAuthenticationController(IAuthenticationController, IAuthenticationResponseParser, WebProxy) |
Instantiates the controller to use the specified instances to perform authentication and response parsing. |
Name | Type | Description | |
---|---|---|---|
AuthenticationController | Amazon.SecurityToken.SAML.IAuthenticationController |
Handler that will be called to perform the authentication process to a defined endpoint. |
|
ProxySettings | System.Net.WebProxy |
Proxy details if required for communication with the authentication endpoint. |
|
ResponseParser | Amazon.SecurityToken.SAML.IAuthenticationResponseParser |
Handler that will be called to parse the response from a succesful authentication request. |
Name | Description | |
---|---|---|
GetSAMLAssertion(string, ICredentials, string) |
Authenticates the specified network credentials with a provider endpoint and returns the SAML assertion data from which temporary AWS credentials can be obtained. |
|
GetSAMLAssertion(Uri, ICredentials, string) |
Authenticates the specified network credentials with a provider endpoint and returns the SAML assertion data from which temporary AWS credentials can be obtained. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5