# info.description
Two Factor Authentication is a verification method using two different types of information. For example, a user can prove his/her identity using a password and an email verification link. Generally, email or sms is used alongside the username and password to cross-check and confirm the user’s identity.

# paths./2FactorAuthentication/TwoFaCommand/Send2FactorAuthenticationCod.post.summary
Send two factor authentication code before accessing portal.

# paths./2FactorAuthentication/TwoFaCommand/Send2FactorAuthenticationCod.post.description
param name="command"
            
             command.PersonId : Person ID.
             
             command.Language : Language of the sms or email sent to the person. 
             
             command.ContextId : Context ID.
             
             command.TwoFactorId : Two factor authentication ID.
             
             command.Medium : The medium in which the two factor authentication code will be sent- email or sms. If not provided, the default option is sms.

# paths./2FactorAuthentication/TwoFaCommand/Send2FactorAuthenticationCod.post.summary
Send two factor authentication code to user after accessing portal.

# paths./2FactorAuthentication/TwoFaCommand/Send2FactorAuthenticationCod.post.description
param name="command" : List of recipients and additional information: 
            
            command.UserId : User ID.
            
            command.Language : Language of SMS or email.
            
            command.ContextId : Context ID of the two factor authentication.
            
            command.TwoFactorId : Two factor authentication ID.
            
            command.Medium : The medium by which two factor authentication code will be sent- email or sms. If not provided, the default option is sms.

# paths./2FactorAuthentication/TwoFaQuery/VerifyTwoFactorAuthenticationC.post.summary
Verify two factor authentication code using a query request.

# paths./2FactorAuthentication/TwoFaQuery/VerifyTwoFactorAuthenticationC.post.description
<param name="query"></param> List of recipients and additional information:
            
            command. UserId : User ID.
            
            command. TwoFactorId: Two factor authentication ID.
            
            command. Success: Check if two factor authentication is successful.
            
            ErrorMessage: Error message.