다음을 통해 공유


IssuedTokenClientCredential.IssuedTokenRenewalThresholdPercentage 속성

정의

발급된 토큰에 대한 갱신 임계값 백분율을 가져오거나 설정합니다.

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

속성 값

Int32

발급된 토큰에 대한 갱신 임계값 백분율입니다. 기본값은 60입니다.

예외

읽기 전용 자격 증명을 set하려고 한 경우

예제

이 코드에서는 이 속성을 설정하는 방법을 보여 줍니다.

itcc.IssuedTokenRenewalThresholdPercentage = 80;
itcc.IssuedTokenRenewalThresholdPercentage = 80

설명

클라이언트는 발급된 토큰을 캐시하며, 캐시된 발급 토큰의 만료가 임박했을 때 해당 클라이언트는 보안 토큰 서비스에서 새로 발급된 토큰을 자동으로 가져옵니다. 이 속성 값은 새로 발급된 토큰을 가져오기 전에 캐시된 발급 토큰의 유효 기간 비율이 얼마 이상 되어야 하는지를 결정합니다.

예를 들어, 이 속성의 값이 60이고 클라이언트가 100분 동안 유효한 발급된 토큰을 가져오면, 클라이언트는 60분 동안 캐시된 발급된 토큰을 다시 사용하며, 이 시간이 경과되면 보안 토큰 서비스에서 새로 발급된 토큰을 가져옵니다.

적용 대상