Autoformat

This commit is contained in:
edvraa
2021-04-27 20:46:55 +03:00
parent 65fb46af3d
commit 74cb61a475
2 changed files with 3 additions and 4 deletions

View File

@@ -86,9 +86,7 @@ class HttpCookiesElement extends XMLElement {
/**
* Holds if there any chance that `httpOnlyCookies` is set to `true`.
*/
predicate isHttpOnlyCookies() {
getHttpOnlyCookies() = "true"
}
predicate isHttpOnlyCookies() { getHttpOnlyCookies() = "true" }
string getRequireSSL() { result = getAttribute("requireSSL").getValue().trim().toLowerCase() }

View File

@@ -322,7 +322,8 @@ class MicrosoftAspNetCoreBuilderCookiePolicyOptions extends RefType {
/** The `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions` class. */
class MicrosoftAspNetCoreAuthenticationCookiesCookieAuthenticationOptions extends RefType {
MicrosoftAspNetCoreAuthenticationCookiesCookieAuthenticationOptions() {
this.hasQualifiedName("Microsoft.AspNetCore.Authentication.Cookies", "CookieAuthenticationOptions")
this.hasQualifiedName("Microsoft.AspNetCore.Authentication.Cookies",
"CookieAuthenticationOptions")
}
}