OAuthCreatingTicketContext 클래스

정의

로그인 세션과 사용자 ClaimsIdentity에 대한 정보를 포함합니다.

public ref class OAuthCreatingTicketContext : Microsoft::AspNetCore::Authentication::BaseContext
public ref class OAuthCreatingTicketContext : Microsoft::AspNetCore::Authentication::ResultContext<Microsoft::AspNetCore::Authentication::OAuth::OAuthOptions ^>
public class OAuthCreatingTicketContext : Microsoft.AspNetCore.Authentication.BaseContext
public class OAuthCreatingTicketContext : Microsoft.AspNetCore.Authentication.ResultContext<Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions>
type OAuthCreatingTicketContext = class
    inherit BaseContext
type OAuthCreatingTicketContext = class
    inherit ResultContext<OAuthOptions>
Public Class OAuthCreatingTicketContext
Inherits BaseContext
Public Class OAuthCreatingTicketContext
Inherits ResultContext(Of OAuthOptions)
상속
OAuthCreatingTicketContext
상속

생성자

OAuthCreatingTicketContext(AuthenticationTicket, HttpContext, OAuthOptions, HttpClient, OAuthTokenResponse)

OAuthCreatingTicketContext를 초기화합니다.

OAuthCreatingTicketContext(AuthenticationTicket, HttpContext, OAuthOptions, HttpClient, OAuthTokenResponse, JObject)

OAuthCreatingTicketContext를 초기화합니다.

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse)

OAuthCreatingTicketContext를 초기화합니다.

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse, JObject)

OAuthCreatingTicketContext를 초기화합니다.

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse, JsonElement)

OAuthCreatingTicketContext를 초기화합니다.

속성

AccessToken

인증 서비스에서 제공하는 액세스 토큰을 가져옵니다.

Backchannel

공급자와 통신하는 데 사용되는 백채널을 가져옵니다.

ExpiresIn

액세스 토큰 만료 시간을 가져옵니다.

HttpContext

로그인 세션과 사용자 ClaimsIdentity에 대한 정보를 포함합니다.

(다음에서 상속됨 BaseContext)
HttpContext

컨텍스트입니다.

(다음에서 상속됨 BaseContext<TOptions>)
Identity

인증 티켓에 의해 노출되는 기본 ID를 가져옵니다. 이 속성은 티켓이 일 때 를 반환 null 합니다 null.

Options

로그인 세션과 사용자 ClaimsIdentity에 대한 정보를 포함합니다.

Options

스키마와 연결된 인증 옵션을 가져옵니다.

(다음에서 상속됨 BaseContext<TOptions>)
Principal

사용자 클레임을 ClaimsPrincipal 포함하는 을 가져오거나 설정합니다.

(다음에서 상속됨 ResultContext<TOptions>)
Properties

AuthenticationProperties를 가져오거나 설정합니다.

(다음에서 상속됨 ResultContext<TOptions>)
RefreshToken

인증 서비스에서 제공하는 새로 고침 토큰을 가져옵니다.

Request

로그인 세션과 사용자 ClaimsIdentity에 대한 정보를 포함합니다.

(다음에서 상속됨 BaseContext)
Request

요청입니다.

(다음에서 상속됨 BaseContext<TOptions>)
Response

로그인 세션과 사용자 ClaimsIdentity에 대한 정보를 포함합니다.

(다음에서 상속됨 BaseContext)
Response

응답입니다.

(다음에서 상속됨 BaseContext<TOptions>)
Result

결과를 가져옵니다 AuthenticateResult .

(다음에서 상속됨 ResultContext<TOptions>)
Scheme

인증 체계입니다.

(다음에서 상속됨 BaseContext<TOptions>)
Ticket

AuthenticationTicket 만들 입니다.

TokenResponse

인증 서비스에서 반환된 토큰 응답을 가져옵니다.

TokenType

인증 서비스에서 제공하는 액세스 토큰 유형을 가져옵니다.

User

JSON 직렬화된 사용자 또는 사용할 수 없는 경우 빈 JsonElement 사용자를 가져옵니다.

메서드

Fail(Exception)

인증 중에 오류가 발생했음을 나타냅니다.

(다음에서 상속됨 ResultContext<TOptions>)
Fail(String)

인증 중에 오류가 발생했음을 나타냅니다.

(다음에서 상속됨 ResultContext<TOptions>)
NoResult()

이 인증 체계에 대해 반환된 정보가 없음을 나타냅니다.

(다음에서 상속됨 ResultContext<TOptions>)
RunClaimActions()

를 검사하여 User필수 데이터가 있는지 확인하고 필요에 따라 에 Identity추가합니다.

RunClaimActions(JObject)

로그인 세션과 사용자 ClaimsIdentity에 대한 정보를 포함합니다.

RunClaimActions(JsonElement)

지정된 userData를 검사하여 필요한 데이터가 있는지 확인하고 필요에 따라 에 Identity추가합니다.

Success()

및 를 사용하여 티켓을 Principal 만드는 성공을 호출합니다 Properties.

(다음에서 상속됨 ResultContext<TOptions>)

적용 대상