DefaultClaimSet Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DefaultClaimSet class.
Overloads
DefaultClaimSet(IList<Claim>) |
Initializes a new instance of the DefaultClaimSet class, using the specified claims. |
DefaultClaimSet(Claim[]) |
Initializes a new instance of the DefaultClaimSet class, using the specified claims. |
DefaultClaimSet(ClaimSet, IList<Claim>) |
Initializes a new instance of the DefaultClaimSet class, using the specified claims. |
DefaultClaimSet(ClaimSet, Claim[]) |
Initializes a new instance of the DefaultClaimSet class, using the specified claims. |
DefaultClaimSet(IList<Claim>)
- Source:
- DefaultClaimSet.cs
Initializes a new instance of the DefaultClaimSet class, using the specified claims.
public:
DefaultClaimSet(System::Collections::Generic::IList<System::IdentityModel::Claims::Claim ^> ^ claims);
public DefaultClaimSet (System.Collections.Generic.IList<System.IdentityModel.Claims.Claim> claims);
new System.IdentityModel.Claims.DefaultClaimSet : System.Collections.Generic.IList<System.IdentityModel.Claims.Claim> -> System.IdentityModel.Claims.DefaultClaimSet
Public Sub New (claims As IList(Of Claim))
Parameters
Exceptions
claims
is null
.
Remarks
Use this constructor when the ClaimSet is self-issued. For example, a claim set for an anonymous user is self-issued.
This constructor calls the Initialize method.
Applies to
DefaultClaimSet(Claim[])
- Source:
- DefaultClaimSet.cs
Initializes a new instance of the DefaultClaimSet class, using the specified claims.
public:
DefaultClaimSet(... cli::array <System::IdentityModel::Claims::Claim ^> ^ claims);
public DefaultClaimSet (params System.IdentityModel.Claims.Claim[] claims);
new System.IdentityModel.Claims.DefaultClaimSet : System.IdentityModel.Claims.Claim[] -> System.IdentityModel.Claims.DefaultClaimSet
Public Sub New (ParamArray claims As Claim())
Parameters
Exceptions
claims
is null
.
Remarks
Use this constructor when the ClaimSet is self-issued. For example, a claim set for an anonymous user is self-issued.
This constructor calls the Initialize method.
Applies to
DefaultClaimSet(ClaimSet, IList<Claim>)
- Source:
- DefaultClaimSet.cs
Initializes a new instance of the DefaultClaimSet class, using the specified claims.
public:
DefaultClaimSet(System::IdentityModel::Claims::ClaimSet ^ issuer, System::Collections::Generic::IList<System::IdentityModel::Claims::Claim ^> ^ claims);
public DefaultClaimSet (System.IdentityModel.Claims.ClaimSet issuer, System.Collections.Generic.IList<System.IdentityModel.Claims.Claim> claims);
new System.IdentityModel.Claims.DefaultClaimSet : System.IdentityModel.Claims.ClaimSet * System.Collections.Generic.IList<System.IdentityModel.Claims.Claim> -> System.IdentityModel.Claims.DefaultClaimSet
Public Sub New (issuer As ClaimSet, claims As IList(Of Claim))
Parameters
- issuer
- ClaimSet
A ClaimSet object that specifies the issuer of the ClaimSet specified in the claims
parameter.
Exceptions
Remarks
This constructor calls the Initialize method.
Applies to
DefaultClaimSet(ClaimSet, Claim[])
- Source:
- DefaultClaimSet.cs
Initializes a new instance of the DefaultClaimSet class, using the specified claims.
public:
DefaultClaimSet(System::IdentityModel::Claims::ClaimSet ^ issuer, ... cli::array <System::IdentityModel::Claims::Claim ^> ^ claims);
public DefaultClaimSet (System.IdentityModel.Claims.ClaimSet issuer, params System.IdentityModel.Claims.Claim[] claims);
new System.IdentityModel.Claims.DefaultClaimSet : System.IdentityModel.Claims.ClaimSet * System.IdentityModel.Claims.Claim[] -> System.IdentityModel.Claims.DefaultClaimSet
Public Sub New (issuer As ClaimSet, ParamArray claims As Claim())
Parameters
- issuer
- ClaimSet
A ClaimSet object that specifies the issuer of the ClaimSet specified in the claims
parameter.
Exceptions
Remarks
This constructor calls the Initialize method.