Поделиться через


UserInformationReceivedContext Класс

Определение

public ref class UserInformationReceivedContext : Microsoft::AspNetCore::Authentication::OpenIdConnect::BaseOpenIdConnectContext
public ref class UserInformationReceivedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^>
public class UserInformationReceivedContext : Microsoft.AspNetCore.Authentication.OpenIdConnect.BaseOpenIdConnectContext
public class UserInformationReceivedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>
type UserInformationReceivedContext = class
    inherit BaseOpenIdConnectContext
type UserInformationReceivedContext = class
    inherit RemoteAuthenticationContext<OpenIdConnectOptions>
Public Class UserInformationReceivedContext
Inherits BaseOpenIdConnectContext
Public Class UserInformationReceivedContext
Inherits RemoteAuthenticationContext(Of OpenIdConnectOptions)
Наследование
Наследование

Конструкторы

UserInformationReceivedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, ClaimsPrincipal, AuthenticationProperties)

Инициализирует новый экземпляр UserInformationReceivedContext.

UserInformationReceivedContext(HttpContext, OpenIdConnectOptions)

Контекст для UserInformationReceived(UserInformationReceivedContext).

Свойства

HandledResponse

Контекст для UserInformationReceived(UserInformationReceivedContext).

(Унаследовано от BaseControlContext)
HttpContext

Контекст для UserInformationReceived(UserInformationReceivedContext).

(Унаследовано от BaseContext)
HttpContext

Контекст.

(Унаследовано от BaseContext<TOptions>)
Options

Контекст для UserInformationReceived(UserInformationReceivedContext).

(Унаследовано от BaseOpenIdConnectContext)
Options

Возвращает параметры проверки подлинности, связанные со схемой.

(Унаследовано от BaseContext<TOptions>)
Principal

Возвращает объект , ClaimsPrincipal содержащий утверждения пользователя.

(Унаследовано от RemoteAuthenticationContext<TOptions>)
Properties

Возвращает или задает класс AuthenticationProperties.

(Унаследовано от RemoteAuthenticationContext<TOptions>)
ProtocolMessage

Возвращает или задает класс OpenIdConnectMessage.

ProtocolMessage

Контекст для UserInformationReceived(UserInformationReceivedContext).

(Унаследовано от BaseOpenIdConnectContext)
Request

Контекст для UserInformationReceived(UserInformationReceivedContext).

(Унаследовано от BaseContext)
Request

Запрос.

(Унаследовано от BaseContext<TOptions>)
Response

Контекст для UserInformationReceived(UserInformationReceivedContext).

(Унаследовано от BaseContext)
Response

Ответ.

(Унаследовано от BaseContext<TOptions>)
Result

Объект , HandleRequestResult используемый обработчиком.

(Унаследовано от HandleRequestContext<TOptions>)
Scheme

Схема проверки подлинности.

(Унаследовано от BaseContext<TOptions>)
Skipped

Контекст для UserInformationReceived(UserInformationReceivedContext).

(Унаследовано от BaseControlContext)
State

Контекст для UserInformationReceived(UserInformationReceivedContext).

(Унаследовано от BaseControlContext)
Ticket

Возвращает или задает объект , Ticket возвращаемый, если это событие сообщает, что оно обработало событие.

(Унаследовано от BaseControlContext)
User

Возвращает или задает полезные данные пользователя.

Методы

CheckEventResult(AuthenticateResult)

Контекст для UserInformationReceived(UserInformationReceivedContext).

(Унаследовано от BaseControlContext)
Fail(Exception)

Указывает, что проверка подлинности завершилась сбоем.

(Унаследовано от RemoteAuthenticationContext<TOptions>)
Fail(String)

Указывает, что проверка подлинности завершилась сбоем.

(Унаследовано от RemoteAuthenticationContext<TOptions>)
HandleResponse()

Прекращение всех обработок этого запроса и возврат к клиенту. Вызывающий ответственен за создание полного ответа. Задайте для триггера Ticket SignIn.

(Унаследовано от BaseControlContext)
HandleResponse()

Прекращение всех обработок этого запроса и возврат к клиенту. Вызывающий ответственен за создание полного ответа.

(Унаследовано от HandleRequestContext<TOptions>)
SkipHandler()

Прекратить обработку запроса в текущем обработчике.

(Унаследовано от HandleRequestContext<TOptions>)
SkipToNextMiddleware()

Прекращение обработки запроса в текущем ПО промежуточного слоя и передать управление в следующий. SignIn не будет вызываться.

(Унаследовано от BaseControlContext)
Success()

Вызывает успешное создание билета с помощью Principal и Properties.

(Унаследовано от RemoteAuthenticationContext<TOptions>)

Применяется к