Table of Contents

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 string

The user code.

Returns

Task<DeviceFlowAuthorizationRequest>

HandleRequestAsync(string, ConsentResponse)

Handles the request asynchronous.

Task<DeviceFlowInteractionResult> HandleRequestAsync(string userCode, ConsentResponse consent)

Parameters

userCode string

The user code.

consent ConsentResponse

The consent.

Returns

Task<DeviceFlowInteractionResult>