Class AuthenticationSASL

java.lang.Object
io.r2dbc.postgresql.message.backend.AuthenticationSASL
All Implemented Interfaces:
AuthenticationMessage, BackendMessage

public final class AuthenticationSASL extends Object implements AuthenticationMessage
The AuthenticationSASL message.
  • Constructor Details

    • AuthenticationSASL

      public AuthenticationSASL(List<String> authenticationMechanisms)
      Create a new message.
      Parameters:
      authenticationMechanisms - the names of SASL authentication mechanisms
      Throws:
      IllegalArgumentException - if authenticationMechanisms is null
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getAuthenticationMechanisms

      public List<String> getAuthenticationMechanisms()
      Returns the names of SASL authentication mechanisms.
      Returns:
      the names of SASL authentication mechanisms
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object