class InstanceMetadataOAuth[F[_]](httpClient: Client[F])(implicit evidence$1: Async[F], evidence$2: Logger[F]) extends OAuth[F] with Http4sClientDsl[F]
- Companion:
- object
- Source:
- InstanceMetadataOAuth.scala
Value members
Concrete methods
override def authenticate(iss: String, scope: String, exp: Instant, iat: Instant): F[Option[AccessToken]]
Based on https://developers.google.com/identity/protocols/OAuth2ServiceAccount
- Value parameters:
- exp
The expiration time of the assertion, specified as milliseconds since 00:00:00 UTC, January 1, 1970.
- iat
The time the assertion was issued, specified as milliseconds since 00:00:00 UTC, January 1, 1970.
- iss
The email address of the service account.
- scope
A space-delimited list of the permissions that the application requests.
- Definition Classes
- Source:
- InstanceMetadataOAuth.scala
Concrete fields
Implicits
Inherited implicits
implicit def http4sHeadersDecoder[T](implicit F: Applicative[F], decoder: EntityDecoder[F, T]): EntityDecoder[F, (Headers, T)]
- Inherited from:
- Http4sClientDsl
- Source:
- Http4sClientDsl.scala