OrganizationService.CheckIfTokenIsExpired Method (SecurityTokenResponse, Nullable<TimeSpan>)
Applies To: Dynamics CRM 2013
Namespace: Microsoft.Xrm.Client.Services
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
protected bool CheckIfTokenIsExpired(
SecurityTokenResponse token,
Nullable<TimeSpan> expiryWindow
)
protected:
bool CheckIfTokenIsExpired(
SecurityTokenResponse^ token,
Nullable<TimeSpan> expiryWindow
)
member CheckIfTokenIsExpired :
token:SecurityTokenResponse *
expiryWindow:Nullable<TimeSpan> -> bool
Protected Function CheckIfTokenIsExpired (
token As SecurityTokenResponse,
expiryWindow As Nullable(Of TimeSpan)
) As Boolean
Parameters
- token
Type: Microsoft.Xrm.Sdk.Client.SecurityTokenResponse
- expiryWindow
Type: System.Nullable<TimeSpan>
Return Value
Type: System.Boolean
Type: Boolean
.
See Also
OrganizationService Class
Microsoft.Xrm.Client.Services Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top