Package | Description |
---|---|
org.takes.facets.auth |
Auth.
|
org.takes.facets.auth.codecs |
Codecs.
|
org.takes.facets.auth.social |
Social authenticators.
|
Modifier and Type | Field and Description |
---|---|
static Identity |
Identity.ANONYMOUS
Anonymous.
|
Modifier and Type | Method and Description |
---|---|
Identity |
PsCookie.enter(Request request) |
Identity |
Pass.enter(Request request)
Authenticate the user by the request.
|
Identity |
PsChain.enter(Request request) |
Identity |
PsLogout.enter(Request request) |
Identity |
PsByFlag.enter(Request request) |
Identity |
RsLogin.identity()
Identity just logged in.
|
Identity |
RqAuth.identity()
Authenticated user.
|
Modifier and Type | Method and Description |
---|---|
Response |
PsCookie.exit(Response res,
Identity idt) |
Response |
Pass.exit(Response response,
Identity identity)
Wrap the response with the user.
|
Response |
PsChain.exit(Response response,
Identity identity) |
Response |
PsLogout.exit(Response response,
Identity identity) |
Response |
PsByFlag.exit(Response response,
Identity identity) |
Constructor and Description |
---|
RsLogin(Response res,
Identity idnt)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Identity |
CcSafe.decode(byte[] text) |
Identity |
CcXOR.decode(byte[] text) |
Identity |
CcSalted.decode(byte[] text) |
Identity |
CcPlain.decode(byte[] text) |
Identity |
CcCompact.decode(byte[] text) |
Identity |
Codec.decode(byte[] text)
Decode identity from text.
|
Identity |
CcHex.decode(byte[] text) |
Modifier and Type | Method and Description |
---|---|
byte[] |
CcSafe.encode(Identity identity) |
byte[] |
CcXOR.encode(Identity identity) |
byte[] |
CcSalted.encode(Identity identity) |
byte[] |
CcPlain.encode(Identity identity) |
byte[] |
CcCompact.encode(Identity identity) |
byte[] |
Codec.encode(Identity identity)
Encode identity into bytes.
|
byte[] |
CcHex.encode(Identity identity) |
Modifier and Type | Method and Description |
---|---|
Identity |
PsGithub.enter(Request request) |
Identity |
PsFacebook.enter(Request request) |
Modifier and Type | Method and Description |
---|---|
Response |
PsGithub.exit(Response response,
Identity identity) |
Response |
PsFacebook.exit(Response response,
Identity identity) |
Copyright © 2015 Takes. All rights reserved.