Class MicrosoftGraphOptionalClaims

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

public final class MicrosoftGraphOptionalClaims extends Object
optionalClaims.
  • Constructor Details

    • MicrosoftGraphOptionalClaims

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

    • accessToken

      public List<MicrosoftGraphOptionalClaim> accessToken()
      Get the accessToken property: The optional claims returned in the JWT access token.
      Returns:
      the accessToken value.
    • withAccessToken

      public MicrosoftGraphOptionalClaims withAccessToken(List<MicrosoftGraphOptionalClaim> accessToken)
      Set the accessToken property: The optional claims returned in the JWT access token.
      Parameters:
      accessToken - the accessToken value to set.
      Returns:
      the MicrosoftGraphOptionalClaims object itself.
    • idToken

      public List<MicrosoftGraphOptionalClaim> idToken()
      Get the idToken property: The optional claims returned in the JWT ID token.
      Returns:
      the idToken value.
    • withIdToken

      Set the idToken property: The optional claims returned in the JWT ID token.
      Parameters:
      idToken - the idToken value to set.
      Returns:
      the MicrosoftGraphOptionalClaims object itself.
    • saml2Token

      public List<MicrosoftGraphOptionalClaim> saml2Token()
      Get the saml2Token property: The optional claims returned in the SAML token.
      Returns:
      the saml2Token value.
    • withSaml2Token

      public MicrosoftGraphOptionalClaims withSaml2Token(List<MicrosoftGraphOptionalClaim> saml2Token)
      Set the saml2Token property: The optional claims returned in the SAML token.
      Parameters:
      saml2Token - the saml2Token value to set.
      Returns:
      the MicrosoftGraphOptionalClaims object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: optionalClaims.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphOptionalClaims withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: optionalClaims.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphOptionalClaims object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.