public interface SqrlAuthenticationService
Created by Brent Nichols
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
authenticateNut(java.lang.String nut,
java.lang.String identityKey)
Authenticates the user
|
java.lang.Boolean |
createAuthenticationRequest(java.lang.String originalNut,
java.lang.String ipAddress)
This will create an authentication request for the user's
original nut token.
|
java.lang.String |
getAuthenticatedSqrlIdentityKey(java.lang.String nut,
java.lang.String ipAddress)
This is used to retrieve the user by the nut they have in their
authentication request, but only after it has been authenticated.
|
java.lang.Boolean |
linkNut(java.lang.String oldNut,
java.lang.String newNut)
Links one nut with another.
|
java.lang.Boolean createAuthenticationRequest(java.lang.String originalNut,
java.lang.String ipAddress)
originalNut - The original nut token the user receivedipAddress - The new nut that will be passed back to the SQRL client.java.lang.Boolean linkNut(java.lang.String oldNut,
java.lang.String newNut)
oldNut - The "old" nut that was provided by the client. Will be
discarded unless it's the original authenticating nut.newNut - The new nut that's generated by the server.java.lang.Boolean authenticateNut(java.lang.String nut,
java.lang.String identityKey)
nut - The linked nut token being used to authenticate the useridentityKey - The user's public keyjava.lang.String getAuthenticatedSqrlIdentityKey(java.lang.String nut,
java.lang.String ipAddress)
nut - The nut that was initially provided to the useripAddress - The IP Address that the user is attempting to
authenticate from