Skip to main content

IParametersProvider Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Common.Interfaces

IParametersProvider Interface

Extracts a flat set of name/value pairs from a response object — the reverse of binding — for delivery as query, fragment or form_post parameters. The transport adapters (MVC, Minimal API) share this contract because flattening a response DTO is framework-neutral; the implementation lives in the core for the same reason.

public interface IParametersProvider

Derived
ParametersProvider

Methods

IParametersProvider.GetParameters(object) Method

Retrieves the parameters as name/value pairs from the specified object.

System.Collections.Generic.IEnumerable<(string name,string? value)> GetParameters(object obj);

Parameters

obj System.Object

The object to extract parameters from.

Returns

System.Collections.Generic.IEnumerable<<System.String,System.String>>
The parameter name/value pairs.