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
keyIdentifierClause
Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClauseThe key identifier clause for which a security token is created.
token
Type: System.IdentityModel.Tokens.SecurityTokenWhen this method returns, contains a security token that represents the specified key identifier clause. This parameter is passed uninitialized.
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