Backchannel Authentication Interaction Service
Duende.IdentityServer.Services.IBackchannelAuthenticationInteractionService
Section titled “Duende.IdentityServer.Services.IBackchannelAuthenticationInteractionService”The IBackchannelAuthenticationInteractionService interface provides services for a user to access or complete a login
requests for CIBA.
It is available from the dependency injection system and would normally be injected as a constructor parameter into your
MVC controllers for the user interface of IdentityServer.
IBackchannelAuthenticationInteractionService APIs
Section titled “IBackchannelAuthenticationInteractionService APIs”-
GetPendingLoginRequestsForCurrentUserAsyncReturns a collection of BackchannelUserLoginRequest objects which represent pending login requests for the current user.
-
GetLoginRequestByInternalIdAsyncReturns the BackchannelUserLoginRequest object for the id.
-
CompleteLoginRequestAsyncCompletes the login request with the provided
CompleteBackchannelLoginRequestresponse for the current user or the subject passed.
CompleteBackchannelLoginRequest
Section titled “CompleteBackchannelLoginRequest”Models the data needed for a user to complete a backchannel authentication request.
-
InternalIdThe internal store id for the request.
-
ScopesValuesConsentedGets or sets the scope values consented to. Setting any scopes grants the login request. Leaving the scopes null or empty denies the request.
-
DescriptionGets or sets the optional description to associate with the consent.
-
SubjectThe subject for which the completion is being made. This allows more claims to be associated with the request that was identified on the backchannel authentication request. If not provided, then the
IUserSessionservice will be consulting to obtain the current subject. -
SessionIdThe session id to associate with the completion request if the Subject is provided. If the Subject is not provided, then this property is ignored in favor of the session id provided by the
IUserSessionservice.