MicrosoftGraphPublicClientApplication Class

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

Implements

public final class MicrosoftGraphPublicClientApplication
implements JsonSerializable<MicrosoftGraphPublicClientApplication>

publicClientApplication.

Constructor Summary

Constructor Description
MicrosoftGraphPublicClientApplication()

Creates an instance of MicrosoftGraphPublicClientApplication class.

Method Summary

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

Get the additionalProperties property: publicClientApplication.

static MicrosoftGraphPublicClientApplication fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPublicClientApplication from the JsonReader.

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.

MicrosoftGraphPublicClientApplication withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: publicClientApplication.

MicrosoftGraphPublicClientApplication 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

MicrosoftGraphPublicClientApplication

public MicrosoftGraphPublicClientApplication()

Creates an instance of MicrosoftGraphPublicClientApplication class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: publicClientApplication.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphPublicClientApplication fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPublicClientApplication from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 MicrosoftGraphPublicClientApplication withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: publicClientApplication.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphPublicClientApplication object itself.

withRedirectUris

public MicrosoftGraphPublicClientApplication 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 MicrosoftGraphPublicClientApplication object itself.

Applies to