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

Safe HaskellNone
LanguageHaskell98

Yesod.Auth.OAuth2.BattleNet

Description

OAuth2 plugin for Battle.Net

  • Authenticates against battle.net.
  • Uses user's id as credentials identifier.
  • Returns user's battletag in extras.

Documentation

oAuth2BattleNet Source #

Arguments

:: YesodAuth m 
=> Text

Client ID

-> Text

Client Secret

-> Text

User region (e.g. "eu", "cn", "us")

-> WidgetT m IO ()

Login widget

-> AuthPlugin m