-
Notifications
You must be signed in to change notification settings - Fork 4
/
yesod-auth-fb.cabal
63 lines (58 loc) · 2.59 KB
/
yesod-auth-fb.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Name: yesod-auth-fb
Version: 1.7
Synopsis: Authentication backend for Yesod using Facebook.
Homepage: https://github.com/prowdsponsor/yesod-auth-fb
License: BSD3
License-file: LICENSE
Author: Felipe Lessa, Michael Snoyman
Maintainer: Felipe Lessa <[email protected]>
Category: Web
Build-type: Simple
Cabal-version: >= 1.6
Extra-source-files: README, demo/clientside.hs
Description:
This package allows you to use Yesod's authentication framework
with Facebook as your backend. That is, your site's users will
log in to your site through Facebook. Your application need to
be registered on Facebook.
.
This package works with both the server-side authentication
flow
(<https://developers.facebook.com/docs/authentication/server-side/>)
via the "Yesod.Auth.Facebook.ServerSide" module and the
client-side authentication
(<https://developers.facebook.com/docs/authentication/client-side/>)
via the "Yesod.Auth.Facebook.ClientSide" module. It's up to
you to decide which one to use. The server-side code is older
and as such has been through a lot more testing than the
client-side code. Also, for now only the server-side code is
able to work with other authentication plugins. The
client-side code, however, allows you to use some features that
are available only to the Facebook JS SDK (such as
automatically logging your users in, see
<https://developers.facebook.com/blog/post/2012/05/08/how-to--improve-the-experience-for-returning-users/>).
Source-repository head
type: git
location: git://github.com/prowdsponsor/yesod-auth-fb.git
Library
hs-source-dirs: src
Build-depends: base >= 4.3 && < 5
, lifted-base >= 0.1 && < 0.3
, yesod-core >= 1.2 && < 1.5
, yesod-auth >= 1.3 && < 1.5
, shakespeare >= 2.0
, wai
, http-conduit >= 1.9
, text >= 0.7 && < 1.3
, transformers >= 0.1.3 && < 0.5
, yesod-fb == 0.3.*
, fb >= 0.14 && < 1.1
, conduit >= 1.0 && < 1.3
, bytestring >= 0.9 && < 0.11
, aeson >= 0.6
, time >= 1.0 && < 1.6
Exposed-modules: Yesod.Auth.Facebook
, Yesod.Auth.Facebook.ClientSide
, Yesod.Auth.Facebook.ServerSide
Extensions: GADTs QuasiQuotes OverloadedStrings
GHC-options: -Wall