Language

HttpConnectionDispatcherOptions.EnableAuthenticationRefresh プロパティ

定義

trueに設定すると、クライアントが切断せずに認証トークンを更新できる/refresh エンドポイントが有効になります。 サーバーは要求を再認証し、接続の ClaimsPrincipalを更新します。

public bool EnableAuthenticationRefresh { get; set; }
member this.EnableAuthenticationRefresh : bool with get, set
Public Property EnableAuthenticationRefresh As Boolean

プロパティ値

注釈

また、 CloseOnAuthenticationExpiration を有効にして、認証が期限切れになる前に認証が更新されない場合に接続を閉じるようにすることをお勧めします。

適用対象