MicrosoftGraphImplicitGrantSettings Class

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

Implements

public final class MicrosoftGraphImplicitGrantSettings
implements JsonSerializable<MicrosoftGraphImplicitGrantSettings>

implicitGrantSettings.

Constructor Summary

Constructor Description
MicrosoftGraphImplicitGrantSettings()

Creates an instance of MicrosoftGraphImplicitGrantSettings class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: implicitGrantSettings.

Boolean enableAccessTokenIssuance()

Get the enableAccessTokenIssuance property: Specifies whether this web application can request an access token using the OAuth 2.0 implicit flow.

Boolean enableIdTokenIssuance()

Get the enableIdTokenIssuance property: Specifies whether this web application can request an ID token using the OAuth 2.0 implicit flow.

static MicrosoftGraphImplicitGrantSettings fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphImplicitGrantSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphImplicitGrantSettings withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: implicitGrantSettings.

MicrosoftGraphImplicitGrantSettings withEnableAccessTokenIssuance(Boolean enableAccessTokenIssuance)

Set the enableAccessTokenIssuance property: Specifies whether this web application can request an access token using the OAuth 2.0 implicit flow.

MicrosoftGraphImplicitGrantSettings withEnableIdTokenIssuance(Boolean enableIdTokenIssuance)

Set the enableIdTokenIssuance property: Specifies whether this web application can request an ID token using the OAuth 2.0 implicit flow.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphImplicitGrantSettings

public MicrosoftGraphImplicitGrantSettings()

Creates an instance of MicrosoftGraphImplicitGrantSettings class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: implicitGrantSettings.

Returns:

the additionalProperties value.

enableAccessTokenIssuance

public Boolean enableAccessTokenIssuance()

Get the enableAccessTokenIssuance property: Specifies whether this web application can request an access token using the OAuth 2.0 implicit flow.

Returns:

the enableAccessTokenIssuance value.

enableIdTokenIssuance

public Boolean enableIdTokenIssuance()

Get the enableIdTokenIssuance property: Specifies whether this web application can request an ID token using the OAuth 2.0 implicit flow.

Returns:

the enableIdTokenIssuance value.

fromJson

public static MicrosoftGraphImplicitGrantSettings fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphImplicitGrantSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphImplicitGrantSettings 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 MicrosoftGraphImplicitGrantSettings.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphImplicitGrantSettings withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: implicitGrantSettings.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphImplicitGrantSettings object itself.

withEnableAccessTokenIssuance

public MicrosoftGraphImplicitGrantSettings withEnableAccessTokenIssuance(Boolean enableAccessTokenIssuance)

Set the enableAccessTokenIssuance property: Specifies whether this web application can request an access token using the OAuth 2.0 implicit flow.

Parameters:

enableAccessTokenIssuance - the enableAccessTokenIssuance value to set.

Returns:

the MicrosoftGraphImplicitGrantSettings object itself.

withEnableIdTokenIssuance

public MicrosoftGraphImplicitGrantSettings withEnableIdTokenIssuance(Boolean enableIdTokenIssuance)

Set the enableIdTokenIssuance property: Specifies whether this web application can request an ID token using the OAuth 2.0 implicit flow.

Parameters:

enableIdTokenIssuance - the enableIdTokenIssuance value to set.

Returns:

the MicrosoftGraphImplicitGrantSettings object itself.

Applies to