Interface ClaimsProviderPluginDescriptor<C extends Configuration>
- Type Parameters:
C- type of configuration
- All Superinterfaces:
PluginDescriptor<C>
public interface ClaimsProviderPluginDescriptor<C extends Configuration>
extends PluginDescriptor<C>
Claims Provider Plugin Descriptor.
Claims Provider Plugin implementations provide the functionality required for the server to be able to resolve claims. Claims are used to authorize requests, hence are normally included in tokens issued by the OAuth server.
Claims are closely related to scopes. Usually, a scope is nothing more than a group of claims. For example, the OpenID Connect specification defines several scopes and describes what scopes are associated with what claims.
Prefix scopes are treated specially. They always contain a single claim, namely the scope prefix itself, with the
claim value always being the scope suffix. For this reason, the Identity Server will resolve claims from prefix
scopes without asking for a ClaimsProvider to do it.
- Since:
- 4.0.0
-
Method Summary
Methods inherited from interface se.curity.identityserver.sdk.plugin.PluginDescriptor
createManagedObject, getConfigurationType, getPluginImplementationType
-
Method Details
-
getClaimsProvider
Class<? extends ClaimsProvider> getClaimsProvider()- Returns:
- the type of the
ClaimsProviderimplementation provided by this plugin.
-