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()

Propertiesを使用してチケットを作成する成功をPrincipal呼び出します。

(継承元 ResultContext<TOptions>)

適用対象