public class DeviceEphemeralUserFactory extends DevicePersistentUserFactory
DevicePersistentUserFactory.DeviceCredentials| Constructor and Description |
|---|
DeviceEphemeralUserFactory(String device)
JSON-driven constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
provideUser(Contextor contextor,
Connection connection,
JSONObject param,
ArgRunnable handler)
Synthesize an ephemeral user object based on user description info
fetched from the Device.
|
extractCredentials, getDevice@JSONMethod(value="device") public DeviceEphemeralUserFactory(String device)
device - The name of the device (IOS, etc).public void provideUser(Contextor contextor, Connection connection, JSONObject param, ArgRunnable handler)
provideUser in interface UserFactoryprovideUser in class DevicePersistentUserFactorycontextor - The contextor of the server in which the synthetic
user will be presentconnection - The connection over which the new user presented
themself.param - Arbitary JSON object parameterizing the construction.handler - Handler to invoke with the resulting user object, or
with null if the user object could not be produced.Copyright © 2017. All rights reserved.