com.voximplant.sdk.client

Interface IClientLoginListener



  • public interface IClientLoginListener
    Interface that may be used to handle login events.
    • Method Detail

      • onLoginSuccessful

        void onLoginSuccessful(java.lang.String displayName, AuthParams authParams)
        Invoked when login process finished successfully
        Parameters:
        displayName - Display name of logged in user
        authParams - Auth parameters that can be used to login using access token
      • onLoginFailed

        void onLoginFailed(LoginError loginError)
        Invoked when login process failed
        Parameters:
        loginError - Failure reason
      • onRefreshTokenFailed

        void onRefreshTokenFailed(LoginError loginError)
        Invoked when refresh of login tokens failed
        Parameters:
        loginError - Failure reason
      • onRefreshTokenSuccess

        void onRefreshTokenSuccess(AuthParams authParams)
        Invoked when refresh of login tokens finished successfully
        Parameters:
        authParams - Auth parameters that can be used to login using access token
      • onOneTimeKeyGenerated

        void onOneTimeKeyGenerated(java.lang.String key)
        Returns one time key generated by the login server as a result of IClient.requestOneTimeLoginKey.
        Parameters:
        key - One time key
        See Also:
        IClient.requestOneTimeKey(String)