Package io.vertx.ext.auth.sqlclient
Interface SqlAuthorization
-
- All Superinterfaces:
AuthorizationProvider
public interface SqlAuthorization extends AuthorizationProvider
Factory interface for creatingAuthorizationProvider
instances that use the Vert.x SQL client.- Author:
- Paulo Lopes
-
-
Method Summary
Static Methods Modifier and Type Method Description static SqlAuthorization
create(SqlClient client)
Create a JDBC authorization provider implementationstatic SqlAuthorization
create(SqlClient client, SqlAuthorizationOptions options)
Create a JDBC authorization provider implementation-
Methods inherited from interface io.vertx.ext.auth.authorization.AuthorizationProvider
getAuthorizations, getId
-
-
-
-
Method Detail
-
create
static SqlAuthorization create(SqlClient client)
Create a JDBC authorization provider implementation- Parameters:
client
- the SQL client instance- Returns:
- the auth provider
-
create
static SqlAuthorization create(SqlClient client, SqlAuthorizationOptions options)
Create a JDBC authorization provider implementation- Parameters:
client
- the SQL client instanceoptions
- theSqlAuthorizationOptions
- Returns:
- the auth provider
-
-