GetSessionTokenRequest.TokenCode Property

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
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:Length6 - 6Pattern[\d]*

Namespace: Amazon.SecurityToken.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public String TokenCode { get; set; }
Property Value
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