Class MicrosoftGraphObjectIdentity
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphObjectIdentity
objectIdentity.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphObjectIdentity class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: objectIdentity.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.Get the issuerAssignedId property: Specifies the unique identifier assigned to the user by the issuer.Get the signInType property: Specifies the user sign-in types in your directory, such as emailAddress, userName or federated.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: objectIdentity.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.withIssuerAssignedId(String issuerAssignedId) Set the issuerAssignedId property: Specifies the unique identifier assigned to the user by the issuer.withSignInType(String signInType) Set the signInType property: Specifies the user sign-in types in your directory, such as emailAddress, userName or federated.
-
Constructor Details
-
MicrosoftGraphObjectIdentity
public MicrosoftGraphObjectIdentity()Creates an instance of MicrosoftGraphObjectIdentity class.
-
-
Method Details
-
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.
-
withIssuer
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.
-
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.
-
withIssuerAssignedId
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.
-
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.
-
withSignInType
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.
-
additionalProperties
Get the additionalProperties property: objectIdentity.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphObjectIdentity withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: objectIdentity.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphObjectIdentity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-