LoginEvent

public class LoginEvent extends PredefinedEvent<LoginEvent>

A login event to be sent to Answers with optional attributes.

Inherited Constant Summary

Public Constructor Summary

Public Method Summary

LoginEvent
putMethod(String loginMethod)
Put method of user login attempt.
LoginEvent
putSuccess(boolean loginSucceeded)
Put result of login attempt.

Inherited Method Summary

Public Constructors

public LoginEvent ()

Public Methods

public LoginEvent putMethod (String loginMethod)

Put method of user login attempt.

Parameters
loginMethod login method used, not null
Returns
  • this

public LoginEvent putSuccess (boolean loginSucceeded)

Put result of login attempt. A value of true indicates that the login was successful. A value of false indicates that the login failed.

Parameters
loginSucceeded result of login attempt
Returns
  • this

发送以下问题的反馈:

此网页
需要帮助?请访问我们的支持页面