yesod-auth-oauth2-0.2.4: OAuth 2.0 authentication plugins

Safe HaskellNone
LanguageHaskell98

Yesod.Auth.OAuth2.Github

Description

OAuth2 plugin for http://github.com

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

Documentation

oauth2Github Source #

Arguments

:: YesodAuth m 
=> Text

Client ID

-> Text

Client Secret

-> AuthPlugin m 

oauth2GithubScoped Source #

Arguments

:: YesodAuth m 
=> Text

Client ID

-> Text

Client Secret

-> [Text]

List of scopes to request

-> AuthPlugin m