Fix grammatical mistake (#3026)

pull/3029/head
Ibrahim Islam 2017-03-21 22:22:19 +06:00 committed by Tom Dykstra
parent 19e3aa194b
commit 68724aeff1
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ await HttpContext.Authentication.SignInAsync(
});
```
This code snippet will create an identity and corresponding cookie which will be survive through browser closures. Any sliding expiration settings previously configured via [cookie options](xref:security/authentication/cookie#security-authentication-cookie-options) will still be honored, if the cookie expires whilst the browser is closed the browser will clear it once it is restarted.
This code snippet will create an identity and corresponding cookie which will survive through browser closures. Any sliding expiration settings previously configured via [cookie options](xref:security/authentication/cookie#security-authentication-cookie-options) will still be honored, if the cookie expires whilst the browser is closed the browser will clear it once it is restarted.
<a name=security-authentication-absolute-expiry></a>
@ -181,6 +181,6 @@ await HttpContext.Authentication.SignInAsync(
});
```
This code snippet will create an identity and corresponding cookie which will be last for 20 minutes. This ignores any sliding expiration settings previously configured via [cookie options](xref:security/authentication/cookie#security-authentication-cookie-options).
This code snippet will create an identity and corresponding cookie which will last for 20 minutes. This ignores any sliding expiration settings previously configured via [cookie options](xref:security/authentication/cookie#security-authentication-cookie-options).
The ExpiresUtc and IsPersistent properties are mutually exclusive.