Class AudienceResolveProtocolMapper

java.lang.Object
org.keycloak.protocol.oidc.mappers.AbstractOIDCProtocolMapper
org.keycloak.protocol.oidc.mappers.AudienceResolveProtocolMapper
All Implemented Interfaces:
OIDCAccessTokenMapper, ProtocolMapper, ConfiguredProvider, Provider, ProviderFactory<ProtocolMapper>

public class AudienceResolveProtocolMapper extends AbstractOIDCProtocolMapper implements OIDCAccessTokenMapper
Protocol mapper, which adds all client_ids of "allowed" clients to the audience field of the token. Allowed client means the client for which user has at least one client role
Author:
Marek Posolda