TwitterOptions 클래스

정의

Twitter 인증 미들웨어에 대한 옵션입니다.

public ref class TwitterOptions : Microsoft::AspNetCore::Builder::RemoteAuthenticationOptions
public class TwitterOptions : Microsoft.AspNetCore.Builder.RemoteAuthenticationOptions
type TwitterOptions = class
    inherit RemoteAuthenticationOptions
Public Class TwitterOptions
Inherits RemoteAuthenticationOptions
상속

생성자

TwitterOptions()

TwitterOptions 클래스의 새 인스턴스를 초기화합니다.

속성

AuthenticationScheme

옵션의 AuthenticationScheme은 특정 인증 체계의 논리적 이름에 해당합니다. 파이프라인에서 동일한 인증 미들웨어 유형을 두 번 이상 사용하기 위해 다른 값이 할당될 수 있습니다.

(다음에서 상속됨 AuthenticationOptions)
AutomaticAuthenticate

true이면 인증 미들웨어가 들어오는 요청 사용자를 변경합니다. false이면 인증 미들웨어는 AuthenticationScheme에 의해 명시적으로 표시된 경우에만 ID를 제공합니다.

(다음에서 상속됨 AuthenticationOptions)
AutomaticChallenge

true이면 인증 미들웨어가 자동 챌린지를 처리해야 합니다. false이면 인증 미들웨어는 AuthenticationScheme에 의해 명시적으로 표시된 경우에만 응답을 변경합니다.

(다음에서 상속됨 AuthenticationOptions)
BackchannelHttpHandler

원격 ID 공급자와 통신하는 데 사용되는 HttpMessageHandler입니다. 값을 WebRequestHandler로 다운캐스트할 수 있는 경우 외에는 동시에 BackchannelCertificateValidator로는 설정할 수 없습니다.

(다음에서 상속됨 RemoteAuthenticationOptions)
BackchannelTimeout

원격 ID 공급자와의 백 채널 통신에 대한 시간 제한 값을 밀리초 단위로 가져오거나 설정합니다.

(다음에서 상속됨 RemoteAuthenticationOptions)
CallbackPath

사용자 에이전트가 반환될 응용 프로그램의 기본 경로 내의 요청 경로입니다. 이 요청이 도착하면 미들웨어가 처리합니다.

(다음에서 상속됨 RemoteAuthenticationOptions)
ClaimsIssuer

생성된 모든 클레임에 사용해야 하는 발급자를 가져오거나 설정합니다.

(다음에서 상속됨 AuthenticationOptions)
ConsumerKey

Twitter와 통신하는 데 사용되는 소비자 키를 가져오거나 설정합니다.

ConsumerSecret

Twitter에 대한 요청을 서명하는 데 사용되는 소비자 암호를 가져오거나 설정합니다.

Description

응용 프로그램에 사용할 수 있게 된 인증 유형에 대한 추가 정보입니다.

(다음에서 상속됨 AuthenticationOptions)
DisplayName

사용자가 로그인 사용자 인터페이스에 표시할 수 있는 텍스트를 가져오거나 설정합니다.

(다음에서 상속됨 RemoteAuthenticationOptions)
Events

인증 이벤트를 처리하는 데 사용되는 를 가져오거나 설정합니다 ITwitterEvents .

RemoteAuthenticationTimeout

인증 흐름을 완료하기 위한 시간 제한을 가져오거나 설정합니다(기본적으로 15분).

(다음에서 상속됨 RemoteAuthenticationOptions)
RetrieveUserDetails

인증 프로세스 중에 전자 메일 주소를 포함하여 검색 사용자 세부 정보를 사용하도록 설정합니다. 전자 메일 주소를 검색하려면 애플리케이션별로 Twitter 지원의 특별한 권한이 필요합니다. 기본값은 false입니다. https://dev.twitter.com/rest/reference/get/account/verify_credentials를 참조하세요.

SaveTokens

권한 부여에 성공한 후 액세스 및 새로 고침 토큰을 에 AuthenticationProperties 저장할지 여부를 정의합니다. 이 속성은 최종 인증 쿠키의 크기를 줄이기 위해 기본적으로 로 설정 false 됩니다.

(다음에서 상속됨 RemoteAuthenticationOptions)
SignInScheme

인증에 성공한 후 사용자의 ID를 유지하는 미들웨어에 해당하는 인증 체계를 가져오거나 설정합니다. 이 값은 일반적으로 Startup 클래스에 등록된 쿠키 미들웨어에 해당합니다. 생략하면 SignInScheme 가 대체 값으로 사용됩니다.

(다음에서 상속됨 RemoteAuthenticationOptions)
StateDataFormat

미들웨어가 처리하는 데이터를 보호하는 데 사용되는 유형을 가져오거나 설정합니다.

SystemClock

For testing purposes only.

SystemClock

For testing purposes only.

(다음에서 상속됨 AuthenticationOptions)

적용 대상