package
googleauth
Type Members
-
trait
Actions extends AnyRef
-
case class
DiscoveryDocument(authorization_endpoint: String, token_endpoint: String, userinfo_endpoint: String) extends Product with Serializable
-
case class
Error(errors: Seq[ErrorInfo], code: Int, message: String) extends Product with Serializable
-
case class
ErrorInfo(domain: String, reason: String, message: String) extends Product with Serializable
-
case class
FilterExemption(path: String) extends Product with Serializable
-
case class
GoogleAuthConfig(clientId: String, clientSecret: String, redirectUrl: String, domain: Option[String], maxAuthAge: Option[Duration] = None, enforceValidity: Boolean = true) extends Product with Serializable
-
-
-
case class
GoogleGroupConfig(adminUser: String, adminPassword: String, domain: String, applicationName: String) extends Product with Serializable
-
case class
JsonWebToken(jwt: String) extends Product with Serializable
-
case class
JwtClaims(iss: String, sub: String, azp: String, email: String, at_hash: String, email_verified: Boolean, aud: String, hd: Option[String], iat: Long, exp: Long) extends Product with Serializable
-
case class
Token(access_token: String, token_type: String, expires_in: Long, id_token: String) extends Product with Serializable
-
case class
UserIdentity(sub: String, email: String, firstName: String, lastName: String, exp: Long, avatarUrl: Option[String]) extends Product with Serializable
-
case class
UserInfo(gender: Option[String], sub: Option[String], name: String, given_name: String, family_name: String, profile: Option[String], picture: Option[String], email: String, locale: String, hd: Option[String]) extends Product with Serializable
The configuration class for Google authentication
The ClientID from the developer dashboard
The client secret from the developer dashboard
The URL to return to after authentication has completed
An optional domain to restrict login to (e.g. guardian.co.uk)
An optional duration after which you want a user to be prompted for their password again
A boolean indicating whether you want a user to be re-authenticated when their session expires