001package com.nimbusds.openid.connect.provider.spi.reg; 002 003 004import com.nimbusds.openid.connect.provider.spi.InvocationContext; 005 006 007/** 008 * Registration interceptor context. 009 */ 010public interface InterceptorContext extends InvocationContext { 011 012 013 /** 014 * Returns {@code true} if open registration is allowed. 015 * 016 * @return {@code true} if open registration is allowed, else 017 * {@code false}. 018 */ 019 boolean openRegistrationIsAllowed(); 020}