SecurityContextSecurityTokenResolver.TryResolveTokenCore 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.
Attempts to resolve the token, given a specified key identifier.
Overloads
TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken) |
Attempts to resolve the token, given a specified key identifier. |
TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken) |
Attempts to resolve the token, given a specified key identifier clause. |
TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)
Attempts to resolve the token, given a specified key identifier.
protected:
override bool TryResolveTokenCore(System::IdentityModel::Tokens::SecurityKeyIdentifier ^ keyIdentifier, [Runtime::InteropServices::Out] System::IdentityModel::Tokens::SecurityToken ^ % token);
protected override bool TryResolveTokenCore (System.IdentityModel.Tokens.SecurityKeyIdentifier keyIdentifier, out System.IdentityModel.Tokens.SecurityToken token);
override this.TryResolveTokenCore : System.IdentityModel.Tokens.SecurityKeyIdentifier * SecurityToken -> bool
Protected Overrides Function TryResolveTokenCore (keyIdentifier As SecurityKeyIdentifier, ByRef token As SecurityToken) As Boolean
Parameters
- keyIdentifier
- SecurityKeyIdentifier
The security key identifier.
- token
- SecurityToken
When this method returns, contains the resolved key core. This parameter is passed uninitialized.
Returns
true
if the key token was successfully resolved; otherwise, false
.
Applies to
TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)
Attempts to resolve the token, given a specified key identifier clause.
protected:
override bool TryResolveTokenCore(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause, [Runtime::InteropServices::Out] System::IdentityModel::Tokens::SecurityToken ^ % token);
protected override bool TryResolveTokenCore (System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause, out System.IdentityModel.Tokens.SecurityToken token);
override this.TryResolveTokenCore : System.IdentityModel.Tokens.SecurityKeyIdentifierClause * SecurityToken -> bool
Protected Overrides Function TryResolveTokenCore (keyIdentifierClause As SecurityKeyIdentifierClause, ByRef token As SecurityToken) As Boolean
Parameters
- keyIdentifierClause
- SecurityKeyIdentifierClause
The security key identifier clause.
- token
- SecurityToken
When this method returns, contains the resolved key core. This parameter is passed uninitialized.
Returns
true
if the key token was successfully resolved; otherwise, false
.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈