public class SqrlConfigOperations extends Object
SqrlConfig| Constructor and Description |
|---|
SqrlConfigOperations(SqrlConfig config)
Internal use only.
|
| Modifier and Type | Method and Description |
|---|---|
Key |
getAESKey() |
URI |
getBackchannelRequestUrl(javax.servlet.http.HttpServletRequest loginPageRequest)
Internal use only.
|
SqrlPersistenceFactory |
getSqrlPersistenceFactory() |
String |
getSubsequentRequestPath(javax.servlet.http.HttpServletRequest sqrlBackchannelRequest)
Internal use only.
|
static void |
setExecutor(SqrlServiceExecutor sqrlServiceExecutor)
Poor mans dependency injection.
|
public SqrlConfigOperations(SqrlConfig config)
config - the SQRL config objectpublic static void setExecutor(SqrlServiceExecutor sqrlServiceExecutor)
sqrlServiceExecutor - public Key getAESKey()
public URI getBackchannelRequestUrl(javax.servlet.http.HttpServletRequest loginPageRequest) throws SqrlException
loginPageRequest - the login page requestSqrlException - if an invalid backchannelSettingType is presentpublic String getSubsequentRequestPath(javax.servlet.http.HttpServletRequest sqrlBackchannelRequest) throws SqrlException
sqrlBackchannelRequest - the original SQRL client requestSqrlException - if a URISyntaxException occurspublic SqrlPersistenceFactory getSqrlPersistenceFactory()
Copyright © 2016. All rights reserved.