Saml2SecurityTokenHandler.ResolveSecurityKeys Method
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.
Resolves the collection of SecurityKey referenced in a Saml2Assertion.
protected:
virtual System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Tokens::SecurityKey ^> ^ ResolveSecurityKeys(System::IdentityModel::Tokens::Saml2Assertion ^ assertion, System::IdentityModel::Selectors::SecurityTokenResolver ^ resolver);
protected virtual System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey> ResolveSecurityKeys (System.IdentityModel.Tokens.Saml2Assertion assertion, System.IdentityModel.Selectors.SecurityTokenResolver resolver);
abstract member ResolveSecurityKeys : System.IdentityModel.Tokens.Saml2Assertion * System.IdentityModel.Selectors.SecurityTokenResolver -> System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey>
override this.ResolveSecurityKeys : System.IdentityModel.Tokens.Saml2Assertion * System.IdentityModel.Selectors.SecurityTokenResolver -> System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey>
Protected Overridable Function ResolveSecurityKeys (assertion As Saml2Assertion, resolver As SecurityTokenResolver) As ReadOnlyCollection(Of SecurityKey)
Parameters
- assertion
- Saml2Assertion
The Saml2Assertion to process.
- resolver
- SecurityTokenResolver
The SecurityTokenResolver to use in resolving the SecurityKey objects.
Returns
A collection of type SecurityKey that contains the keys.
Exceptions
assertion
is null
.
The handler is unable to resolve the keys.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.