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

Safe HaskellNone
LanguageHaskell98

Yesod.Auth.OAuth2.Bitbucket

Description

OAuth2 plugin for http://bitbucket.com

  • Authenticates against bitbucket
  • Uses bitbucket uuid as credentials identifier
  • Returns email, username, full name, location and avatar as extras

Documentation

oauth2Bitbucket Source #

Arguments

:: YesodAuth m 
=> Text

Client ID

-> Text

Client Secret

-> AuthPlugin m 

oauth2BitbucketScoped Source #

Arguments

:: YesodAuth m 
=> Text

Client ID

-> Text

Client Secret

-> [Text]

List of scopes to request

-> AuthPlugin m