Class MicrosoftGraphObjectIdentity

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

public final class MicrosoftGraphObjectIdentity extends Object
objectIdentity.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of MicrosoftGraphObjectIdentity class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the additionalProperties property: objectIdentity.
    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.
    void
    Validates the instance.
    withAdditionalProperties(Map<String,Object> additionalProperties)
    Set the additionalProperties property: objectIdentity.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MicrosoftGraphObjectIdentity

      public MicrosoftGraphObjectIdentity()
      Creates an instance of MicrosoftGraphObjectIdentity class.
  • Method Details

    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • additionalProperties

      public Map<String,Object> 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.