SPIssuerTokenResolver.TryResolveTokenCore method (SecurityKeyIdentifierClause, SecurityToken)
Resolves the key identifier clause to a security token.
Namespace: Microsoft.SharePoint.IdentityModel
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Protected Overrides Function TryResolveTokenCore ( _
keyIdentifierClause As SecurityKeyIdentifierClause, _
<OutAttribute> ByRef token As SecurityToken _
) As Boolean
'Usage
Dim keyIdentifierClause As SecurityKeyIdentifierClause
Dim token As SecurityToken
Dim returnValue As Boolean
returnValue = Me.TryResolveTokenCore(keyIdentifierClause, _
token)
protected override bool TryResolveTokenCore(
SecurityKeyIdentifierClause keyIdentifierClause,
out SecurityToken token
)
Parameters
keyIdentifierClause
Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClauseThe key identifier clause to resolve.
token
Type: System.IdentityModel.Tokens.SecurityTokenThe resolved security token.
Return value
Type: System.Boolean
Returns true if successfully resolved otherwise false..
Remarks
This method resolves the key identifier clause based on the signing certificate of the login provider.