Class SqlAuthentication
- java.lang.Object
 - 
- io.vertx.rxjava3.ext.auth.authentication.AuthenticationProvider
 - 
- io.vertx.rxjava3.ext.auth.sqlclient.SqlAuthentication
 
 
 
- 
- All Implemented Interfaces:
 io.vertx.lang.rx.RxDelegate
public class SqlAuthentication extends AuthenticationProvider implements io.vertx.lang.rx.RxDelegate
Factory interface for creatingAuthenticationProviderinstances that use the Vert.x SQL client.NOTE: This class has been automatically generated from the
originalnon RX-ified interface using Vert.x codegen. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<SqlAuthentication>__TYPE_ARG 
- 
Constructor Summary
Constructors Constructor Description SqlAuthentication(SqlAuthentication delegate)SqlAuthentication(Object delegate) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlAuthenticationcreate(SqlClient client)Create a JDBC auth provider implementationstatic SqlAuthenticationcreate(SqlClient client, SqlAuthenticationOptions options)Create a JDBC auth provider implementationbooleanequals(Object o)SqlAuthenticationgetDelegate()Stringhash(String id, String salt, String password)Hashes a password to be stored.Stringhash(String id, Map<String,String> params, String salt, String password)Hashes a password to be stored.inthashCode()static SqlAuthenticationnewInstance(SqlAuthentication arg)StringtoString()- 
Methods inherited from class io.vertx.rxjava3.ext.auth.authentication.AuthenticationProvider
authenticate, newInstance, rxAuthenticate 
 - 
 
 - 
 
- 
- 
Field Detail
- 
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<SqlAuthentication> __TYPE_ARG
 
 - 
 
- 
Constructor Detail
- 
SqlAuthentication
public SqlAuthentication(SqlAuthentication delegate)
 
- 
SqlAuthentication
public SqlAuthentication(Object delegate)
 
 - 
 
- 
Method Detail
- 
toString
public String toString()
- Overrides:
 toStringin classAuthenticationProvider
 
- 
equals
public boolean equals(Object o)
- Overrides:
 equalsin classAuthenticationProvider
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classAuthenticationProvider
 
- 
getDelegate
public SqlAuthentication getDelegate()
- Specified by:
 getDelegatein interfaceio.vertx.lang.rx.RxDelegate- Overrides:
 getDelegatein classAuthenticationProvider
 
- 
create
public static SqlAuthentication create(SqlClient client)
Create a JDBC auth provider implementation- Parameters:
 client- the JDBC client instance- Returns:
 - the auth provider
 
 
- 
create
public static SqlAuthentication create(SqlClient client, SqlAuthenticationOptions options)
Create a JDBC auth provider implementation- Parameters:
 client- the JDBC client instanceoptions- authentication options- Returns:
 - the auth provider
 
 
- 
hash
public String hash(String id, Map<String,String> params, String salt, String password)
Hashes a password to be stored.See:
- Parameters:
 id-params-salt-password-- Returns:
 
 
- 
hash
public String hash(String id, String salt, String password)
Hashes a password to be stored.See:
- Parameters:
 id-salt-password-- Returns:
 
 
- 
newInstance
public static SqlAuthentication newInstance(SqlAuthentication arg)
 
 - 
 
 -