Class MicrosoftGraphOptionalClaims
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOptionalClaims
optionalClaims.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphOptionalClaims class. -
Method Summary
Modifier and TypeMethodDescriptionGet the accessToken property: The optional claims returned in the JWT access token.Get the additionalProperties property: optionalClaims.idToken()Get the idToken property: The optional claims returned in the JWT ID token.Get the saml2Token property: The optional claims returned in the SAML token.voidvalidate()Validates the instance.withAccessToken(List<MicrosoftGraphOptionalClaim> accessToken) Set the accessToken property: The optional claims returned in the JWT access token.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: optionalClaims.withIdToken(List<MicrosoftGraphOptionalClaim> idToken) Set the idToken property: The optional claims returned in the JWT ID token.withSaml2Token(List<MicrosoftGraphOptionalClaim> saml2Token) Set the saml2Token property: The optional claims returned in the SAML token.
-
Constructor Details
-
MicrosoftGraphOptionalClaims
public MicrosoftGraphOptionalClaims()Creates an instance of MicrosoftGraphOptionalClaims class.
-
-
Method Details
-
accessToken
Get the accessToken property: The optional claims returned in the JWT access token.- Returns:
- the accessToken value.
-
withAccessToken
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
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
Get the saml2Token property: The optional claims returned in the SAML token.- Returns:
- the saml2Token value.
-
withSaml2Token
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
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.
-