com.gu

googleauth

package googleauth

Visibility
  1. Public
  2. All

Type Members

  1. trait Actions extends AnyRef

  2. case class DiscoveryDocument(authorization_endpoint: String, token_endpoint: String, userinfo_endpoint: String) extends Product with Serializable

  3. case class Error(errors: Seq[ErrorInfo], code: Int, message: String) extends Product with Serializable

  4. case class ErrorInfo(domain: String, reason: String, message: String) extends Product with Serializable

  5. case class FilterExemption(path: String) extends Product with Serializable

  6. case class GoogleAuthConfig(clientId: String, clientSecret: String, redirectUrl: String, domain: Option[String], maxAuthAge: Option[Duration] = None, enforceValidity: Boolean = true) extends Product with Serializable

    The configuration class for Google authentication

    The configuration class for Google authentication

    clientId

    The ClientID from the developer dashboard

    clientSecret

    The client secret from the developer dashboard

    redirectUrl

    The URL to return to after authentication has completed

    domain

    An optional domain to restrict login to (e.g. guardian.co.uk)

    maxAuthAge

    An optional duration after which you want a user to be prompted for their password again

    enforceValidity

    A boolean indicating whether you want a user to be re-authenticated when their session expires

  7. class GoogleAuthException extends Exception

  8. class GoogleGroupChecker extends AnyRef

  9. case class GoogleGroupConfig(adminUser: String, adminPassword: String, domain: String, applicationName: String) extends Product with Serializable

    The configuration class for Google Group authentication

    The configuration class for Google Group authentication

    adminUser

    Administrator user which needs access to the Provisioning API (this will need to be set up by a Domain administrator)

    adminPassword

    Administrator password

    domain

    Domain being configured

    applicationName

    Application name consuming the API

  10. case class JsonWebToken(jwt: String) extends Product with Serializable

  11. 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

  12. case class Token(access_token: String, token_type: String, expires_in: Long, id_token: String) extends Product with Serializable

  13. case class UserIdentity(sub: String, email: String, firstName: String, lastName: String, exp: Long, avatarUrl: Option[String]) extends Product with Serializable

  14. 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

Value Members

  1. object AuthenticatedRequest

  2. object DiscoveryDocument extends Serializable

  3. object Error extends Serializable

  4. object ErrorInfo extends Serializable

  5. object GoogleAuth

  6. object GoogleAuthFilters

  7. object JwtClaims extends Serializable

  8. object Token extends Serializable

  9. object UserIdentity extends Serializable

  10. object UserInfo extends Serializable

Ungrouped