UserIdentity Class

public final class UserIdentity
extends IdentityConfiguration

User identity configuration.

Constructor Summary

Constructor Description
UserIdentity()

Creates an instance of UserIdentity class.

Method Summary

Modifier and Type Method and Description
static UserIdentity fromJson(JsonReader jsonReader)

Reads an instance of UserIdentity from the JsonReader.

IdentityConfigurationType identityType()

Get the identityType property: [Required] Specifies the type of identity framework.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from IdentityConfiguration

Methods inherited from java.lang.Object

Constructor Details

UserIdentity

public UserIdentity()

Creates an instance of UserIdentity class.

Method Details

fromJson

public static UserIdentity fromJson(JsonReader jsonReader)

Reads an instance of UserIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UserIdentity if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the UserIdentity.

identityType

public IdentityConfigurationType identityType()

Get the identityType property: [Required] Specifies the type of identity framework.

Overrides:

UserIdentity.identityType()

Returns:

the identityType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

UserIdentity.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

UserIdentity.validate()

Applies to