public class DelegationUserBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
DelegationUser |
build()
Builds the delegation user object.
|
static DelegationUserBuilder |
newDelegationUser(Sender sender)
Create a new delegation user.
|
static DelegationUserBuilder |
newDelegationUser(String email)
Create a new delegation user.
|
DelegationUserBuilder |
withExpiryDate(Date expiryDate)
Sets the delegation user's expiry date
|
DelegationUserBuilder |
withFirstName(String firstName)
Set the delegation user's first name.
|
DelegationUserBuilder |
withId(String id)
Set the delegation user's id.
|
DelegationUserBuilder |
withLastName(String lastName)
Set the delegation user's last name.
|
DelegationUserBuilder |
withName(String name)
Set the delegation user's name.
|
public static DelegationUserBuilder newDelegationUser(String email)
email - the email address uniquely identifying the delegation user. @size(min="6", max="255", valid email address)public static DelegationUserBuilder newDelegationUser(Sender sender)
sender - public DelegationUserBuilder withFirstName(String firstName)
firstName - the delegation user's first namepublic DelegationUserBuilder withId(String id)
id - the delegation user's idpublic DelegationUserBuilder withLastName(String lastName)
lastName - the delegation user's last namepublic DelegationUserBuilder withName(String name)
name - the delegation user's namepublic DelegationUserBuilder withExpiryDate(Date expiryDate)
expiryDate - - delegation expiration datepublic DelegationUser build()
Copyright 2022 OneSpan All rights reserved.