Class MicrosoftGraphImplicitGrantSettings
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphImplicitGrantSettings
implicitGrantSettings.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphImplicitGrantSettings class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: implicitGrantSettings.Get the enableAccessTokenIssuance property: Specifies whether this web application can request an access token using the OAuth 2.0 implicit flow.Get the enableIdTokenIssuance property: Specifies whether this web application can request an ID token using the OAuth 2.0 implicit flow.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: implicitGrantSettings.withEnableAccessTokenIssuance(Boolean enableAccessTokenIssuance) Set the enableAccessTokenIssuance property: Specifies whether this web application can request an access token using the OAuth 2.0 implicit flow.withEnableIdTokenIssuance(Boolean enableIdTokenIssuance) Set the enableIdTokenIssuance property: Specifies whether this web application can request an ID token using the OAuth 2.0 implicit flow.
-
Constructor Details
-
MicrosoftGraphImplicitGrantSettings
public MicrosoftGraphImplicitGrantSettings()Creates an instance of MicrosoftGraphImplicitGrantSettings class.
-
-
Method Details
-
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.
-
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.
-
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.
-
withEnableIdTokenIssuance
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.
-
additionalProperties
Get the additionalProperties property: implicitGrantSettings.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphImplicitGrantSettings withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: implicitGrantSettings.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphImplicitGrantSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-