Share via


SPPassiveIssuerTokenResolver.TryResolveTokenCore method (SecurityKeyIdentifierClause, SecurityToken)

Retrieves the security token that matches the specified key identifier clause.

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

Return value

Type: System.Boolean
true if a security token can be retrieved for the specified key identifier clause; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

keyIdentifierClause is null .

Remarks

This override retrieves the security token that matches the key identifier clause.

See also

Reference

SPPassiveIssuerTokenResolver class

SPPassiveIssuerTokenResolver members

TryResolveTokenCore overload

Microsoft.SharePoint.IdentityModel namespace