Package org.takes.facets.auth
Interface Pass
-
- All Known Implementing Classes:
PsAll
,PsBasic
,PsByFlag
,PsChain
,PsCookie
,PsEmpty
,PsFacebook
,PsFake
,PsFixed
,PsGithub
,PsGoogle
,PsLinkedin
,PsLogout
,PsToken
,PsTwitter
public interface Pass
Pass to enter a user and let him exit.All implementations of this interface must be immutable and thread-safe.
- Since:
- 0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Opt<Identity>
enter(Request request)
Authenticate the user by the request.Response
exit(Response response, Identity identity)
Wrap the response with the user.
-