@Inherited
@Retention(value=RUNTIME)
public @interface RequiresScope
Declares that a method on a JAX-RS resource may only be executed if the
incoming request is authorized for the scopes given in the value of the
annotation. When used on JAX-RS resource class, all methods without the
annotation inherit the resource class annotation.