Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<User> |
User.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
User |
User.clearCache()
Deprecated.
|
static User |
User.create(JsonObject principal)
Factory for user instances that are free form.
|
static User |
User.create(JsonObject principal,
JsonObject attributes)
Factory for user instances that are free form.
|
static User |
User.fromName(String username)
Factory for user instances that are single string.
|
static User |
User.fromToken(String token)
Factory for user instances that are single string.
|
User |
User.isAuthorized(Authorization authority)
Deprecated.
|
User |
User.isAuthorized(Authorization authority,
Handler<AsyncResult<Boolean>> resultHandler)
Deprecated.
|
User |
User.isAuthorized(String authority)
Deprecated.
|
User |
User.isAuthorized(String authority,
Handler<AsyncResult<Boolean>> resultHandler)
Deprecated.
|
User |
User.merge(User other)
Merge the principal and attributes of a second user into this object properties.
|
static User |
User.newInstance(User arg) |
Modifier and Type | Method and Description |
---|---|
User |
User.merge(User other)
Merge the principal and attributes of a second user into this object properties.
|
Modifier and Type | Method and Description |
---|---|
Single<User> |
AuthenticationProvider.rxAuthenticate(Credentials credentials)
Authenticate a user.
|
Single<User> |
AuthenticationProvider.rxAuthenticate(JsonObject credentials)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthenticationProvider.authenticate(Credentials credentials,
Handler<AsyncResult<User>> resultHandler)
Authenticate a user.
|
void |
AuthenticationProvider.authenticate(JsonObject credentials,
Handler<AsyncResult<User>> resultHandler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
User |
AuthorizationContext.user()
Get the authenticated user
|
Modifier and Type | Method and Description |
---|---|
static AuthorizationContext |
AuthorizationContext.create(User user)
Factory for Authorization Context
|
void |
AuthorizationProvider.getAuthorizations(User user)
Updates the user with the set of authorizations.
|
void |
AuthorizationProvider.getAuthorizations(User user,
Handler<AsyncResult<Void>> handler)
Updates the user with the set of authorizations.
|
boolean |
Authorization.match(User user)
this methods verifies whether or not the authorization match the specified
user.
|
Single<Void> |
AuthorizationProvider.rxGetAuthorizations(User user)
Updates the user with the set of authorizations.
|
Modifier and Type | Method and Description |
---|---|
String |
HashStrategy.computeHash(String password,
User user)
Deprecated.
|
String |
HashStrategy.getSalt(User user)
Deprecated.
|
String |
HashStrategy.getStoredPwd(User user)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Single<User> |
OAuth2Auth.rxRefresh(User user)
Refresh the current User (access token).
|
Modifier and Type | Method and Description |
---|---|
String |
OAuth2Auth.endSessionURL(User user)
The logout (end-session) endpoint is specified in OpenID Connect Session Management 1.0.
|
String |
OAuth2Auth.endSessionURL(User user,
JsonObject params)
The logout (end-session) endpoint is specified in OpenID Connect Session Management 1.0.
|
OAuth2Auth |
OAuth2Auth.refresh(User user)
Refresh the current User (access token).
|
OAuth2Auth |
OAuth2Auth.refresh(User user,
Handler<AsyncResult<User>> handler)
Refresh the current User (access token).
|
OAuth2Auth |
OAuth2Auth.revoke(User user)
Revoke an obtained access token.
|
OAuth2Auth |
OAuth2Auth.revoke(User user,
Handler<AsyncResult<Void>> handler)
Revoke an obtained access token.
|
OAuth2Auth |
OAuth2Auth.revoke(User user,
String tokenType)
Revoke an obtained access or refresh token.
|
OAuth2Auth |
OAuth2Auth.revoke(User user,
String tokenType,
Handler<AsyncResult<Void>> handler)
Revoke an obtained access or refresh token.
|
Single<User> |
OAuth2Auth.rxRefresh(User user)
Refresh the current User (access token).
|
Single<Void> |
OAuth2Auth.rxRevoke(User user)
Revoke an obtained access token.
|
Single<Void> |
OAuth2Auth.rxRevoke(User user,
String tokenType)
Revoke an obtained access or refresh token.
|
Single<JsonObject> |
OAuth2Auth.rxUserInfo(User user)
Retrieve profile information and other attributes for a logged-in end-user.
|
OAuth2Auth |
OAuth2Auth.userInfo(User user)
Retrieve profile information and other attributes for a logged-in end-user.
|
OAuth2Auth |
OAuth2Auth.userInfo(User user,
Handler<AsyncResult<JsonObject>> handler)
Retrieve profile information and other attributes for a logged-in end-user.
|
Modifier and Type | Method and Description |
---|---|
OAuth2Auth |
OAuth2Auth.refresh(User user,
Handler<AsyncResult<User>> handler)
Refresh the current User (access token).
|
Modifier and Type | Method and Description |
---|---|
User |
StompServerHandler.getUserBySession(String session)
Provides for authorization matches on a destination level, this will return the User created by the .
|
Modifier and Type | Method and Description |
---|---|
User |
RoutingContext.user()
Get the authenticated user (if any).
|
Modifier and Type | Method and Description |
---|---|
void |
RoutingContext.setUser(User user)
Set the user.
|
Modifier and Type | Method and Description |
---|---|
User |
OAuth2WebClient.getUser()
Get the authenticated user (if any) that is associated with this client.
|
Modifier and Type | Method and Description |
---|---|
Single<Void> |
SessionHandler.rxSetUser(RoutingContext context,
User user)
Set the user for the session
|
SessionHandler |
SessionHandler.setUser(RoutingContext context,
User user)
Set the user for the session
|
SessionHandler |
SessionHandler.setUser(RoutingContext context,
User user,
Handler<AsyncResult<Void>> handler)
Set the user for the session
|
Modifier and Type | Method and Description |
---|---|
SimpleAuthenticationHandler |
SimpleAuthenticationHandler.authenticate(java.util.function.Function<RoutingContext,Future<User>> authenticationFunction)
This function will allow you to perform authentication the way you intended to.
|
Modifier and Type | Method and Description |
---|---|
User |
SockJSSocket.webUser() |
Copyright © 2024 Eclipse. All rights reserved.