Interface AuthenticationApi

  • All Known Implementing Classes:
    MattermostClient

    public interface AuthenticationApi
    Authentication API.
    Author:
    Takayuki Maruyama
    • Method Detail

      • login

        ApiResponse<User> login​(String loginId,
                                String password)
        authenticates a user by login id, which can be username, email, or some sort of SSO identifier based on server configuration, and a password.
      • loginWithDevice

        ApiResponse<User> loginWithDevice​(String loginId,
                                          String password,
                                          String deviceId)
        authenticates a user by login id (username, email or some sort of SSO identifier based on configuration), password and attaches a device id to the session.