AuthorizationContext.ExpirationTime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the date and time at which this AuthorizationContext object is no longer valid.
public:
abstract property DateTime ExpirationTime { DateTime get(); };
public abstract DateTime ExpirationTime { get; }
member this.ExpirationTime : DateTime
Public MustOverride ReadOnly Property ExpirationTime As DateTime
Property Value
A DateTime value that indicates the date and time when this AuthorizationContext object is no longer valid.
Remarks
The ExpirationTime property is in Universal Coordinated Time (UTC).
Note
The service model in WCF does not check the value of the ExpirationTime property. This property is set by WCF using the ValidTo property of the security token on which the authorization context is based. The ValidTo property is checked by WCF, however. The authorization context's expiration time is meant for scenarios such as an authorization policy which has to take some action upon expiration.