次の方法で共有


SPIssuerTokenResolver.TryResolveTokenCore method (SecurityKeyIdentifier, SecurityToken)

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

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.

See also

Reference

SPIssuerTokenResolver class

SPIssuerTokenResolver members

TryResolveTokenCore overload

Microsoft.SharePoint.IdentityModel namespace