ESET Secure Authentication SDK documentation
 All Classes Functions Variables
Public Member Functions | List of all members
com.eset.secureauthentication.sdk.examples.InMemoryUserStorage Class Reference
Inheritance diagram for com.eset.secureauthentication.sdk.examples.InMemoryUserStorage:
com.eset.secureauthentication.sdk.IUserStorage

Public Member Functions

 InMemoryUserStorage ()
 
String loadUser (String username)
 
String saveUser (String username, String data)
 

Detailed Description

An example implementation of #com.eset.secureauthentication.sdk.IUserStorage that is backed by an in-memory hashmap.

Constructor & Destructor Documentation

com.eset.secureauthentication.sdk.examples.InMemoryUserStorage.InMemoryUserStorage ( )
inline

Member Function Documentation

String com.eset.secureauthentication.sdk.examples.InMemoryUserStorage.loadUser ( String  username)
inline

Load a user.

Parameters
usernamethe ID of the user
Returns
JSON string representing user data

Implements com.eset.secureauthentication.sdk.IUserStorage.

String com.eset.secureauthentication.sdk.examples.InMemoryUserStorage.saveUser ( String  username,
String  data 
)
inline

Save a user.

Parameters
usernamethe ID of the user
dataJSON string representing user data
Returns
void

Implements com.eset.secureauthentication.sdk.IUserStorage.


The documentation for this class was generated from the following file: