Package | Description |
---|---|
io.vertx.ext.auth.authentication |
Modifier and Type | Class and Description |
---|---|
class |
TokenCredentials
Credentials used by any
AuthenticationProvider that requires Tokens, such as OAuth2 or JWT
to perform its authentication |
class |
UsernamePasswordCredentials
Credentials used by any
AuthenticationProvider that requires tokens, for example JWT, Oauth2, OpenId Connect |
Modifier and Type | Method and Description |
---|---|
default Credentials |
Credentials.applyHttpChallenge(String challenge)
Applies the HTTP Authorization challenge to this Credential instance.
|
default Credentials |
Credentials.applyHttpChallenge(String challenge,
io.vertx.core.http.HttpMethod method,
String uri)
Applies the HTTP Authorization challenge to this Credential instance.
|
default Credentials |
Credentials.applyHttpChallenge(String challenge,
io.vertx.core.http.HttpMethod method,
String uri,
Integer nc,
String cnonce)
Applies the HTTP Authorization challenge to this Credential instance.
|
Modifier and Type | Method and Description |
---|---|
default io.vertx.core.Future<User> |
AuthenticationProvider.authenticate(Credentials credentials)
Authenticate a user.
|
default void |
AuthenticationProvider.authenticate(Credentials credentials,
io.vertx.core.Handler<io.vertx.core.AsyncResult<User>> resultHandler)
Authenticate a user.
|
Copyright © 2020 Eclipse. All rights reserved.