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

## IScopeClaimsProvider Interface

Defines a service responsible for determining the claims associated with specific OAuth 2\.0 and OpenID Connect scopes\.
This interface facilitates the mapping of requested scopes to their corresponding claims, enabling effective claims
management based on the authorization policies and client request parameters\.

```csharp
public interface IScopeClaimsProvider
```

Derived  
↳ [ScopeClaimsProvider](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.UserInfo.ScopeClaimsProvider 'Abblix\.Oidc\.Server\.Features\.UserInfo\.ScopeClaimsProvider')
### Properties

## IScopeClaimsProvider\.ClaimsSupported Property {#Abblix.Oidc.Server.Features.UserInfo.IScopeClaimsProvider.ClaimsSupported}

Provides a collection of all the claims that this provider can handle\.
These claims represent the total set of data points that can be requested through various scopes
and are used for constructing tokens and user information responses\.

```csharp
System.Collections.Generic.IEnumerable<string> ClaimsSupported { get; }
```

#### Property Value
[System\.Collections\.Generic\.IEnumerable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`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.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')

## IScopeClaimsProvider\.ScopesSupported Property {#Abblix.Oidc.Server.Features.UserInfo.IScopeClaimsProvider.ScopesSupported}

Provides a collection of all the scopes that are recognized and supported by this provider\.
This property can be used to validate scope requests or to generate metadata for discovery documents\.

```csharp
System.Collections.Generic.IEnumerable<string> ScopesSupported { get; }
```

#### Property Value
[System\.Collections\.Generic\.IEnumerable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`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.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')
### Methods

## IScopeClaimsProvider\.GetRequestedClaims\(IEnumerable\<string\>, IEnumerable\<string\>\) Method {#Abblix.Oidc.Server.Features.UserInfo.IScopeClaimsProvider.GetRequestedClaims(System.Collections.Generic.IEnumerable_string_,System.Collections.Generic.IEnumerable_string_)}

Retrieves the set of claim names associated with the requested scopes and any additional claim details\.
This method allows for dynamic claim resolution based on the authorization request, supporting customization
of claims returned in tokens or user info responses\.

```csharp
System.Collections.Generic.IEnumerable<string> GetRequestedClaims(System.Collections.Generic.IEnumerable<string> scopes, System.Collections.Generic.IEnumerable<string>? requestedClaims);
```
#### Parameters

###### `scopes` [System\.Collections\.Generic\.IEnumerable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`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.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1') {#Abblix.Oidc.Server.Features.UserInfo.IScopeClaimsProvider.GetRequestedClaims(System.Collections.Generic.IEnumerable_string_,System.Collections.Generic.IEnumerable_string_).scopes}

An enumerable of strings representing the requested scopes\. Each scope can be associated
            with one or multiple claims as defined by the implementation\.

###### `requestedClaims` [System\.Collections\.Generic\.IEnumerable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`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.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1') {#Abblix.Oidc.Server.Features.UserInfo.IScopeClaimsProvider.GetRequestedClaims(System.Collections.Generic.IEnumerable_string_,System.Collections.Generic.IEnumerable_string_).requestedClaims}

An optional collection of additional claims requested, which may not necessarily
            be tied to specific scopes but are required by the client\.

#### Returns
[System\.Collections\.Generic\.IEnumerable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`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.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')  
An IEnumerable of strings, each representing a claim name that should be included based on the
            requested scopes and additional claims\.
