Skip to content

Commit 0138bf1

Browse files
authored
Update customize-authentication-session-expiration.md
1 parent e070cd6 commit 0138bf1

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

support/entra/entra-id/app-integration/customize-authentication-session-expiration.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -124,19 +124,6 @@ public void ConfigureServices(IServiceCollection services)
124124

125125
//...
126126
}
127-
128-
```csharp
129-
app.UseCookieAuthentication(new CookieAuthenticationOptions()
130-
{
131-
CookieManager = new Microsoft.Owin.Host.SystemWeb.SystemWebChunkingCookieManager(),
132-
Provider = new CookieAuthenticationProvider()
133-
{
134-
OnResponseSignIn = (context) =>
135-
{
136-
context.Properties.ExpiresUtc = DateTimeOffset.UtcNow.AddHours(12);
137-
}
138-
}
139-
});
140127
```
141128

142129
If you're using `Microsoft.Identity.Web` to add your Microsoft Entra ID configuration:

0 commit comments

Comments
 (0)