Identity data builder.
See Also: Inherited members from object.
|
Build
()Build IdentityData instance. |
|
static
|
CreateWithEmail
(string)Create Builder with email address. |
|
static
|
CreateWithName
(string)Create Builder with user name. |
|
static
|
CreateWithPhone
(string)Create Builder with phone number. |
|
|
WithEmail
(string)Set email address. |
|
|
WithName
(string)Set username. |
|
|
WithPhone
(string)Set phone number. |
Build IdentityData instance.Syntax
public IdentityData Build ()Returns
IdentityData instance.Remarks
Build IdentityData instance with username, email and phone if they're set.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Create Builder with email address.Syntax
public static IdentityData.Builder CreateWithEmail (string email)Parameters
- Email.
Returns
IdentityDataBuilder instance.Exceptions
Type Reason ArgumentException Is thrown when an argument is invalid email address. ArgumentNullException Is thrown when an argument is null or empty. Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Create Builder with user name.Syntax
public static IdentityData.Builder CreateWithName (string userName)Parameters
- userName
- User name.
Returns
IdentityDataBuilder instance.Exceptions
Type Reason ArgumentException Is thrown when an argument is invalid username. ArgumentNullException Is thrown when an argument is null or empty. Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Create Builder with phone number.Syntax
public static IdentityData.Builder CreateWithPhone (string phone)Parameters
- phone
- Phone.
Returns
IdentityDataBuilder instance.Exceptions
Type Reason ArgumentException Is thrown when an argument is invalid phone number. ArgumentNullException Is thrown when an argument is null or empty. Remarks
Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Set email address.Syntax
public IdentityData.Builder WithEmail (string email)Parameters
- Email.
Returns
ItselfExceptions
Type Reason ArgumentException Is thrown when an argument is invalid email address. ArgumentNullException Is thrown when an argument is null or empty. Remarks
Email must be valid. When called multiple times, it will update existing email address.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Set username.Syntax
public IdentityData.Builder WithName (string userName)Parameters
- userName
- Username.
Returns
ItselfExceptions
Type Reason ArgumentException Is thrown when an argument is invalid username. ArgumentNullException Is thrown when an argument is null or empty. Remarks
Username must be valid. When called multiple times, it will update existing user name.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Set phone number.Syntax
public IdentityData.Builder WithPhone (string phone)Parameters
- phone
- Phone.
Returns
Itself.Exceptions
Type Reason ArgumentException Is thrown when an argument is invalid phone number. ArgumentNullException Is thrown when an argument is null or empty. Remarks
Phone must be valid. When called multiple times, it will update existing phone number.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0