001package com.nimbusds.openid.connect.provider.spi.events;
002
003
004import com.nimbusds.openid.connect.provider.spi.InvocationContext;
005import com.nimbusds.openid.connect.provider.spi.crypto.JWTSigner;
006
007
008/**
009 * Event context.
010 */
011public interface EventContext extends InvocationContext {
012        
013        
014        /**
015         * Returns an interface for signing JSON Web Tokens (JWT). May be used
016         * to sign security event tokens (SET) produced by the event listener.
017         *
018         * @return The JWT signer.
019         */
020        JWTSigner getJWTSigner();
021}