ScopeClaimsProvider Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.UserInfo
ScopeClaimsProvider Class
Implements the IScopeClaimsProvider interface to provide claim names based on requested scopes and claims. This class manages the association between scopes and the specific claims they include, facilitating the retrieval of appropriate claims for given scopes during the authorization process.
public class ScopeClaimsProvider : Abblix.Oidc.Server.Features.UserInfo.IScopeClaimsProvider
Inheritance System.Object → ScopeClaimsProvider
Implements IScopeClaimsProvider
Constructors
ScopeClaimsProvider(IScopeManager) Constructor
Implements the IScopeClaimsProvider interface to provide claim names based on requested scopes and claims. This class manages the association between scopes and the specific claims they include, facilitating the retrieval of appropriate claims for given scopes during the authorization process.
public ScopeClaimsProvider(Abblix.Oidc.Server.Features.ScopeManagement.IScopeManager scopeManager);
Parameters
scopeManager IScopeManager
The scope manager used to look up scope definitions.
Properties
ScopeClaimsProvider.ClaimsSupported Property
A collection of all the claims that can be provided by this provider.
public System.Collections.Generic.IEnumerable<string> ClaimsSupported { get; }
Implements ClaimsSupported
Property Value
System.Collections.Generic.IEnumerable<System.String>
ScopeClaimsProvider.ScopesSupported Property
A collection of all the scopes supported by this provider.
public System.Collections.Generic.IEnumerable<string> ScopesSupported { get; }
Implements ScopesSupported
Property Value
System.Collections.Generic.IEnumerable<System.String>
Methods
ScopeClaimsProvider.GetRequestedClaims(IEnumerable<string>, IEnumerable<string>) Method
Retrieves the specific claims associated with the requested scopes and any additional requested claims.
public System.Collections.Generic.IEnumerable<string> GetRequestedClaims(System.Collections.Generic.IEnumerable<string> scopes, System.Collections.Generic.IEnumerable<string>? requestedClaims);
Parameters
scopes System.Collections.Generic.IEnumerable<System.String>
The collection of scopes for which claims need to be provided.
requestedClaims System.Collections.Generic.IEnumerable<System.String>
Additional specific claims requested outside of the scope requests.
Implements GetRequestedClaims(IEnumerable<string>, IEnumerable<string>)
Returns
System.Collections.Generic.IEnumerable<System.String>
A collection of claim names that are associated with the requested scopes and additional claims.