IAuthenticationService インターフェイス

定義

認証を提供するために使用されます。

public interface class IAuthenticationService
public interface IAuthenticationService
type IAuthenticationService = interface
Public Interface IAuthenticationService
派生

メソッド

AuthenticateAsync(HttpContext, String)

指定した認証スキームに対して認証します。

ChallengeAsync(HttpContext, String, AuthenticationProperties)

指定した認証スキームにチャレンジします。 認証チャレンジは、認証されていないユーザーが認証を必要とするエンドポイントを要求したときに発行できます。

ForbidAsync(HttpContext, String, AuthenticationProperties)

指定された認証スキームを禁止します。 許可は、認証されたユーザーがアクセスを許可されていないリソースにアクセスしようとしたときに使用されます。

SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties)

指定した認証スキームのプリンシパルにサインインします。

SignOutAsync(HttpContext, String, AuthenticationProperties)

指定した認証スキームをサインアウトします。

拡張メソッド

GetTokenAsync(IAuthenticationService, HttpContext, String)

指定した認証スキームを使用して要求を認証し、トークンの値を返します。

GetTokenAsync(IAuthenticationService, HttpContext, String, String)

指定した認証スキームを使用して要求を認証し、トークンの値を返します。

適用対象