From a94ec16a1b5c2a433fe0e7811b46d46305b145a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Thu, 21 Jul 2016 20:12:50 +0200 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f75ea40e..171dd9ed 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,12 @@ public void ConfigureServices(IServiceCollection services) { .AllowPasswordFlow() // During development, you can disable the HTTPS requirement. - .DisableHttpsRequirement(); + .DisableHttpsRequirement() + + // Register a new ephemeral key, that is discarded when the application + // shuts down. Tokens signed using this key are automatically invalidated. + // This method should only be used during development. + .AddEphemeralSigningKey(); } ``` @@ -167,7 +172,12 @@ public void ConfigureServices(IServiceCollection services) { .AllowAuthorizationCodeFlow() // During development, you can disable the HTTPS requirement. - .DisableHttpsRequirement(); + .DisableHttpsRequirement() + + // Register a new ephemeral key, that is discarded when the application + // shuts down. Tokens signed using this key are automatically invalidated. + // This method should only be used during development. + .AddEphemeralSigningKey(); } ```