package retrieve
- Alphabetic
- Public
- Protected
Type Members
- case class AgentInformation(agentId: Option[String], agentCode: Option[String], agentFriendlyName: Option[String]) extends Product with Serializable
- case class CompositeRetrieval[A, B](retrievalA: Retrieval[A], retrievalB: Retrieval[B]) extends Retrieval[~[A, B]] with Product with Serializable
A Retrieval for two properties on successful authorisation
- case class Credentials(providerId: String, providerType: String) extends Product with Serializable
- case class Email(value: String) extends Product with Serializable
- case class GGCredId(credId: String) extends LegacyCredentials with Product with Serializable
- case class GatewayInformation(gatewayToken: Option[String]) extends Product with Serializable
- case class ItmpAddress(line1: Option[String], line2: Option[String], line3: Option[String], line4: Option[String], line5: Option[String], postCode: Option[String], countryName: Option[String], countryCode: Option[String]) extends Product with Serializable
- case class ItmpName(givenName: Option[String], middleName: Option[String], familyName: Option[String]) extends Product with Serializable
- trait LegacyCredentials extends AnyRef
- case class LoginTimes(currentLogin: Instant, previousLogin: Option[Instant]) extends Product with Serializable
- case class MdtpInformation(deviceId: String, sessionId: String) extends Product with Serializable
- case class Name(name: Option[String], lastName: Option[String]) extends Product with Serializable
- case class OptionalRetrieval[A](propertyName: String, valueReads: Reads[A]) extends Retrieval[Option[A]] with Product with Serializable
A Retrieval that will return only a single, optional property on successful authorisation
A Retrieval that will return only a single, optional property on successful authorisation
- propertyName
The name of the property to return from auth on success. Must be a supported property in auth.
- valueReads
The JSON Reads to apply to the returned JSON property in case it is present
- case class PAClientId(clientId: String) extends LegacyCredentials with Product with Serializable
- case class PostCode(value: String) extends Product with Serializable
- trait Retrieval[A] extends AnyRef
A typed class that models what will be returned from auth upon a successful authorisation call
- case class ScpInformation(scpSessionId: Option[String], trustId: Option[String], trustIdChangedAt: Option[String], trustIdChangedBy: Option[String]) extends Product with Serializable
- case class SimpleRetrieval[A](propertyName: String, valueReads: Reads[A]) extends Retrieval[A] with Product with Serializable
A Retrieval that will return only a single property on successful authorisation
A Retrieval that will return only a single property on successful authorisation
- propertyName
The name of the property to return from auth on success. Must be a supported property in auth.
- valueReads
The JSON Reads to apply to the returned JSON property
- case class StandardApplication(clientId: String) extends LegacyCredentials with Product with Serializable
- case class ~[+A, +B](a: A, b: B) extends Product with Serializable
Some type-trickery to allow composing of multiple retrievals at the call site
Deprecated Type Members
- trait Retrievals extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0-play-26) Please use uk.gov.hmrc.auth.core.retrieve.v2.Retrievals instead
Value Members
- object AgentInformation extends Serializable
- object Credentials extends Serializable
- object Email extends Serializable
- object EmptyRetrieval extends Retrieval[Unit]
Simple modelling of a Retrieval that returns nothing (would be a simple authorise-only call)
- object GatewayInformation extends Serializable
- object ItmpAddress extends Serializable
- object ItmpName extends Serializable
- object LegacyCredentials
- object LoginTimes extends Serializable
- object MdtpInformation extends Serializable
- object Name extends Serializable
- case object OneTimeLogin extends LegacyCredentials with Product with Serializable
- object PostCode extends Serializable
Deprecated Value Members
- object Retrievals extends Retrievals
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0-play-26) Please use uk.gov.hmrc.auth.core.retrieve.v2.Retrievals instead