HttpConnectionDispatcherOptions.EnableAuthenticationRefresh プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
trueに設定すると、クライアントが切断せずに認証トークンを更新できる/refresh エンドポイントが有効になります。 サーバーは要求を再認証し、接続の ClaimsPrincipalを更新します。
public bool EnableAuthenticationRefresh { get; set; }
member this.EnableAuthenticationRefresh : bool with get, set
Public Property EnableAuthenticationRefresh As Boolean
プロパティ値
注釈
また、 CloseOnAuthenticationExpiration を有効にして、認証が期限切れになる前に認証が更新されない場合に接続を閉じるようにすることをお勧めします。