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 creatingAuthenticationProvider
instances that use the Vert.x SQL client. NOTE: This class has been automatically generated from theoriginal
non 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 SqlAuthentication
create(SqlClient client)
static SqlAuthentication
create(SqlClient client, io.vertx.ext.auth.sqlclient.SqlAuthenticationOptions options)
boolean
equals(Object o)
io.vertx.ext.auth.sqlclient.SqlAuthentication
getDelegate()
String
hash(String id, String salt, String password)
String
hash(String id, Map<String,String> params, String salt, String password)
int
hashCode()
static SqlAuthentication
newInstance(io.vertx.ext.auth.sqlclient.SqlAuthentication arg)
String
toString()
-
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:
getDelegate
in classAuthenticationProvider
-
toString
public String toString()
- Overrides:
toString
in classAuthenticationProvider
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAuthenticationProvider
-
hashCode
public int hashCode()
- Overrides:
hashCode
in 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)
-
-