Class SqlAuthorization
- java.lang.Object
-
- io.vertx.reactivex.ext.auth.sqlclient.SqlAuthorization
-
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate,AuthorizationProvider
public class SqlAuthorization extends Object implements io.vertx.lang.rx.RxDelegate, AuthorizationProvider
Factory interface for creating instances 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<SqlAuthorization>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description SqlAuthorization(SqlAuthorization delegate)SqlAuthorization(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlAuthorizationcreate(SqlClient client)Create a JDBC authorization provider implementationstatic SqlAuthorizationcreate(SqlClient client, SqlAuthorizationOptions options)Create a JDBC authorization provider implementationbooleanequals(Object o)Future<Void>getAuthorizations(User user)Updates the user with the set of authorizations.SqlAuthorizationgetDelegate()StringgetId()returns the id of the authorization providerinthashCode()static SqlAuthorizationnewInstance(SqlAuthorization arg)CompletablerxGetAuthorizations(User user)Updates the user with the set of authorizations.StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<SqlAuthorization> __TYPE_ARG
-
-
Constructor Detail
-
SqlAuthorization
public SqlAuthorization(SqlAuthorization delegate)
-
SqlAuthorization
public SqlAuthorization(Object delegate)
-
-
Method Detail
-
getDelegate
public SqlAuthorization getDelegate()
- Specified by:
getDelegatein interfaceAuthorizationProvider- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
getId
public String getId()
returns the id of the authorization provider- Specified by:
getIdin interfaceAuthorizationProvider- Returns:
-
getAuthorizations
public Future<Void> getAuthorizations(User user)
Updates the user with the set of authorizations.- Specified by:
getAuthorizationsin interfaceAuthorizationProvider- Parameters:
user- user to lookup and update.- Returns:
- Future void to signal end of asynchronous call.
-
rxGetAuthorizations
public Completable rxGetAuthorizations(User user)
Updates the user with the set of authorizations.- Specified by:
rxGetAuthorizationsin interfaceAuthorizationProvider- Parameters:
user- user to lookup and update.- Returns:
- Future void to signal end of asynchronous call.
-
create
public static SqlAuthorization create(SqlClient client)
Create a JDBC authorization provider implementation- Parameters:
client- the SQL client instance- Returns:
- the auth provider
-
create
public static SqlAuthorization create(SqlClient client, SqlAuthorizationOptions options)
Create a JDBC authorization provider implementation- Parameters:
client- the SQL client instanceoptions- theSqlAuthorizationOptions- Returns:
- the auth provider
-
newInstance
public static SqlAuthorization newInstance(SqlAuthorization arg)
-
-