你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphObjectIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphObjectIdentity
- com.
Implements
public final class MicrosoftGraphObjectIdentity
implements JsonSerializable<MicrosoftGraphObjectIdentity>
objectIdentity.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphObjectIdentity() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
issuer()
Get the issuer property: Specifies the issuer of the identity, for example facebook. |
String |
issuerAssignedId()
Get the issuer |
String |
signInType()
Get the sign |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withIssuer(String issuer)
Set the issuer property: Specifies the issuer of the identity, for example facebook. |
Microsoft |
withIssuerAssignedId(String issuerAssignedId)
Set the issuer |
Microsoft |
withSignInType(String signInType)
Set the sign |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphObjectIdentity
public MicrosoftGraphObjectIdentity()
Creates an instance of MicrosoftGraphObjectIdentity class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: objectIdentity.
Returns:
fromJson
public static MicrosoftGraphObjectIdentity fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphObjectIdentity from the JsonReader.
Parameters:
Returns:
Throws:
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:
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:
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:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphObjectIdentity withAdditionalProperties(Map
Set the additionalProperties property: objectIdentity.
Parameters:
Returns:
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:
Returns:
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:
Returns:
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:
Returns: