CookieAppBuilderExtensions クラス

定義

HTTP アプリケーション パイプラインに Cookie 認証機能を追加するための拡張メソッド。

public ref class CookieAppBuilderExtensions abstract sealed
public static class CookieAppBuilderExtensions
type CookieAppBuilderExtensions = class
Public Module CookieAppBuilderExtensions
継承
CookieAppBuilderExtensions

メソッド

UseCookieAuthentication(IApplicationBuilder)
古い.
古い.

UseCookieAuthentication は廃止されました。 AddAuthentication() を使用して Cookie 認証を構成します。ConfigureServices の AddCookie。 詳細については、 https://go.microsoft.com/fwlink/?linkid=845470 をご覧ください。

UseCookieAuthentication(IApplicationBuilder, CookieAuthenticationOptions)
古い.
古い.

UseCookieAuthentication は廃止されました。 AddAuthentication() を使用して Cookie 認証を構成します。ConfigureServices の AddCookie。 詳細については、 https://go.microsoft.com/fwlink/?linkid=845470 をご覧ください。

UseCookieAuthentication(IApplicationBuilder, CookieAuthenticationOptions)

指定した CookieAuthenticationMiddlewareIApplicationBuilderにミドルウェアを追加します。これにより、Cookie 認証機能が有効になります。

適用対象