Bearbeiten

Freigeben über


AuthorizationContext.ExpirationTime Property

Definition

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.

Applies to