EmptyRetrieval

uk.gov.hmrc.auth.core.retrieve.EmptyRetrieval
object EmptyRetrieval extends Retrieval[Unit]

Simple modelling of a Retrieval that returns nothing (would be a simple authorise-only call)

Attributes

Graph
Supertypes
trait Retrieval[Unit]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def reads: Reads[Unit]

The Reads that will be used upon the returned JSON

The Reads that will be used upon the returned JSON

Attributes

Returns

JSON Reads

Inherited methods

def and[B](other: Retrieval[B]): Retrieval[Unit ~ B]

Allows simpler and more concise code for the lib user at the call site when authorising

Allows simpler and more concise code for the lib user at the call site when authorising

Value parameters

other

The Retrieval to be joined with this Retrieval

Attributes

Returns

A Retrieval[A ~ B] that contains this Retrieval and the one passed in

Inherited from:
Retrieval

Concrete fields

val propertyNames: Seq[String]

The properties to return from a successful authorise call. These have to be explicitly supported by the auth service being called

The properties to return from a successful authorise call. These have to be explicitly supported by the auth service being called

Attributes

Returns

A list of property names to return.