| Package | Description |
|---|---|
| com.github.dbadia.sqrl.server | |
| com.github.dbadia.sqrl.server.backchannel | |
| com.github.dbadia.sqrl.server.exception | |
| com.github.dbadia.sqrl.server.util |
| Modifier and Type | Method and Description |
|---|---|
long |
SqrlServerOperations.determineNutExpiry(javax.servlet.http.HttpServletRequest request)
Looks for the SQRL first nut cookie and extracts the time at which it expires
|
URI |
SqrlConfigOperations.getBackchannelRequestUrl(javax.servlet.http.HttpServletRequest loginPageRequest)
Internal use only.
|
String |
SqrlConfigOperations.getSubsequentRequestPath(javax.servlet.http.HttpServletRequest sqrlBackchannelRequest)
Internal use only.
|
SqrlAuthPageData |
SqrlServerOperations.prepareSqrlAuthPageData(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
InetAddress userInetAddress,
int qrCodeSizeInPixels)
Called to generate the data the server needs to display to allow a user to authenticate via SQRL
|
protected boolean |
SqrlServerOperations.processClientCommand(SqrlClientRequest request,
SqrlNutToken nutToken,
SqrlTif.TifBuilder tifBuilder,
String correlator) |
| Modifier and Type | Method and Description |
|---|---|
static int |
SqrlNutTokenUtil.inetAddressToInt(URI serverUrl,
InetAddress requesterIpAddress,
SqrlConfig config) |
static String |
SqrlClientRequest.parseCorrelatorOnly(javax.servlet.http.HttpServletRequest servletRequest)
The correlator is our only key to determining which user this is, so it's critical we parse this out first
|
static boolean |
SqrlNutTokenUtil.validateInetAddress(InetAddress requesterIpAddress,
int inetInt,
SqrlConfig config) |
static void |
SqrlNutTokenUtil.validateNut(String correlator,
SqrlNutToken nutToken,
SqrlConfig config,
SqrlPersistence sqrlPersistence,
SqrlTif.TifBuilder tifBuilder)
|
| Constructor and Description |
|---|
SqrlClientRequest(javax.servlet.http.HttpServletRequest servletRequest,
SqrlPersistence persistence,
SqrlConfigOperations configOps) |
SqrlNutToken(int inetInt,
SqrlConfigOperations configOps,
int counter,
long timestamp,
int randomInt) |
SqrlNutToken(SqrlConfigOperations configOps,
String sqBase64EncryptedNut) |
| Modifier and Type | Class and Description |
|---|---|
class |
SqrlDisabledUserException
Indicates that the SQRL user exists, but is currently disabled per the SQRL protocol
|
class |
SqrlInvalidRequestException
Indicates an invalid SQRL request was received
|
class |
SqrlNutTokenReplayedException
Indicates that the one time use Nut token received from the SQRL client was already used in a previous request as
determined by
SqrlPersistence#hasTokenBeenUsed(com.github.dbadia.sqrl.server.backchannel.Nut) |
| Modifier and Type | Class and Description |
|---|---|
class |
SqrlIllegalDataException |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
SqrlUtil.base64UrlDecode(String toDecodeParam)
Performs the SQRL required base64URL decoding
|
static String |
SqrlUtil.base64UrlDecodeToString(String toDecode)
Performs the SQRL required base64URL decoding
|
static InetAddress |
SqrlUtil.ipStringToInetAddresss(String ipAddressString)
Internal use only.
|
static boolean |
SqrlUtil.verifyED25519(byte[] signatureFromMessage,
byte[] messageBytes,
byte[] publicKeyBytes)
Internal use only.
|
Copyright © 2016. All rights reserved.