Class SqlAuthorization
java.lang.Object
io.vertx.rxjava3.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 original non RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSqlAuthorization(SqlAuthorization delegate) SqlAuthorization(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic SqlAuthorizationCreate a JDBC authorization provider implementationstatic SqlAuthorizationcreate(SqlClient client, SqlAuthorizationOptions options) Create a JDBC authorization provider implementationbooleangetAuthorizations(User user) Updates the user with the set of authorizations.getId()returns the id of the authorization providerinthashCode()static SqlAuthorizationrxGetAuthorizations(User user) Updates the user with the set of authorizations.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
SqlAuthorization
-
SqlAuthorization
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceAuthorizationProvider- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
getId
returns the id of the authorization provider- Specified by:
getIdin interfaceAuthorizationProvider- Returns:
-
getAuthorizations
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
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
Create a JDBC authorization provider implementation- Parameters:
client- the SQL client instance- Returns:
- the auth provider
-
create
Create a JDBC authorization provider implementation- Parameters:
client- the SQL client instanceoptions- theSqlAuthorizationOptions- Returns:
- the auth provider
-
newInstance
-