Package io.vertx.mutiny.ext.auth
Class ChainAuth
- java.lang.Object
-
- io.vertx.mutiny.ext.auth.authentication.AuthenticationProvider
-
- io.vertx.mutiny.ext.auth.ChainAuth
-
public class ChainAuth extends AuthenticationProvider
Chain several authentication providers as if they were one. This is useful for cases where one want to authenticate across several providers, for example, database and fallback to passwd file. 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<ChainAuth>
__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ChainAuth
add(AuthenticationProvider other)
static ChainAuth
all()
static ChainAuth
any()
static ChainAuth
create()
Deprecated.boolean
equals(Object o)
io.vertx.ext.auth.ChainAuth
getDelegate()
int
hashCode()
static ChainAuth
newInstance(io.vertx.ext.auth.ChainAuth arg)
String
toString()
-
Methods inherited from class io.vertx.mutiny.ext.auth.authentication.AuthenticationProvider
authenticate, authenticate, authenticateAndAwait, authenticateAndAwait, authenticateAndForget, authenticateAndForget, newInstance
-
-
-
-
Constructor Detail
-
ChainAuth
public ChainAuth(io.vertx.ext.auth.ChainAuth delegate)
-
ChainAuth
public ChainAuth(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.auth.ChainAuth 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
@Deprecated public static ChainAuth create()
Deprecated.- Returns:
- the auth provider
-
all
public static ChainAuth all()
- Returns:
- the auth provider
-
any
public static ChainAuth any()
- Returns:
- the auth provider
-
add
public ChainAuth add(AuthenticationProvider other)
- Parameters:
other
- auth provider- Returns:
- self
-
newInstance
public static ChainAuth newInstance(io.vertx.ext.auth.ChainAuth arg)
-
-