OAuth

trait OAuth[F[_]]
class Object
trait Matchable
class Any

Value members

Abstract methods

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.

Source:
OAuth.scala
def maxDuration: FiniteDuration