Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Duende.​IdentityServer.​Services.​IBackchannelAuthenticationUserNotificationService
Assembly: Duende.IdentityServer
Used to contact users when a Client-Initiated Backchannel Authentication (CIBA) login request has been made. To use CIBA, you must implement this interface and register it in the ASP.NET Core service provider. The implementation is responsible for delivering the login notification to the user via an out-of-band channel such as push notification, SMS, or email.
Methods
SendLoginRequestAsync​(Models.​BackchannelUserLoginRequest request,
System.​Threading.​CancellationToken ct)
Sends a notification to the user prompting them to approve or deny the CIBA login request.
The notification should direct the user to the IdentityServer UI where they can review
and complete the pending <see cref="T:Duende.IdentityServer.Models.BackchannelUserLoginRequest" /> .
request
The backchannel login request containing the details of the authentication request,
including the requesting client and the user to be notified.
ct
The cancellation token.