Interface IDeviceFlowInteractionService
- Namespace
- Duende.IdentityServer.Services
- Assembly
- Duende.IdentityServer.dll
Provide services be used by the user interface to communicate with IdentityServer.
public interface IDeviceFlowInteractionService
Methods
GetAuthorizationContextAsync(string)
Gets the authorization context asynchronous.
Task<DeviceFlowAuthorizationRequest?> GetAuthorizationContextAsync(string userCode)
Parameters
userCode
stringThe user code.
Returns
HandleRequestAsync(string, ConsentResponse)
Handles the request asynchronous.
Task<DeviceFlowInteractionResult> HandleRequestAsync(string userCode, ConsentResponse consent)
Parameters
userCode
stringThe user code.
consent
ConsentResponseThe consent.