Interface UsernamePasswordAuthService
- All Known Implementing Classes:
AnonUsernamePasswordAuthService
,UserUsernamePasswordAuthService
public interface UsernamePasswordAuthService
Created by patricktwohig on 4/1/15.
-
Method Summary
Modifier and TypeMethodDescriptioncreateSession
(UsernamePasswordSessionRequest usernamePasswordSessionRequest) Performs a sign-in with the suppliedUsernamePasswordSessionRequest
.default SessionCreation
createSession
(BasicAuthorizationHeader basicAuthorizationHeader) Performs a sign-in with the suppliedUsernamePasswordSessionRequest
.
-
Method Details
-
createSession
Performs a sign-in with the suppliedUsernamePasswordSessionRequest
.- Parameters:
basicAuthorizationHeader
- the basic authorization header- Returns:
- the
SessionCreation
if the session was created successfully.
-
createSession
Performs a sign-in with the suppliedUsernamePasswordSessionRequest
.- Parameters:
usernamePasswordSessionRequest
- the user name password session request- Returns:
- the
SessionCreation
if the session was created successfully.
-