CredentialRole

uk.gov.hmrc.auth.core.CredentialRole
See theCredentialRole companion object
trait CredentialRole extends Predicate

Attributes

Companion
object
Graph
Supertypes
trait Predicate
class Object
trait Matchable
class Any
Known subtypes
object Admin
object Assistant
object User

Members list

Value members

Concrete methods

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

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