OAuthEventHandlerOnTicketReceivedAsync - метод
Обработчик события получения тикета после выполнения аутентификации внешним провайдером.
Пространство имён: Tessa.Web.Client.OAuthСборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.0.4
public Task OnTicketReceivedAsync(
TicketReceivedContext context,
CancellationToken cancellationToken = default
)
Public Function OnTicketReceivedAsync (
context As TicketReceivedContext,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ OnTicketReceivedAsync(
TicketReceivedContext^ context,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract OnTicketReceivedAsync :
context : TicketReceivedContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override OnTicketReceivedAsync :
context : TicketReceivedContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- context TicketReceivedContext
- Контекст события получения тикета.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskАсинхронная задача.
IOAuthEventHandlerOnTicketReceivedAsync(TicketReceivedContext, CancellationToken)