The value provided by the MFA device, if MFA is required. If any policy requires the IAM user to submit an MFA code, specify this value. If
MFA authentication is required, and the user does not provide a code when requesting a set of temporary security credentials, the user will
receive an "access denied" response when requesting resources that require MFA authentication.
Constraints:
Namespace: Amazon.SecurityToken.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public String TokenCode { get; set; }
Property Value
Type: System.String
Type: System.String
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8