UserNameSecurityTokenProvider.GetTokenCore(TimeSpan) 메서드

정의

생성자에 지정된 사용자 이름 및 암호를 기반으로 보안 토큰을 가져옵니다.

protected:
 override System::IdentityModel::Tokens::SecurityToken ^ GetTokenCore(TimeSpan timeout);
protected override System.IdentityModel.Tokens.SecurityToken GetTokenCore(TimeSpan timeout);
override this.GetTokenCore : TimeSpan -> System.IdentityModel.Tokens.SecurityToken
Protected Overrides Function GetTokenCore (timeout As TimeSpan) As SecurityToken

매개 변수

timeout
TimeSpan

TimeSpan 보안 토큰을 가져오는 메시지의 시간 제한 값을 지정하는 A입니다.

반품

SecurityToken 가져올 보안 토큰을 나타내는 값입니다.

설명

GetTokenCore 클라이언트가 SOAP 메시지를 보내고 보안 토큰이 필요할 때 클래스에서 메서드를 UserNameSecurityToken 호출 ClientCredentials 합니다.

메서드가 GetToken 메서드를 호출합니다 GetTokenCore .

적용 대상