Class UsernamePasswordAuthenticationRequest
- java.lang.Object
-
- io.quarkus.security.identity.request.BaseAuthenticationRequest
-
- io.quarkus.security.identity.request.UsernamePasswordAuthenticationRequest
-
- All Implemented Interfaces:
AuthenticationRequest
public class UsernamePasswordAuthenticationRequest extends BaseAuthenticationRequest implements AuthenticationRequest
An simple authentication request that uses a username and password
-
-
Constructor Summary
Constructors Constructor Description UsernamePasswordAuthenticationRequest(String username, PasswordCredential password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PasswordCredentialgetPassword()StringgetUsername()-
Methods inherited from class io.quarkus.security.identity.request.BaseAuthenticationRequest
getAttribute, getAttributes, setAttribute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.security.identity.request.AuthenticationRequest
getAttribute, getAttributes, setAttribute
-
-
-
-
Constructor Detail
-
UsernamePasswordAuthenticationRequest
public UsernamePasswordAuthenticationRequest(String username, PasswordCredential password)
-
-
Method Detail
-
getUsername
public String getUsername()
-
getPassword
public PasswordCredential getPassword()
-
-