Interface ILogin.IUsingAuthenticator<T extends ILoginAuthenticator>

Enclosing interface:
ILogin

public static interface ILogin.IUsingAuthenticator<T extends ILoginAuthenticator>
  • Method Details

    • with

      @NotNull ILogin.IWithCredentials with(@NotNull IPassword<T> credentials)
      Use user name and password for authentication.
      Parameters:
      credentials - user name and password packed by Password.of(String, String).
      Returns:
      next builder step.
    • with

      @NotNull ILogin.IFinal with(@NotNull IToken<T> token)
      Use an IToken instance, created by a corresponding authenticator type.
      Parameters:
      token - parameterized token instance.
      Returns:
      next builder step.