public abstract static class Authentication.Wrap extends Object implements Authentication
Authentication.Joined, Authentication.Single, Authentication.User, Authentication.WrapANONYMOUS| Modifier | Constructor and Description |
|---|---|
protected |
Wrap(Authentication auth)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Authentication.User> |
user(String username,
String password)
Find user by credentials.
|
protected Wrap(Authentication auth)
auth - Origin authentication.public final Optional<Authentication.User> user(String username, String password)
Authenticationuser in interface Authenticationusername - Usernamepassword - PasswordCopyright © 2012–2020 jcabi.com. All rights reserved.