ParametersProvider Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Common
ParametersProvider Class
Extracts parameters from an object by serializing it to a JSON element and enumerating its properties. Pure System.Text.Json, framework-neutral — the single implementation both the MVC and Minimal API transports use.
public class ParametersProvider : Abblix.Oidc.Server.Common.Interfaces.IParametersProvider
Inheritance System.Object → ParametersProvider
Implements IParametersProvider
Methods
ParametersProvider.GetParameters(object) Method
Retrieves the parameters as name/value pairs from the specified object.
public System.Collections.Generic.IEnumerable<(string name,string? value)> GetParameters(object obj);
Parameters
obj System.Object
The object to extract parameters from.
Implements GetParameters(object)
Returns
System.Collections.Generic.IEnumerable<<System.String,System.String>>
The parameter name/value pairs.