Modifier and Type | Class and Description |
---|---|
class |
AbstractUser
Deprecated.
All user objects should be created using
create(JsonObject) . |
Modifier and Type | Method and Description |
---|---|
User |
AbstractUser.clearCache()
Deprecated.
|
default User |
User.clearCache()
Deprecated.
This method will be removed. Use
Authorizations.clear() |
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,
Handler<AsyncResult<Boolean>> resultHandler)
Deprecated.
|
User |
AbstractUser.isAuthorized(String authority,
Handler<AsyncResult<Boolean>> resultHandler)
Deprecated.
|
default User |
User.isAuthorized(String authority,
Handler<AsyncResult<Boolean>> resultHandler)
Deprecated.
Use typed alternative
isAuthorized(Authorization, Handler) |
Modifier and Type | Method and Description |
---|---|
default Future<User> |
AuthenticationProvider.authenticate(Credentials credentials)
Authenticate a user.
|
default Future<User> |
AuthenticationProvider.authenticate(JsonObject credentials)
Authenticate a user.
|
Modifier and Type | Method and Description |
---|---|
default void |
AuthenticationProvider.authenticate(Credentials credentials,
Handler<AsyncResult<User>> resultHandler)
Authenticate a user.
|
void |
AuthenticationProvider.authenticate(JsonObject credentials,
Handler<AsyncResult<User>> resultHandler)
Authenticate a user.
|
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
|
default Future<Void> |
AuthorizationProvider.getAuthorizations(User user) |
void |
AuthorizationProvider.getAuthorizations(User user,
Handler<AsyncResult<Void>> handler)
Updates the user with the set of authorizations.
|
default boolean |
Authorization.match(User user)
this methods verifies whether or not the authorization match the specified
user.
|
Modifier and Type | Method and Description |
---|---|
String |
HashStrategy.computeHash(String password,
User user)
Deprecated.
Compute the hashed password given the unhashed password and the user
|
String |
HashStrategy.getSalt(User user)
Deprecated.
Retrieve the salt.
|
String |
HashStrategy.getStoredPwd(User user)
Deprecated.
Retrieve the password from the user, or as clear text or as hashed version, depending on the definition
|
Modifier and Type | Interface and Description |
---|---|
interface |
AccessToken
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default Future<User> |
OAuth2Auth.refresh(User user)
Refresh the current User (access token).
|
Modifier and Type | Method and Description |
---|---|
default 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.
|
default Future<User> |
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).
|
default Future<Void> |
OAuth2Auth.revoke(User user)
Revoke an obtained access token.
|
default OAuth2Auth |
OAuth2Auth.revoke(User user,
Handler<AsyncResult<Void>> handler)
Revoke an obtained access token.
|
default Future<Void> |
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.
|
default Future<JsonObject> |
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
AuthenticationProvider . |
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 |
---|---|
Future<Void> |
SessionHandler.setUser(RoutingContext context,
User user)
Set the user for the session
|
default 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() |
Modifier and Type | Method and Description |
---|---|
User |
User.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static User |
User.newInstance(User arg) |
Constructor and Description |
---|
User(User delegate) |
Modifier and Type | Method and Description |
---|---|
User |
User.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static User |
User.newInstance(User arg) |
Constructor and Description |
---|
User(User delegate) |
Modifier and Type | Method and Description |
---|---|
User |
User.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static User |
User.newInstance(User arg) |
Constructor and Description |
---|
User(User delegate) |
Copyright © 2021 Eclipse. All rights reserved.