public final class AuthPlatform extends Object
| Constructor and Description |
|---|
AuthPlatform() |
| Modifier and Type | Method and Description |
|---|---|
String |
configFilePath()
Get the configFilePath property: The path of the config file containing auth settings if they come from a file.
|
Boolean |
enabled()
Get the enabled property: <code>true</code> if the Authentication / Authorization feature is enabled
for the current app; otherwise, <code>false</code>.
|
String |
runtimeVersion()
Get the runtimeVersion property: The RuntimeVersion of the Authentication / Authorization feature in use for the
current app.
|
void |
validate()
Validates the instance.
|
AuthPlatform |
withConfigFilePath(String configFilePath)
Set the configFilePath property: The path of the config file containing auth settings if they come from a file.
|
AuthPlatform |
withEnabled(Boolean enabled)
Set the enabled property: <code>true</code> if the Authentication / Authorization feature is enabled
for the current app; otherwise, <code>false</code>.
|
AuthPlatform |
withRuntimeVersion(String runtimeVersion)
Set the runtimeVersion property: The RuntimeVersion of the Authentication / Authorization feature in use for the
current app.
|
public Boolean enabled()
public AuthPlatform withEnabled(Boolean enabled)
enabled - the enabled value to set.public String runtimeVersion()
public AuthPlatform withRuntimeVersion(String runtimeVersion)
runtimeVersion - the runtimeVersion value to set.public String configFilePath()
public AuthPlatform withConfigFilePath(String configFilePath)
configFilePath - the configFilePath value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.