#### [Abblix\.Oidc\.Server\.AspNetCore](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore 'index')
### [Abblix\.Oidc\.Server\.AspNetCore](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore/Abblix.Oidc.Server.AspNetCore 'Abblix\.Oidc\.Server\.AspNetCore')

## AuthenticationPropertiesExtensions Class

Extension methods for [Microsoft\.AspNetCore\.Authentication\.AuthenticationProperties](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.authentication.authenticationproperties 'Microsoft\.AspNetCore\.Authentication\.AuthenticationProperties')\.

```csharp
public static class AuthenticationPropertiesExtensions
```

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

## AuthenticationPropertiesExtensions\.TryGetStringList\(this AuthenticationProperties, string, List\<string\>\) Method {#Abblix.Oidc.Server.AspNetCore.AuthenticationPropertiesExtensions.TryGetStringList(thisMicrosoft.AspNetCore.Authentication.AuthenticationProperties,string,System.Collections.Generic.List_string_)}

Attempts to retrieve a list of strings from authentication properties\.
The value is expected to be a JSON\-serialized array of strings\.

```csharp
public static bool TryGetStringList(this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string key, out System.Collections.Generic.List<string>? values);
```
#### Parameters

###### `properties` [Microsoft\.AspNetCore\.Authentication\.AuthenticationProperties](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.authentication.authenticationproperties 'Microsoft\.AspNetCore\.Authentication\.AuthenticationProperties') {#Abblix.Oidc.Server.AspNetCore.AuthenticationPropertiesExtensions.TryGetStringList(thisMicrosoft.AspNetCore.Authentication.AuthenticationProperties,string,System.Collections.Generic.List_string_).properties}

###### `key` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.AspNetCore.AuthenticationPropertiesExtensions.TryGetStringList(thisMicrosoft.AspNetCore.Authentication.AuthenticationProperties,string,System.Collections.Generic.List_string_).key}

###### `values` [System\.Collections\.Generic\.List&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1 'System\.Collections\.Generic\.List\`1')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1 'System\.Collections\.Generic\.List\`1') {#Abblix.Oidc.Server.AspNetCore.AuthenticationPropertiesExtensions.TryGetStringList(thisMicrosoft.AspNetCore.Authentication.AuthenticationProperties,string,System.Collections.Generic.List_string_).values}

#### Returns
[System\.Boolean](https://learn.microsoft.com/en-us/dotnet/api/system.boolean 'System\.Boolean')
