yesod-auth-oauth2-0.7.2.0: OAuth 2.0 authentication plugins
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.
Synopsis

Documentation

oauth2BattleNet Source #

Arguments

:: YesodAuth m 
=> WidgetFor m ()

Login widget

-> Text

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

-> Text

Client ID

-> Text

Client Secret

-> AuthPlugin m 

oAuth2BattleNet :: YesodAuth m => Text -> Text -> Text -> WidgetFor m () -> AuthPlugin m Source #

Deprecated: Use oauth2BattleNet