你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphObjectIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphObjectIdentity

Implements

public final class MicrosoftGraphObjectIdentity
implements JsonSerializable<MicrosoftGraphObjectIdentity>

objectIdentity.

Constructor Summary

Constructor Description
MicrosoftGraphObjectIdentity()

Creates an instance of MicrosoftGraphObjectIdentity class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: objectIdentity.

static MicrosoftGraphObjectIdentity fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphObjectIdentity from the JsonReader.

String issuer()

Get the issuer property: Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter.

String issuerAssignedId()

Get the issuerAssignedId property: Specifies the unique identifier assigned to the user by the issuer.

String signInType()

Get the signInType property: Specifies the user sign-in types in your directory, such as emailAddress, userName or federated.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphObjectIdentity withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: objectIdentity.

MicrosoftGraphObjectIdentity withIssuer(String issuer)

Set the issuer property: Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter.

MicrosoftGraphObjectIdentity withIssuerAssignedId(String issuerAssignedId)

Set the issuerAssignedId property: Specifies the unique identifier assigned to the user by the issuer.

MicrosoftGraphObjectIdentity withSignInType(String signInType)

Set the signInType property: Specifies the user sign-in types in your directory, such as emailAddress, userName or federated.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphObjectIdentity

public MicrosoftGraphObjectIdentity()

Creates an instance of MicrosoftGraphObjectIdentity class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: objectIdentity.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphObjectIdentity fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphObjectIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphObjectIdentity 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 MicrosoftGraphObjectIdentity.

issuer

public String issuer()

Get the issuer property: Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit.

Returns:

the issuer value.

issuerAssignedId

public String issuerAssignedId()

Get the issuerAssignedId property: Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 512 character limit.

Returns:

the issuerAssignedId value.

signInType

public String signInType()

Get the signInType property: Specifies the user sign-in types in your directory, such as emailAddress, userName or federated. Here, federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string.

Returns:

the signInType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphObjectIdentity withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: objectIdentity.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphObjectIdentity object itself.

withIssuer

public MicrosoftGraphObjectIdentity withIssuer(String issuer)

Set the issuer property: Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit.

Parameters:

issuer - the issuer value to set.

Returns:

the MicrosoftGraphObjectIdentity object itself.

withIssuerAssignedId

public MicrosoftGraphObjectIdentity withIssuerAssignedId(String issuerAssignedId)

Set the issuerAssignedId property: Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 512 character limit.

Parameters:

issuerAssignedId - the issuerAssignedId value to set.

Returns:

the MicrosoftGraphObjectIdentity object itself.

withSignInType

public MicrosoftGraphObjectIdentity withSignInType(String signInType)

Set the signInType property: Specifies the user sign-in types in your directory, such as emailAddress, userName or federated. Here, federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string.

Parameters:

signInType - the signInType value to set.

Returns:

the MicrosoftGraphObjectIdentity object itself.

Applies to