yesod-auth-oauth2-0.0.11: Library to authenticate with OAuth 2.0 for Yesod web applications.

Safe HaskellNone
LanguageHaskell98

Yesod.Auth.OAuth2.Learn

Description

OAuth2 plugin for http://learn.thoughtbot.com

  • Authenticates against learn
  • Uses learn user id as credentials identifier
  • Returns first_name, last_name, and email as extras

Documentation

oauth2Learn Source

Arguments

:: YesodAuth m 
=> Text

Client ID

-> Text

Client Secret

-> AuthPlugin m