LoginTransactionDetails

public LoginTransactionDetails LoginTransactionDetails(OffsetDateTime transactionDateTime, String transactionId, LoginTransactionDetails.AuthenticationType authenticationType, Boolean successfulLoginFlag, CurrentUserSession currentUserSession, LoginTransactionDetails.AuthenticationSubType authenticationSubType, LoginTransactionDetails.FailedLoginReason failedLoginReason)

Parameters

authenticationType

The type of login authentication method used by a user. For authentication_type ensure attributes mentioned in dictionary below are set to corresponding values only. authentication_type is an enum value with the following mapping with authentication_sub_type attribute: * authentication_type : authentication_sub_type * ------------------------------------------------------------------------------- * CREDENTIALS : EMAIL * CREDENTIALS : * PASSWORD_RESET : EMAIL * SINGLE_SIGN_ON : EMAIL * MULTI_FACTOR_AUTHENTICATION : EMAIL * MULTI_FACTOR_AUTHENTICATION : PHONE * SOCIAL : GOOGLE * SOCIAL : FACEBOOK * SOCIAL : APPLE

successfulLoginFlag

Identifies if a login attempt by a user was successful or not.

authenticationSubType

The sub type of login authentication method used by a user. For authentication_sub_type ensure attributes mentioned in dictionary below are set to corresponding values only. authentication_sub_type is an enum value with the following mapping with authentication_type attribute: * authentication_sub_type : authentication_type * ------------------------------------------------------------------------------- * EMAIL : CREDENTIALS * EMAIL : PASSWORD_RESET * EMAIL : SINGLE_SIGN_ON * EMAIL : MULTI_FACTOR_AUTHENTICATION * PHONE : MULTI_FACTOR_AUTHENTICATION * GOOGLE : SOCIAL * FACEBOOK : SOCIAL * APPLE : SOCIAL * : CREDENTIALS

failedLoginReason

The reason for the failed login attempt in the Partner''s system, related to user failure or Partner''s system failure. - INVALID_CREDENTIALS - Applicable if the user provided invalid login credentials for this login attempt. - ACCOUNT_NOT_FOUND - Applicable if the user attempted to login to an account that doesn't exist. - VERIFICATION_FAILED - Applicable if the user failed the verification for this login, or any authentication exception occured in the Partner system for this login attempt. - ACCOUNT_LOCKED - Applicable if the user attempted to login to an account that is locked.