Class LoginCredentials

java.lang.Object
io.deephaven.web.client.api.LoginCredentials

@JsType(namespace="dh") public class LoginCredentials extends Object
Login credentials used to authenticate a Deephaven client session.
  • Constructor Details

    • LoginCredentials

      @JsConstructor public LoginCredentials()
    • LoginCredentials

      @JsIgnore public LoginCredentials(jsinterop.base.JsPropertyMap<Object> source)
  • Method Details

    • reconnect

      @JsIgnore public static LoginCredentials reconnect(String token)
    • getUsername

      @JsProperty public final @JsNullable String getUsername()
      The username to authenticate with, if applicable.
    • setUsername

      @JsProperty public final void setUsername(String username)
    • getToken

      @JsProperty public final @JsNullable String getToken()
      The authentication token.
    • setToken

      @JsProperty public final void setToken(String token)
    • getType

      @JsProperty public final @JsNullable String getType()
      The token type, such as CoreClient.LOGIN_TYPE_PASSWORD, CoreClient.LOGIN_TYPE_ANONYMOUS, or the name of a custom authentication handler.
    • setType

      @JsProperty public final void setType(String type)