#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Common](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common '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\.

```csharp
public class ParametersProvider : Abblix.Oidc.Server.Common.Interfaces.IParametersProvider
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → ParametersProvider

Implements [IParametersProvider](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Interfaces.IParametersProvider 'Abblix\.Oidc\.Server\.Common\.Interfaces\.IParametersProvider')
### Methods

## ParametersProvider\.GetParameters\(object\) Method {#Abblix.Oidc.Server.Common.ParametersProvider.GetParameters(object)}

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

```csharp
public System.Collections.Generic.IEnumerable<(string name,string? value)> GetParameters(object obj);
```
#### Parameters

###### `obj` [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') {#Abblix.Oidc.Server.Common.ParametersProvider.GetParameters(object).obj}

The object to extract parameters from\.

Implements [GetParameters\(object\)](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Interfaces.IParametersProvider#Abblix.Oidc.Server.Common.Interfaces.IParametersProvider.GetParameters(object) 'Abblix\.Oidc\.Server\.Common\.Interfaces\.IParametersProvider\.GetParameters\(object\)')

#### Returns
[System\.Collections\.Generic\.IEnumerable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')[&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.valuetuple 'System\.ValueTuple')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[,](https://learn.microsoft.com/en-us/dotnet/api/system.valuetuple 'System\.ValueTuple')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.valuetuple 'System\.ValueTuple')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')  
The parameter name/value pairs\.
