Interface AuthenticationApi

  • All Known Implementing Classes:
    MattermostClient

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

      • loginById

        User loginById​(String id,
                       String password)
        authenticates a user by user id and password.
      • login

        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.
      • loginByLdap

        User loginByLdap​(String loginId,
                         String password)
        authenticates a user by LDAP id and password.
      • loginWithDevice

        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.