AlternatePredicate

uk.gov.hmrc.auth.core.authorise.AlternatePredicate
case class AlternatePredicate(predicateA: Predicate, predicateB: Predicate) extends Predicate

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Predicate
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def and(other: Predicate): Predicate

Join this Predicate with another as a boolean AND

Join this Predicate with another as a boolean AND

Value parameters

other

A Predicate to join with this Predicate

Attributes

Returns

A CompositePredicate containing this Predicate and the supplied one

Inherited from:
Predicate
def or(other: Predicate): Predicate

Join this Predicate with another as a boolean OR

Join this Predicate with another as a boolean OR

Value parameters

other

A Predicate to join with this Predicate

Attributes

Returns

An AlternatePredicate containing this Predicate and the supplied one

Inherited from:
Predicate
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val toJson: JsValue

Convert this predicate to JSON for sending over the wire

Convert this predicate to JSON for sending over the wire

Attributes

Returns

the JSON