Authentication Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.Authentication

Implements

public class Authentication
implements JsonSerializable<Authentication>

The environment authentication details.

Constructor Summary

Constructor Description
Authentication()

Creates an instance of Authentication class.

Method Summary

Modifier and Type Method and Description
AuthenticationType authenticationType()

Get the authenticationType property: The authentication type.

static Authentication fromJson(JsonReader jsonReader)

Reads an instance of Authentication from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

Authentication

public Authentication()

Creates an instance of Authentication class.

Method Details

authenticationType

public AuthenticationType authenticationType()

Get the authenticationType property: The authentication type.

Returns:

the authenticationType value.

fromJson

public static Authentication fromJson(JsonReader jsonReader)

Reads an instance of Authentication from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to