Share via


FileSystemTokenStore Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.FileSystemTokenStore

Implements

public final class FileSystemTokenStore
implements JsonSerializable<FileSystemTokenStore>

The configuration settings of the storage of the tokens if a file system is used.

Constructor Summary

Constructor Description
FileSystemTokenStore()

Creates an instance of FileSystemTokenStore class.

Method Summary

Modifier and Type Method and Description
String directory()

Get the directory property: The directory in which the tokens will be stored.

static FileSystemTokenStore fromJson(JsonReader jsonReader)

Reads an instance of FileSystemTokenStore from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FileSystemTokenStore withDirectory(String directory)

Set the directory property: The directory in which the tokens will be stored.

Methods inherited from java.lang.Object

Constructor Details

FileSystemTokenStore

public FileSystemTokenStore()

Creates an instance of FileSystemTokenStore class.

Method Details

directory

public String directory()

Get the directory property: The directory in which the tokens will be stored.

Returns:

the directory value.

fromJson

public static FileSystemTokenStore fromJson(JsonReader jsonReader)

Reads an instance of FileSystemTokenStore from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDirectory

public FileSystemTokenStore withDirectory(String directory)

Set the directory property: The directory in which the tokens will be stored.

Parameters:

directory - the directory value to set.

Returns:

the FileSystemTokenStore object itself.

Applies to