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.

State class passed on callback to demand user credentials when authentication needs to be performed using a non-default identity.

Inheritance Hierarchy


Namespace: Amazon.Runtime
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z


public class CredentialRequestCallbackArgs

The CredentialRequestCallbackArgs type exposes the following members



Public Property CustomState System.Object

Any custom state that was registered with the callback.

Public Property PreviousAuthenticationFailed System.Boolean

Set if the callback was due to a failed authentication attempt. If false we are beginning to obtain or refresh credentials.

Public Property ProfileName System.String

If the current authentication callback is associated with a credential profile, this can be used to give the user some context on the request for his/her authentication.

Public Property UserIdentity System.String

Contains the user identity that the user should supply a password for. The user can ignore if they choose and return credentials for an alternate account.

Version Information

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