Package org.takes.facets.auth.social
Class PsLinkedin
- java.lang.Object
-
- org.takes.facets.auth.social.PsLinkedin
-
-
Constructor Summary
Constructors Constructor Description PsLinkedin(String lapp, String lkey)
Ctor.PsLinkedin(Href thref, Href ahref, String lapp, String lkey)
Ctor with custom hrefs for test purposes.
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Method Detail
-
enter
public Opt<Identity> enter(Request request) throws IOException
Description copied from interface:Pass
Authenticate the user by the request.- Specified by:
enter
in interfacePass
- Parameters:
request
- The request- Returns:
- Identity of the user found
- Throws:
IOException
-
-