ConfidenceLevel

uk.gov.hmrc.auth.core.ConfidenceLevel
See theConfidenceLevel companion object
sealed abstract class ConfidenceLevel(val level: Int) extends Ordered[ConfidenceLevel], Predicate

Attributes

Companion
object
Graph
Supertypes
trait Predicate
trait Ordered[ConfidenceLevel]
trait Comparable[ConfidenceLevel]
class Object
trait Matchable
class Any
Show all
Known subtypes
object L200
object L250
object L50
object L500
object L600

Members list

Value members

Concrete methods

def compare(that: ConfidenceLevel): Int
override def 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

Definition Classes

Inherited methods

def <(that: ConfidenceLevel): Boolean

Attributes

Inherited from:
Ordered
def <=(that: ConfidenceLevel): Boolean

Attributes

Inherited from:
Ordered
def >(that: ConfidenceLevel): Boolean

Attributes

Inherited from:
Ordered
def >=(that: ConfidenceLevel): Boolean

Attributes

Inherited from:
Ordered
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 compareTo(that: ConfidenceLevel): Int

Attributes

Inherited from:
Ordered
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

Concrete fields

val level: Int
override val toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.