Class SqlAuthentication
- java.lang.Object
- 
- io.vertx.reactivex.ext.auth.authentication.AuthenticationProvider
- 
- io.vertx.reactivex.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 SummaryFields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<SqlAuthentication>__TYPE_ARG
 - 
Constructor SummaryConstructors Constructor Description SqlAuthentication(SqlAuthentication delegate)SqlAuthentication(Object delegate)
 - 
Method SummaryAll 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.reactivex.ext.auth.authentication.AuthenticationProviderauthenticate, newInstance, rxAuthenticate
 
- 
 
- 
- 
- 
Field Detail- 
__TYPE_ARGpublic static final io.vertx.lang.rx.TypeArg<SqlAuthentication> __TYPE_ARG 
 
- 
 - 
Constructor Detail- 
SqlAuthenticationpublic SqlAuthentication(SqlAuthentication delegate) 
 - 
SqlAuthenticationpublic SqlAuthentication(Object delegate) 
 
- 
 - 
Method Detail- 
toStringpublic String toString() - Overrides:
- toStringin class- AuthenticationProvider
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- AuthenticationProvider
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- AuthenticationProvider
 
 - 
getDelegatepublic SqlAuthentication getDelegate() - Specified by:
- getDelegatein interface- io.vertx.lang.rx.RxDelegate
- Overrides:
- getDelegatein class- AuthenticationProvider
 
 - 
createpublic static SqlAuthentication create(SqlClient client) Create a JDBC auth provider implementation- Parameters:
- client- the JDBC client instance
- Returns:
- the auth provider
 
 - 
createpublic static SqlAuthentication create(SqlClient client, SqlAuthenticationOptions options) Create a JDBC auth provider implementation- Parameters:
- client- the JDBC client instance
- options- authentication options
- Returns:
- the auth provider
 
 - 
hashpublic 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:
 
 - 
hashpublic String hash(String id, String salt, String password) Hashes a password to be stored.See: - Parameters:
- id-
- salt-
- password-
- Returns:
 
 - 
newInstancepublic static SqlAuthentication newInstance(SqlAuthentication arg) 
 
- 
 
-