Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Resolves the given SecurityKeyIdentifier to a SecurityToken.
Namespace: Microsoft.SharePoint.IdentityModel
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Protected Overrides Function TryResolveTokenCore ( _
keyIdentifier As SecurityKeyIdentifier, _
<OutAttribute> ByRef token As SecurityToken _
) As Boolean
'Usage
Dim keyIdentifier As SecurityKeyIdentifier
Dim token As SecurityToken
Dim returnValue As Boolean
returnValue = Me.TryResolveTokenCore(keyIdentifier, _
token)
protected override bool TryResolveTokenCore(
SecurityKeyIdentifier keyIdentifier,
out SecurityToken token
)
Parameters
keyIdentifier
Type: System.IdentityModel.Tokens.SecurityKeyIdentifierSecurityKeyIdentifier to resolve.
token
Type: System.IdentityModel.Tokens.SecurityTokenThe resolved SecurityToken.
Return Value
Type: System.Boolean
Returns Booleantrue if successfully resolved otherwise false..
Remarks
This method calls the TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken) method with the SecurityKeyIdentifierClause objects in keyIdentifier.