Class MicrosoftGraphOptionalClaims


  • public final class MicrosoftGraphOptionalClaims
    extends Object
    optionalClaims.
    • Constructor Detail

      • MicrosoftGraphOptionalClaims

        public MicrosoftGraphOptionalClaims()
    • Method Detail

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