Class PropertyFileAuthorization
- java.lang.Object
-
- io.vertx.rxjava3.ext.auth.properties.PropertyFileAuthorization
-
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate,AuthorizationProvider
public class PropertyFileAuthorization extends Object implements io.vertx.lang.rx.RxDelegate, AuthorizationProvider
Factory interface for creating property file basedAuthenticationProviderinstances.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<PropertyFileAuthorization>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description PropertyFileAuthorization(PropertyFileAuthorization delegate)PropertyFileAuthorization(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyFileAuthorizationcreate(Vertx vertx, String path)Create a File authentication providerbooleanequals(Object o)CompletablegetAuthorizations(User user)Updates the user with the set of authorizations.PropertyFileAuthorizationgetDelegate()StringgetId()returns the id of the authorization providerinthashCode()static PropertyFileAuthorizationnewInstance(PropertyFileAuthorization 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<PropertyFileAuthorization> __TYPE_ARG
-
-
Constructor Detail
-
PropertyFileAuthorization
public PropertyFileAuthorization(PropertyFileAuthorization delegate)
-
PropertyFileAuthorization
public PropertyFileAuthorization(Object delegate)
-
-
Method Detail
-
getDelegate
public PropertyFileAuthorization 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 Completable 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 PropertyFileAuthorization create(Vertx vertx, String path)
Create a File authentication provider- Parameters:
vertx- the Vert.x instancepath-- Returns:
- the authentication provider
-
newInstance
public static PropertyFileAuthorization newInstance(PropertyFileAuthorization arg)
-
-