Class SqlAuthentication
- java.lang.Object
-
- io.vertx.mutiny.ext.auth.authentication.AuthenticationProvider
-
- io.vertx.mutiny.ext.auth.sqlclient.SqlAuthentication
-
public class SqlAuthentication extends AuthenticationProvider
Factory interface for creatingAuthenticationProviderinstances that use the Vert.x SQL client. NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<SqlAuthentication>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description SqlAuthentication(io.vertx.ext.auth.sqlclient.SqlAuthentication delegate)SqlAuthentication(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlAuthenticationcreate(SqlClient client)static SqlAuthenticationcreate(SqlClient client, io.vertx.ext.auth.sqlclient.SqlAuthenticationOptions options)booleanequals(Object o)io.vertx.ext.auth.sqlclient.SqlAuthenticationgetDelegate()Stringhash(String id, String salt, String password)Stringhash(String id, Map<String,String> params, String salt, String password)inthashCode()static SqlAuthenticationnewInstance(io.vertx.ext.auth.sqlclient.SqlAuthentication arg)StringtoString()-
Methods inherited from class io.vertx.mutiny.ext.auth.authentication.AuthenticationProvider
authenticate, authenticate, authenticateAndAwait, authenticateAndAwait, authenticateAndForget, authenticateAndForget, newInstance
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<SqlAuthentication> __TYPE_ARG
-
-
Constructor Detail
-
SqlAuthentication
public SqlAuthentication(io.vertx.ext.auth.sqlclient.SqlAuthentication delegate)
-
SqlAuthentication
public SqlAuthentication(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.auth.sqlclient.SqlAuthentication getDelegate()
- Overrides:
getDelegatein classAuthenticationProvider
-
toString
public String toString()
- Overrides:
toStringin classAuthenticationProvider
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAuthenticationProvider
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAuthenticationProvider
-
create
public static SqlAuthentication create(SqlClient client)
- Parameters:
client- the JDBC client instance- Returns:
- the auth provider
-
create
public static SqlAuthentication create(SqlClient client, io.vertx.ext.auth.sqlclient.SqlAuthenticationOptions options)
- 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)
- Parameters:
id-params-salt-password-- Returns:
-
hash
public String hash(String id, String salt, String password)
- Parameters:
id-salt-password-- Returns:
-
newInstance
public static SqlAuthentication newInstance(io.vertx.ext.auth.sqlclient.SqlAuthentication arg)
-
-