OrganizationService.CheckIfTokenIsExpired Method (SecurityTokenResponse, Nullable<TimeSpan>)
Applies To: Dynamics CRM 2015
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
Return to top
© 2017 Microsoft. All rights reserved. Copyright