IDeviceAuthorizationResponseFormatter Interface
Defines the contract for formatting device authorization responses.
public interface IDeviceAuthorizationResponseFormatterDerived
↳ DeviceAuthorizationResponseFormatter
Methods
IDeviceAuthorizationResponseFormatter.FormatResponseAsync(DeviceAuthorizationRequest, Result<DeviceAuthorizationResponse,OidcError>) Method
Formats a device authorization response into an HTTP response.
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult> FormatResponseAsync(Abblix.Oidc.Server.Model.DeviceAuthorizationRequest request, Abblix.Utils.Result<Abblix.Oidc.Server.Model.DeviceAuthorizationResponse,Abblix.Oidc.Server.Common.OidcError> response);Parameters
request DeviceAuthorizationRequest
The original device authorization request.
response Abblix.Utils.Result<DeviceAuthorizationResponse,OidcError>
The device authorization response to format.
Returns
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult>
A task that returns the formatted response as an ActionResult.