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.
State class passed on callback to demand user credentials when authentication is performed using a non-default identity.
Namespace: Amazon.SecurityToken.SAML
Assembly: AWSSDK.SecurityToken.dll
Version: 3.x.y.z
[Obsolete("This class is obsolete and will be removed in a future release. Please update your code to use the Amazon.Runtime.CredentialRequestCallbackArgs class instead.")]
public class CredentialCallbackArgs
The CredentialCallbackArgs type exposes the following members
Name | Description | |
---|---|---|
CredentialCallbackArgs() |
Name | Type | Description | |
---|---|---|---|
CustomState | System.Object |
Any custom state that was registered with the callback. |
|
PreviousAuthenticationFailed | System.Boolean |
Set if the callback was due to a failed authentication attempt. If false we are beginning to obtain or refresh credentials. |
|
UserIdentity | System.String |
Contains the user identity that the user should supply a password for. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5