Partager via


MicrosoftGraphOptionalClaims Class

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

Implements

public final class MicrosoftGraphOptionalClaims
implements JsonSerializable<MicrosoftGraphOptionalClaims>

optionalClaims.

Constructor Summary

Constructor Description
MicrosoftGraphOptionalClaims()

Creates an instance of MicrosoftGraphOptionalClaims class.

Method Summary

Modifier and Type Method and 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.

static MicrosoftGraphOptionalClaims fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOptionalClaims from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOptionalClaims

public MicrosoftGraphOptionalClaims()

Creates an instance of MicrosoftGraphOptionalClaims class.

Method Details

accessToken

public List accessToken()

Get the accessToken property: The optional claims returned in the JWT access token.

Returns:

the accessToken value.

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: optionalClaims.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphOptionalClaims fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOptionalClaims from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphOptionalClaims if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphOptionalClaims.

idToken

public List idToken()

Get the idToken property: The optional claims returned in the JWT ID token.

Returns:

the idToken value.

saml2Token

public List saml2Token()

Get the saml2Token property: The optional claims returned in the SAML token.

Returns:

the saml2Token value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAccessToken

public MicrosoftGraphOptionalClaims withAccessToken(List 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.

withAdditionalProperties

public MicrosoftGraphOptionalClaims withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: optionalClaims.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOptionalClaims object itself.

withIdToken

public MicrosoftGraphOptionalClaims withIdToken(List 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.

withSaml2Token

public MicrosoftGraphOptionalClaims withSaml2Token(List 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.

Applies to