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 SessionCreationcreateSession(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
SessionCreationif the session was created successfully.
-
createSession
Performs a sign-in with the suppliedUsernamePasswordSessionRequest.- Parameters:
usernamePasswordSessionRequest- the user name password session request- Returns:
- the
SessionCreationif the session was created successfully.
-