ClaimsIdentity コンストラクター 
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ClaimsIdentity クラスの新しいインスタンスを初期化します。
オーバーロード
ClaimsIdentity()
空の要求コレクションを使用して、ClaimsIdentity クラスの新しいインスタンスを初期化します。
public:
 ClaimsIdentity();
	public ClaimsIdentity ();
	Public Sub New ()
    	注釈
次の表に、ClaimsIdentity クラスのインスタンスの初期プロパティ値を示します。
| 財産 | 価値 | 
|---|---|
| Actor | 
              null. | 
| AuthenticationType | 
              null. | 
| BootstrapContext | 
              null. | 
| Claims | 空のコレクション。 | 
| IsAuthenticated | 注: アクセスすると、AuthenticationType プロパティの値に基づいて、IsAuthenticated プロパティの値が返されます。 | 
| Label | 
              null. | 
| Name | 注: アクセスすると、NameClaimType と Claims コレクションに基づいて、Name プロパティの値が返されます。 | 
| NameClaimType | DefaultNameClaimType. | 
| RoleClaimType | DefaultRoleClaimType. | 
適用対象
ClaimsIdentity(IIdentity, IEnumerable<Claim>, String, String, String)
指定した要求、認証の種類、名前要求の種類、およびロール要求の種類を使用して、指定した IIdentity から ClaimsIdentity クラスの新しいインスタンスを初期化します。
public:
 ClaimsIdentity(System::Security::Principal::IIdentity ^ identity, System::Collections::Generic::IEnumerable<System::Security::Claims::Claim ^> ^ claims, System::String ^ authenticationType, System::String ^ nameType, System::String ^ roleType);
	public ClaimsIdentity (System.Security.Principal.IIdentity identity, System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> claims, string authenticationType, string nameType, string roleType);
	public ClaimsIdentity (System.Security.Principal.IIdentity? identity, System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>? claims, string? authenticationType, string? nameType, string? roleType);
	new System.Security.Claims.ClaimsIdentity : System.Security.Principal.IIdentity * seq<System.Security.Claims.Claim> * string * string * string -> System.Security.Claims.ClaimsIdentity
	Public Sub New (identity As IIdentity, claims As IEnumerable(Of Claim), authenticationType As String, nameType As String, roleType As String)
	パラメーター
- identity
 - IIdentity
 
新しいクレーム ID の基となる ID。
- claims
 - IEnumerable<Claim>
 
新しい要求 ID を設定する要求。
- authenticationType
 - String
 
使用される認証の種類。
- nameType
 - String
 
名前要求に使用する要求の種類。
- roleType
 - String
 
ロール要求に使用する要求の種類。
例外
              identity は ClaimsIdentity であり、Actor は thisへの循環参照になります。
注釈
次の表に、ClaimsIdentity クラスのインスタンスの初期プロパティ値を示します。
| 財産 | 価値 | 
|---|---|
| Actor | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.Actor プロパティの値。それ以外の場合は、null。 | 
| AuthenticationType | 
              authenticationType パラメーター。 
              authenticationType パラメーターが null または空の文字列の場合は、identity.AuthenticationType (IIdentity.AuthenticationType) プロパティの値が使用されます。 | 
| BootstrapContext | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.BootStrapContext プロパティの値。それ以外の場合は、null。 | 
| Claims | 
              claims パラメーターから初期化されます。 
              identity が ClaimsIdentityから割り当て可能な場合、identity からの要求は、claims パラメーターで指定された要求の前に新しいインスタンスに追加されます。 | 
| IsAuthenticated | 注: アクセスすると、AuthenticationType プロパティの値に基づいて、IsAuthenticated プロパティの値が返されます。 | 
| Label | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.Label プロパティの値。それ以外の場合は、null。 | 
| Name | 
              identity が ClaimsIdentityから割り当てられない場合、nullされず、nullではない IIdentity.Name プロパティがあります。IIdentity.Name プロパティの値を使用して、新しいインスタンスに名前要求が追加されます。 
              注: アクセスすると、NameClaimType と Claims コレクションに基づいて、Name プロパティの値が返されます。 | 
| NameClaimType | 
              nameType パラメーターの値。 ただし、nameType パラメーターの値が null または空の文字列であり、identity が ClaimsIdentityから割り当て可能な場合は、identity.NameClaimType プロパティの値が使用されます。それ以外の場合は、DefaultNameClaimType が使用されます。 | 
| RoleClaimType | 
              roleClaimType パラメーターの値。 ただし、roleClaimType パラメーターの値が null または空の文字列と ID が ClaimsIdentityから割り当て可能な場合は、identity.RoleClaimType プロパティの値が使用されます。それ以外の場合は、DefaultRoleClaimType が使用されます。 | 
適用対象
ClaimsIdentity(IEnumerable<Claim>, String, String, String)
指定した要求、認証の種類、名前要求の種類、およびロール要求の種類を使用して、ClaimsIdentity クラスの新しいインスタンスを初期化します。
public:
 ClaimsIdentity(System::Collections::Generic::IEnumerable<System::Security::Claims::Claim ^> ^ claims, System::String ^ authenticationType, System::String ^ nameType, System::String ^ roleType);
	public ClaimsIdentity (System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> claims, string authenticationType, string nameType, string roleType);
	public ClaimsIdentity (System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>? claims, string? authenticationType, string? nameType, string? roleType);
	new System.Security.Claims.ClaimsIdentity : seq<System.Security.Claims.Claim> * string * string * string -> System.Security.Claims.ClaimsIdentity
	Public Sub New (claims As IEnumerable(Of Claim), authenticationType As String, nameType As String, roleType As String)
	パラメーター
- claims
 - IEnumerable<Claim>
 
要求 ID の設定に使用する要求。
- authenticationType
 - String
 
使用される認証の種類。
- nameType
 - String
 
名前要求に使用する要求の種類。
- roleType
 - String
 
ロール要求に使用する要求の種類。
注釈
次の表に、ClaimsIdentity クラスのインスタンスの初期プロパティ値を示します。
| 財産 | 価値 | 
|---|---|
| Actor | 
              null. | 
| AuthenticationType | 
              authenticationType パラメーターの値。 
              authenticationType パラメーターが null または空の文字列の場合、プロパティは nullに設定されます。 | 
| BootstrapContext | 
              null. | 
| Claims | 
              claims パラメーターから初期化されます。 | 
| IsAuthenticated | 注: アクセスすると、AuthenticationType プロパティの値に基づいて、IsAuthenticated プロパティの値が返されます。 | 
| Label | 
              null. | 
| Name | 注: アクセスすると、NameClaimType と Claims コレクションに基づいて、Name プロパティの値が返されます。 | 
| NameClaimType | 
              nameType パラメーターの値。 ただし、nameType パラメーターが null または空の文字列の場合、プロパティは DefaultNameClaimTypeに設定されます。 | 
| RoleClaimType | 
              roleClaimType パラメーターの値。 ただし、roleClaimType パラメーターが null または空の文字列の場合、プロパティは DefaultRoleClaimTypeに設定されます。 | 
適用対象
ClaimsIdentity(String, String, String)
指定した認証の種類、名前要求の種類、およびロール要求の種類を使用して、ClaimsIdentity クラスの新しいインスタンスを初期化します。
public:
 ClaimsIdentity(System::String ^ authenticationType, System::String ^ nameType, System::String ^ roleType);
	public ClaimsIdentity (string authenticationType, string nameType, string roleType);
	public ClaimsIdentity (string? authenticationType, string? nameType, string? roleType);
	new System.Security.Claims.ClaimsIdentity : string * string * string -> System.Security.Claims.ClaimsIdentity
	Public Sub New (authenticationType As String, nameType As String, roleType As String)
	パラメーター
- authenticationType
 - String
 
使用される認証の種類。
- nameType
 - String
 
名前要求に使用する要求の種類。
- roleType
 - String
 
ロール要求に使用する要求の種類。
注釈
次の表に、ClaimsIdentity クラスのインスタンスの初期プロパティ値を示します。
| 財産 | 価値 | 
|---|---|
| Actor | 
              null. | 
| AuthenticationType | 
              authenticationType パラメーターの値。 
              authenticationType パラメーターが null または空の文字列の場合、プロパティは nullに設定されます。 | 
| BootstrapContext | 
              null. | 
| Claims | 空のコレクション。 | 
| IsAuthenticated | 注: アクセスすると、AuthenticationType プロパティの値に基づいて、IsAuthenticated プロパティの値が返されます。 | 
| Label | 
              null. | 
| Name | 注: アクセスすると、NameClaimType と Claims コレクションに基づいて、Name プロパティの値が返されます。 | 
| NameClaimType | 
              nameType パラメーターの値。 
              nameType パラメーターが null または空の文字列の場合、プロパティは DefaultNameClaimTypeに設定されます。 | 
| RoleClaimType | 
              roleType パラメーターの値。 
              roleType パラメーターが null または空の文字列の場合、プロパティは DefaultRoleClaimTypeに設定されます。 | 
適用対象
ClaimsIdentity(SerializationInfo, StreamingContext)
注意事項
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
ISerializableを使用して作成されたシリアル化ストリームから、ClaimsIdentity クラスの新しいインスタンスを初期化します。
protected:
 ClaimsIdentity(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
	protected ClaimsIdentity (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
	[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected ClaimsIdentity (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
	[System.Security.SecurityCritical]
protected ClaimsIdentity (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
	new System.Security.Claims.ClaimsIdentity : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Security.Claims.ClaimsIdentity
	[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Security.Claims.ClaimsIdentity : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Security.Claims.ClaimsIdentity
	[<System.Security.SecurityCritical>]
new System.Security.Claims.ClaimsIdentity : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Security.Claims.ClaimsIdentity
	Protected Sub New (info As SerializationInfo, context As StreamingContext)
	パラメーター
- info
 - SerializationInfo
 
シリアル化されたデータ。
- context
 - StreamingContext
 
シリアル化のコンテキスト。
- 属性
 
例外
              info は nullです。
適用対象
ClaimsIdentity(IEnumerable<Claim>, String)
指定した要求と認証の種類を使用して、ClaimsIdentity クラスの新しいインスタンスを初期化します。
public:
 ClaimsIdentity(System::Collections::Generic::IEnumerable<System::Security::Claims::Claim ^> ^ claims, System::String ^ authenticationType);
	public ClaimsIdentity (System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> claims, string authenticationType);
	public ClaimsIdentity (System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>? claims, string? authenticationType);
	new System.Security.Claims.ClaimsIdentity : seq<System.Security.Claims.Claim> * string -> System.Security.Claims.ClaimsIdentity
	Public Sub New (claims As IEnumerable(Of Claim), authenticationType As String)
	パラメーター
- claims
 - IEnumerable<Claim>
 
要求 ID の設定に使用する要求。
- authenticationType
 - String
 
使用される認証の種類。
注釈
次の表に、ClaimsIdentity クラスのインスタンスの初期プロパティ値を示します。
| 財産 | 価値 | 
|---|---|
| Actor | 
              null. | 
| AuthenticationType | 
              authenticationType パラメーターの値。 
              authenticationType パラメーターが null または空の文字列の場合、プロパティは nullに設定されます。 | 
| BootstrapContext | 
              null. | 
| Claims | 
              claims パラメーターから初期化されます。 | 
| IsAuthenticated | 注: アクセスすると、AuthenticationType プロパティの値に基づいて、IsAuthenticated プロパティの値が返されます。 | 
| Label | 
              null. | 
| Name | 注: アクセスすると、NameClaimType と Claims コレクションに基づいて、Name プロパティの値が返されます。 | 
| NameClaimType | DefaultNameClaimType. | 
| RoleClaimType | DefaultRoleClaimType. | 
適用対象
ClaimsIdentity(IIdentity, IEnumerable<Claim>)
指定した要求と指定した IIdentityを使用して、ClaimsIdentity クラスの新しいインスタンスを初期化します。
public:
 ClaimsIdentity(System::Security::Principal::IIdentity ^ identity, System::Collections::Generic::IEnumerable<System::Security::Claims::Claim ^> ^ claims);
	public ClaimsIdentity (System.Security.Principal.IIdentity identity, System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> claims);
	public ClaimsIdentity (System.Security.Principal.IIdentity? identity, System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>? claims);
	new System.Security.Claims.ClaimsIdentity : System.Security.Principal.IIdentity * seq<System.Security.Claims.Claim> -> System.Security.Claims.ClaimsIdentity
	Public Sub New (identity As IIdentity, claims As IEnumerable(Of Claim))
	パラメーター
- identity
 - IIdentity
 
新しいクレーム ID の基となる ID。
- claims
 - IEnumerable<Claim>
 
要求 ID の設定に使用する要求。
注釈
次の表に、ClaimsIdentity クラスのインスタンスの初期プロパティ値を示します。
| 財産 | 価値 | 
|---|---|
| Actor | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.Actor プロパティの値。それ以外の場合は、null。 | 
| AuthenticationType | 
              authenticationType パラメーター。 
              authenticationType パラメーターが null または空の文字列の場合は、identity.AuthenticationType (IIdentity.AuthenticationType) プロパティの値が使用されます。 | 
| BootstrapContext | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.BootStrapContext プロパティの値。それ以外の場合は、null。 | 
| Claims | 
              claims パラメーターから初期化されます。 
              identity が ClaimsIdentityから割り当て可能な場合、identity からの要求は、claims パラメーターで指定された要求の前に新しいインスタンスに追加されます。 | 
| IsAuthenticated | 注: アクセスすると、AuthenticationType プロパティの値に基づいて、IsAuthenticated プロパティの値が返されます。 | 
| Label | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.Label プロパティの値。それ以外の場合は、null。 | 
| Name | 
              identity が ClaimsIdentityから割り当てられない場合、nullされず、nullではない IIdentity.Name プロパティがあります。IIdentity.Name プロパティの値を使用して、新しいインスタンスに名前要求が追加されます。 
              注: アクセスすると、NameClaimType と Claims コレクションに基づいて、Name プロパティの値が返されます。 | 
| NameClaimType | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.NameClaimType プロパティの値が使用されます。それ以外の場合は、DefaultNameClaimType が使用されます。 | 
| RoleClaimType | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.RoleClaimType プロパティの値が使用されます。それ以外の場合は、DefaultRoleClaimType が使用されます。 | 
適用対象
ClaimsIdentity(IIdentity)
指定した IIdentityの名前と認証の種類を使用して、ClaimsIdentity クラスの新しいインスタンスを初期化します。
public:
 ClaimsIdentity(System::Security::Principal::IIdentity ^ identity);
	public ClaimsIdentity (System.Security.Principal.IIdentity identity);
	public ClaimsIdentity (System.Security.Principal.IIdentity? identity);
	new System.Security.Claims.ClaimsIdentity : System.Security.Principal.IIdentity -> System.Security.Claims.ClaimsIdentity
	Public Sub New (identity As IIdentity)
	パラメーター
- identity
 - IIdentity
 
新しいクレーム ID の基となる ID。
注釈
次の表に、ClaimsIdentity クラスのインスタンスの初期プロパティ値を示します。
| 財産 | 価値 | 
|---|---|
| Actor | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.Actor プロパティの値。それ以外の場合は、null。 | 
| AuthenticationType | 
              identity.AuthenticationType (IIdentity.AuthenticationType) プロパティの値が使用されます。 | 
| BootstrapContext | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.BootStrapContext プロパティの値。それ以外の場合は、null。 | 
| Claims | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity からの要求が新しいインスタンスに追加されます。それ以外の場合は空のコレクション。 | 
| IsAuthenticated | 注: アクセスすると、AuthenticationType プロパティの値に基づいて、IsAuthenticated プロパティの値が返されます。 | 
| Label | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.Label プロパティの値。それ以外の場合は、null。 | 
| Name | 
              identity が ClaimsIdentityから割り当てられない場合、nullされず、nullではない IIdentity.Name プロパティがあります。IIdentity.Name プロパティの値を使用して、新しいインスタンスに名前要求が追加されます。 
              注: アクセスすると、NameClaimType と Claims コレクションに基づいて、Name プロパティの値が返されます。 | 
| NameClaimType | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.NameClaimType プロパティの値が使用されます。それ以外の場合は、DefaultNameClaimType が使用されます。 | 
| RoleClaimType | 
              identity が ClaimsIdentityから割り当て可能な場合は、identity.RoleClaimType プロパティの値が使用されます。それ以外の場合は、DefaultRoleClaimType が使用されます。 | 
適用対象
ClaimsIdentity(ClaimsIdentity)
既存の ClaimsIdentity インスタンスから ClaimsIdentity クラスの新しいインスタンスを初期化します。
protected:
 ClaimsIdentity(System::Security::Claims::ClaimsIdentity ^ other);
	protected ClaimsIdentity (System.Security.Claims.ClaimsIdentity other);
	new System.Security.Claims.ClaimsIdentity : System.Security.Claims.ClaimsIdentity -> System.Security.Claims.ClaimsIdentity
	Protected Sub New (other As ClaimsIdentity)
	パラメーター
- other
 - ClaimsIdentity
 
コピーする ClaimsIdentity。
例外
              other は nullです。
注釈
次の表は、コンストラクターに提供される ClaimsIdentity から ClaimsIdentity クラスのインスタンスに対するプロパティ値の割り当てを示しています。
| 財産 | 価値 | 
|---|---|
| Actor | 
              other.Actor プロパティの値が nullされていない場合、other.ActorClaimsIdentity は複製され、割り当てられます。それ以外の場合は、nullします。 | 
| AuthenticationType | 
              other.AuthenticationType プロパティの値。 | 
| BootstrapContext | 
              other.BootstrapContext プロパティの値。 | 
| Claims | 
              other.Claims プロパティ内のクレームの List<Claim> (存在する場合)。 | 
| Label | 
              other.Label プロパティの値。 | 
| NameClaimType | 
              other.NameClaimType プロパティの値。 | 
| RoleClaimType | 
              other.RoleClaimType プロパティの値。 | 
| CustomSerializationData | 
              other.CustomSerializationData が nullされていない場合、other.CustomSerializationData は複製され、割り当てられます。それ以外の場合は、null。 | 
適用対象
ClaimsIdentity(SerializationInfo)
注意事項
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
ISerializableを使用して作成されたシリアル化ストリームから、ClaimsIdentity クラスの新しいインスタンスを初期化します。
protected:
 ClaimsIdentity(System::Runtime::Serialization::SerializationInfo ^ info);
	protected ClaimsIdentity (System.Runtime.Serialization.SerializationInfo info);
	[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected ClaimsIdentity (System.Runtime.Serialization.SerializationInfo info);
	[System.Security.SecurityCritical]
protected ClaimsIdentity (System.Runtime.Serialization.SerializationInfo info);
	new System.Security.Claims.ClaimsIdentity : System.Runtime.Serialization.SerializationInfo -> System.Security.Claims.ClaimsIdentity
	[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Security.Claims.ClaimsIdentity : System.Runtime.Serialization.SerializationInfo -> System.Security.Claims.ClaimsIdentity
	[<System.Security.SecurityCritical>]
new System.Security.Claims.ClaimsIdentity : System.Runtime.Serialization.SerializationInfo -> System.Security.Claims.ClaimsIdentity
	Protected Sub New (info As SerializationInfo)
	パラメーター
- info
 - SerializationInfo
 
シリアル化されたデータ。
- 属性
 
例外
              info は nullです。
適用対象
ClaimsIdentity(BinaryReader)
指定した BinaryReaderを使用して、ClaimsIdentity のインスタンスを初期化します。
public:
 ClaimsIdentity(System::IO::BinaryReader ^ reader);
	public ClaimsIdentity (System.IO.BinaryReader reader);
	new System.Security.Claims.ClaimsIdentity : System.IO.BinaryReader -> System.Security.Claims.ClaimsIdentity
	Public Sub New (reader As BinaryReader)
	パラメーター
- reader
 - BinaryReader
 
例外
              reader は nullです。
注釈
通常、リーダーは、WriteToから返されたバイトから構築されます。
適用対象
ClaimsIdentity(IEnumerable<Claim>)
オブジェクトの列挙コレクションを使用して、ClaimsIdentity クラスの新しいインスタンス Claim 初期化します。
public:
 ClaimsIdentity(System::Collections::Generic::IEnumerable<System::Security::Claims::Claim ^> ^ claims);
	public ClaimsIdentity (System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> claims);
	public ClaimsIdentity (System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>? claims);
	new System.Security.Claims.ClaimsIdentity : seq<System.Security.Claims.Claim> -> System.Security.Claims.ClaimsIdentity
	Public Sub New (claims As IEnumerable(Of Claim))
	パラメーター
- claims
 - IEnumerable<Claim>
 
要求 ID の設定に使用する要求。
注釈
次の表に、ClaimsIdentity クラスのインスタンスの初期プロパティ値を示します。
| 財産 | 価値 | 
|---|---|
| Actor | 
              null. | 
| AuthenticationType | 
              null. | 
| BootstrapContext | 
              null. | 
| Claims | 
              claims パラメーターから初期化されます。 | 
| IsAuthenticated | 注: アクセスすると、AuthenticationType プロパティの値に基づいて、IsAuthenticated プロパティの値が返されます。 | 
| Label | 
              null. | 
| Name | 注: アクセスすると、NameClaimType と Claims コレクションに基づいて、Name プロパティの値が返されます。 | 
| NameClaimType | DefaultNameClaimType. | 
| RoleClaimType | DefaultRoleClaimType. | 
適用対象
ClaimsIdentity(String)
空のクレーム コレクションと指定した認証の種類を使用して、ClaimsIdentity クラスの新しいインスタンスを初期化します。
public:
 ClaimsIdentity(System::String ^ authenticationType);
	public ClaimsIdentity (string authenticationType);
	public ClaimsIdentity (string? authenticationType);
	new System.Security.Claims.ClaimsIdentity : string -> System.Security.Claims.ClaimsIdentity
	Public Sub New (authenticationType As String)
	パラメーター
- authenticationType
 - String
 
使用される認証の種類。
注釈
次の表に、ClaimsIdentity クラスのインスタンスの初期プロパティ値を示します。
| 財産 | 価値 | 
|---|---|
| Actor | 
              null. | 
| AuthenticationType | 
              authenticationType パラメーターの値。 
              authenticationType パラメーターが null または空の文字列の場合、プロパティは nullに設定されます。 | 
| BootstrapContext | 
              null. | 
| Claims | 空のコレクション。 | 
| IsAuthenticated | 注: アクセスすると、AuthenticationType プロパティの値に基づいて、IsAuthenticated プロパティの値が返されます。 | 
| Label | 
              null. | 
| Name | 注: アクセスすると、NameClaimType と Claims コレクションに基づいて、Name プロパティの値が返されます。 | 
| NameClaimType | DefaultNameClaimType. | 
| RoleClaimType | DefaultRoleClaimType. |