Muokkaa

Jaa


Saml2SecurityToken Constructors

Definition

Initializes a new instance of the Saml2SecurityToken class.

Overloads

Saml2SecurityToken(Saml2Assertion)

Initializes a new instance of the Saml2SecurityToken class using the specified SAML assertion.

Saml2SecurityToken(Saml2Assertion, ReadOnlyCollection<SecurityKey>, SecurityToken)

Initializes a new instance of the Saml2SecurityToken class using the specified SAML assertion, cryptographic keys and issuer token.

Saml2SecurityToken(Saml2Assertion)

Initializes a new instance of the Saml2SecurityToken class using the specified SAML assertion.

public:
 Saml2SecurityToken(System::IdentityModel::Tokens::Saml2Assertion ^ assertion);
public Saml2SecurityToken (System.IdentityModel.Tokens.Saml2Assertion assertion);
new System.IdentityModel.Tokens.Saml2SecurityToken : System.IdentityModel.Tokens.Saml2Assertion -> System.IdentityModel.Tokens.Saml2SecurityToken
Public Sub New (assertion As Saml2Assertion)

Parameters

assertion
Saml2Assertion

A Saml2Assertion that represents the SAML assertion for this security token.

Remarks

For Saml2SecurityToken security tokens, the claims are specified using a SAML assertion.

Applies to

Saml2SecurityToken(Saml2Assertion, ReadOnlyCollection<SecurityKey>, SecurityToken)

Initializes a new instance of the Saml2SecurityToken class using the specified SAML assertion, cryptographic keys and issuer token.

public:
 Saml2SecurityToken(System::IdentityModel::Tokens::Saml2Assertion ^ assertion, System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Tokens::SecurityKey ^> ^ keys, System::IdentityModel::Tokens::SecurityToken ^ issuerToken);
public Saml2SecurityToken (System.IdentityModel.Tokens.Saml2Assertion assertion, System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey> keys, System.IdentityModel.Tokens.SecurityToken issuerToken);
new System.IdentityModel.Tokens.Saml2SecurityToken : System.IdentityModel.Tokens.Saml2Assertion * System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey> * System.IdentityModel.Tokens.SecurityToken -> System.IdentityModel.Tokens.Saml2SecurityToken
Public Sub New (assertion As Saml2Assertion, keys As ReadOnlyCollection(Of SecurityKey), issuerToken As SecurityToken)

Parameters

assertion
Saml2Assertion

A Saml2Assertion that represents the SAML assertion for this security token.

keys
ReadOnlyCollection<SecurityKey>

The set of keys associated with this security token.

issuerToken
SecurityToken

The token of the issuer for this security token.

Remarks

For Saml2SecurityToken security tokens, the claims are specified using a SAML assertion.

Applies to