AllowlistFilter
uk.gov.hmrc.play.bootstrap.frontend.filters.AllowlistFilter
class AllowlistFilter(config: Configuration, val mat: Materializer) extends Filter
Attributes
- Graph
-
- Supertypes
-
trait Filtertrait EssentialFilterclass Objecttrait Matchableclass Any
Members list
Type members
Classlikes
case class AllowlistFilterConfig(allowlist: Seq[String], redirectUrlWhenDenied: Call, excludedPaths: Seq[Call])
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Apply the filter, given the request header and a function to call the next operation.
Apply the filter, given the request header and a function to call the next operation.
Value parameters
- f
-
A function to call the next operation. Call this to continue normally with the current request. You do not need to call this function if you want to generate a result in a different way.
- rh
-
The RequestHeader.
Attributes
- Definition Classes
-
Filter
Deprecated methods
Attributes
- Deprecated
- true
Concrete fields
In this article