0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AuthenticationType というプロパティについて

Last updated at Posted at 2017-03-19

AuthenticationType というプロパティについて

本当はOwinのAuthenticationTypeについて調べていたが、ほかにもいろいろあることが分かった。
そのメモ。

①IAuthenticationModule.AuthenticationType プロパティ

名前空間: System.Net
 
 認証モジュールが提供する認証の種類を示す文字列。
 AuthenticationType プロパティは、認証モジュールによって実装される認証の種類を識別します。
 AuthenticationType プロパティは、認証モジュールが登録されているかどうかを判断するために AuthenticationManager.Register メソッドで使用し、登録された認証モジュールを削除するために AuthenticationManager.Unregister メソッドで使用します。

②IIdentity.AuthenticationType プロパティ

名前空間: System.Security.Principal

 ユーザーを識別するために使用する認証の種類
 認証の種類は、オペレーティング システムまたは別の認証プロバイダーによって、共通言語ランタイムに渡されます。
 基本認証、NTLM、Kerberos、および Passport は、認証の種類の例を示します。

③AuthenticationOptions.AuthenticationTypeプロパティ

名前空間: Microsoft.Owin.Security

 オプションのAuthenticationTypeは、IIdentity AuthenticationTypeプロパティに対応します。
 パイプラインで同じ認証ミドルウェアタイプを複数回使用するために、異なる値を割り当てることができます。

②と③は関連がありそう。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?