public class OobRegistrationRequest
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OobRegistrationRequest.RegistrationMethod
Registration methods.
|
Constructor and Description |
---|
OobRegistrationRequest(java.lang.String userId,
java.lang.String userAliasForClient,
OobRegistrationRequest.RegistrationMethod registrationMethod,
SecureString registrationParameter)
Constructs the OOB registration request object: Variant w/o any notification endpoints set.
|
OobRegistrationRequest(java.lang.String userId,
java.lang.String userAliasForClient,
OobRegistrationRequest.RegistrationMethod registrationMethod,
SecureString registrationParameter,
java.util.List<OobNotificationProfile> notificationProfiles)
Constructs the OOB registration request object: Variant with the notification endpoints set.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<OobNotificationProfile> |
getNotificationProfiles()
Retrieves the list of notification profiles to be initially configured to the user upon the registration.
|
OobRegistrationRequest.RegistrationMethod |
getRegistrationMethod()
Retrieves the result of the registration operation.
|
SecureString |
getRegistrationParameter()
Retrieves the value of the registration code.
|
java.lang.String |
getUserAliasForClient()
Retrieves the human readable alias for this client.
|
java.lang.String |
getUserId()
Retrieves the ID of the user who registers to the OOBS.
|
public OobRegistrationRequest(java.lang.String userId, java.lang.String userAliasForClient, OobRegistrationRequest.RegistrationMethod registrationMethod, SecureString registrationParameter)
userId
- The ID of the user who registers to the OOBS.userAliasForClient
- Human readable alias for this client.registrationMethod
- The registration method to be used for the registration to the OOBS.registrationParameter
- The registration parameter. Its meaning depends on the value of the registration method - see previous
parameter.public OobRegistrationRequest(java.lang.String userId, java.lang.String userAliasForClient, OobRegistrationRequest.RegistrationMethod registrationMethod, SecureString registrationParameter, java.util.List<OobNotificationProfile> notificationProfiles)
userId
- The ID of the user who registers to the OOBS.userAliasForClient
- Human readable alias for this client.registrationMethod
- The registration method to be used for the registration to the OOBS.registrationParameter
- The registration parameter. Its meaning depends on the value of the registration method - see previous
parameter.notificationProfiles
- The notification endpoints to initially add to the currently being registered user. The notification
endpoints can later be changed using the OobNotificationManager
.
Passing null
here makes this method to behave like the one w/o any notification endpoints.public java.lang.String getUserId()
null
.public java.lang.String getUserAliasForClient()
null
.public java.util.List<OobNotificationProfile> getNotificationProfiles()
public OobRegistrationRequest.RegistrationMethod getRegistrationMethod()
null
.public SecureString getRegistrationParameter()
null
.