AuthPlatform Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AuthPlatform
- com.
Implements
public final class AuthPlatform
implements JsonSerializable<AuthPlatform>
The configuration settings of the platform of App Service Authentication/Authorization.
Constructor Summary
Constructor | Description |
---|---|
AuthPlatform() |
Creates an instance of Auth |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
configFilePath()
Get the config |
Boolean |
enabled()
Get the enabled property: |
static
Auth |
fromJson(JsonReader jsonReader)
Reads an instance of Auth |
String |
runtimeVersion()
Get the runtime |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Auth |
withConfigFilePath(String configFilePath)
Set the config |
Auth |
withEnabled(Boolean enabled)
Set the enabled property: |
Auth |
withRuntimeVersion(String runtimeVersion)
Set the runtime |
Methods inherited from java.lang.Object
Constructor Details
AuthPlatform
public AuthPlatform()
Creates an instance of AuthPlatform class.
Method Details
configFilePath
public String configFilePath()
Get the configFilePath property: The path of the config file containing auth settings if they come from a file. If the path is relative, base will the site's root directory.
Returns:
enabled
public Boolean enabled()
Get the enabled property: true
if the Authentication / Authorization feature is enabled for the current app; otherwise, false
.
Returns:
fromJson
public static AuthPlatform fromJson(JsonReader jsonReader)
Reads an instance of AuthPlatform from the JsonReader.
Parameters:
Returns:
Throws:
runtimeVersion
public String runtimeVersion()
Get the runtimeVersion property: The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
Returns:
toJson
validate
public void validate()
Validates the instance.
withConfigFilePath
public AuthPlatform withConfigFilePath(String configFilePath)
Set the configFilePath property: The path of the config file containing auth settings if they come from a file. If the path is relative, base will the site's root directory.
Parameters:
Returns:
withEnabled
public AuthPlatform withEnabled(Boolean enabled)
Set the enabled property: true
if the Authentication / Authorization feature is enabled for the current app; otherwise, false
.
Parameters:
Returns:
withRuntimeVersion
public AuthPlatform withRuntimeVersion(String runtimeVersion)
Set the runtimeVersion property: The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
Parameters:
Returns:
Applies to
Azure SDK for Java