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

Safe HaskellNone
LanguageHaskell98

Yesod.Auth.OAuth2.EveOnline

Description

OAuth2 plugin for http://eveonline.com

  • Authenticates against eveonline
  • Uses EVEs unique account-user-char-hash as credentials identifier
  • Returns charName, charId, tokenType, accessToken and expires as extras

Documentation

oauth2Eve Source

Arguments

:: YesodAuth m 
=> Text

Client ID

-> Text

Client Secret

-> WidgetType m 
-> AuthPlugin m 

oauth2EveScoped Source

Arguments

:: YesodAuth m 
=> Text

Client ID

-> Text

Client Secret

-> [Text]

List of scopes to request

-> WidgetT m IO ()

Login widget

-> AuthPlugin m 

data WidgetType m Source

Constructors

Plain

Simple "Login via eveonline" text

BigWhite 
SmallWhite 
BigBlack 
SmallBlack 
Custom (WidgetT m IO ())