MicrosoftGraphWebApplication Class

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

Implements

public final class MicrosoftGraphWebApplication
implements JsonSerializable<MicrosoftGraphWebApplication>

webApplication.

Constructor Summary

Constructor Description
MicrosoftGraphWebApplication()

Creates an instance of MicrosoftGraphWebApplication class.

Method Summary

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

Get the additionalProperties property: webApplication.

static MicrosoftGraphWebApplication fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWebApplication from the JsonReader.

String homePageUrl()

Get the homePageUrl property: Home page or landing page of the application.

MicrosoftGraphImplicitGrantSettings implicitGrantSettings()

Get the implicitGrantSettings property: implicitGrantSettings.

String logoutUrl()

Get the logoutUrl property: Specifies the URL that will be used by Microsoft's authorization service to logout an user using front-channel, back-channel or SAML logout protocols.

List<String> redirectUris()

Get the redirectUris property: Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphWebApplication withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: webApplication.

MicrosoftGraphWebApplication withHomePageUrl(String homePageUrl)

Set the homePageUrl property: Home page or landing page of the application.

MicrosoftGraphWebApplication withImplicitGrantSettings(MicrosoftGraphImplicitGrantSettings implicitGrantSettings)

Set the implicitGrantSettings property: implicitGrantSettings.

MicrosoftGraphWebApplication withLogoutUrl(String logoutUrl)

Set the logoutUrl property: Specifies the URL that will be used by Microsoft's authorization service to logout an user using front-channel, back-channel or SAML logout protocols.

MicrosoftGraphWebApplication withRedirectUris(List<String> redirectUris)

Set the redirectUris property: Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWebApplication

public MicrosoftGraphWebApplication()

Creates an instance of MicrosoftGraphWebApplication class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: webApplication.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphWebApplication fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWebApplication from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

homePageUrl

public String homePageUrl()

Get the homePageUrl property: Home page or landing page of the application.

Returns:

the homePageUrl value.

implicitGrantSettings

public MicrosoftGraphImplicitGrantSettings implicitGrantSettings()

Get the implicitGrantSettings property: implicitGrantSettings.

Returns:

the implicitGrantSettings value.

logoutUrl

public String logoutUrl()

Get the logoutUrl property: Specifies the URL that will be used by Microsoft's authorization service to logout an user using front-channel, back-channel or SAML logout protocols.

Returns:

the logoutUrl value.

redirectUris

public List redirectUris()

Get the redirectUris property: Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent.

Returns:

the redirectUris value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphWebApplication withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: webApplication.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWebApplication object itself.

withHomePageUrl

public MicrosoftGraphWebApplication withHomePageUrl(String homePageUrl)

Set the homePageUrl property: Home page or landing page of the application.

Parameters:

homePageUrl - the homePageUrl value to set.

Returns:

the MicrosoftGraphWebApplication object itself.

withImplicitGrantSettings

public MicrosoftGraphWebApplication withImplicitGrantSettings(MicrosoftGraphImplicitGrantSettings implicitGrantSettings)

Set the implicitGrantSettings property: implicitGrantSettings.

Parameters:

implicitGrantSettings - the implicitGrantSettings value to set.

Returns:

the MicrosoftGraphWebApplication object itself.

withLogoutUrl

public MicrosoftGraphWebApplication withLogoutUrl(String logoutUrl)

Set the logoutUrl property: Specifies the URL that will be used by Microsoft's authorization service to logout an user using front-channel, back-channel or SAML logout protocols.

Parameters:

logoutUrl - the logoutUrl value to set.

Returns:

the MicrosoftGraphWebApplication object itself.

withRedirectUris

public MicrosoftGraphWebApplication withRedirectUris(List redirectUris)

Set the redirectUris property: Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent.

Parameters:

redirectUris - the redirectUris value to set.

Returns:

the MicrosoftGraphWebApplication object itself.

Applies to