Class MicrosoftGraphOptionalClaims
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOptionalClaims
-
public final class MicrosoftGraphOptionalClaims extends Object
optionalClaims.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOptionalClaims()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MicrosoftGraphOptionalClaim>
accessToken()
Get the accessToken property: The optional claims returned in the JWT access token.Map<String,Object>
additionalProperties()
Get the additionalProperties property: optionalClaims.List<MicrosoftGraphOptionalClaim>
idToken()
Get the idToken property: The optional claims returned in the JWT ID token.List<MicrosoftGraphOptionalClaim>
saml2Token()
Get the saml2Token property: The optional claims returned in the SAML token.void
validate()
Validates the instance.MicrosoftGraphOptionalClaims
withAccessToken(List<MicrosoftGraphOptionalClaim> accessToken)
Set the accessToken property: The optional claims returned in the JWT access token.MicrosoftGraphOptionalClaims
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: optionalClaims.MicrosoftGraphOptionalClaims
withIdToken(List<MicrosoftGraphOptionalClaim> idToken)
Set the idToken property: The optional claims returned in the JWT ID token.MicrosoftGraphOptionalClaims
withSaml2Token(List<MicrosoftGraphOptionalClaim> saml2Token)
Set the saml2Token property: The optional claims returned in the SAML token.
-
-
-
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.
-
withIdToken
public MicrosoftGraphOptionalClaims withIdToken(List<MicrosoftGraphOptionalClaim> idToken)
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.
-
-