Security Class
- java.
lang. Object - com.
azure. resourcemanager. dashboard. models. Security
- com.
Implements
public final class Security
implements JsonSerializable<Security>
Grafana security settings.
Constructor Summary
| Constructor | Description |
|---|---|
| Security() |
Creates an instance of Security class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
csrfAlwaysCheck()
Get the csrf |
| static Security |
fromJson(JsonReader jsonReader)
Reads an instance of Security from the Json |
|
Json |
toJson(JsonWriter jsonWriter) |
| Security |
withCsrfAlwaysCheck(Boolean csrfAlwaysCheck)
Set the csrf |
Methods inherited from java.lang.Object
Constructor Details
Security
public Security()
Creates an instance of Security class.
Method Details
csrfAlwaysCheck
public Boolean csrfAlwaysCheck()
Get the csrfAlwaysCheck property: Set to true to execute the CSRF check even if the login cookie is not in a request (default false).
Returns:
fromJson
public static Security fromJson(JsonReader jsonReader)
Reads an instance of Security from the JsonReader.
Parameters:
Returns:
Throws:
toJson
withCsrfAlwaysCheck
public Security withCsrfAlwaysCheck(Boolean csrfAlwaysCheck)
Set the csrfAlwaysCheck property: Set to true to execute the CSRF check even if the login cookie is not in a request (default false).
Parameters:
Returns: