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

Safe HaskellNone

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

oauth2GithubSource

Arguments

:: YesodAuth m 
=> Text

Client ID

-> Text

Client Secret

-> AuthPlugin m 

oauth2GithubScopedSource

Arguments

:: YesodAuth m 
=> Text

Client ID

-> Text

Client Secret

-> [Text]

List of scopes to request

-> AuthPlugin m