LocalServiceSecuritySettings.IssuedCookieLifetime 속성

정의

서비스에서 클라이언트에 발급하는 SecurityContextSecurityToken에 대한 수명을 가져오거나 설정합니다.

public:
 property TimeSpan IssuedCookieLifetime { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan IssuedCookieLifetime { get; set; }
member this.IssuedCookieLifetime : TimeSpan with get, set
Public Property IssuedCookieLifetime As TimeSpan

속성 값

새 보안 쿠키에 대한 수명을 나타내는 TimeSpan입니다. 기본값은 10시간입니다.

예외

속성이 0보다 작은 값으로 설정될 경우

예제

다음 예제에서는 IssuedCookieLifetime 값을 가져오는 방법을 보여 줍니다.

TimeSpan issuedCookieLifetime = settings.IssuedCookieLifetime;
Dim issuedCookieLifetime As TimeSpan = settings.IssuedCookieLifetime

설명

서비스에서 클라이언트에 보안 대화 쿠키 토큰을 발급할 경우 이 속성 값에 의해 유효 기간이 결정됩니다.

적용 대상