com.mle

oauth

package oauth

Visibility
  1. Public
  2. All

Type Members

  1. case class DiscoGsOAuthCredentials(consumerKey: String, consumerSecret: String, accessToken: String, accessTokenSecret: String) extends Product with Serializable

  2. class DiscoGsOAuthReader extends BaseConfigReader[DiscoGsOAuthCredentials]

  3. class GoogleOAuth extends Closeable with Log

    See also

    https://developers.google.com/accounts/docs/OAuth2Login

  4. case class GoogleOAuthConf(issuer: String, authorizationEndpoint: String, tokenEndpoint: String, userInfoEndpoint: String, revocationEndpoint: String, jwksUri: String, responseTypesSupported: Seq[String], subjectTypesSupported: Seq[String], algorithmsSupported: Seq[String], authMethodsSupported: Seq[String]) extends Product with Serializable

  5. case class GoogleOAuthCredentials(clientId: String, clientSecret: String, scope: String) extends Product with Serializable

  6. class GoogleOAuthReader extends BaseConfigReader[GoogleOAuthCredentials]

  7. case class IdToken(iss: String, sub: String, email: String, aud: String, iat: Long, exp: Long) extends Product with Serializable

  8. trait OAuthControl extends Controller with Log

    A Controller to handle the Google OAuth2 authentication flow.

    A Controller to handle the Google OAuth2 authentication flow.

    1) User is sent to initiate() 2) initiate() sends (redirects) user to Google 3) Google redirects user to redirResponse() after consent 4) redirResponse() extracts email, authenticates

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

Value Members

  1. object DiscoGsOAuthReader extends DiscoGsOAuthReader

  2. object GoogleOAuth

  3. object GoogleOAuthConf extends Serializable

  4. object GoogleOAuthReader extends GoogleOAuthReader

  5. object IdToken extends Serializable

  6. object TokenResponse extends Serializable

Ungrouped