google-oauth2 alternatives and similar packages
Based on the "Unclassified" category.
Alternatively, view google-oauth2 alternatives based on common mentions on social networks and blogs.
-
gotta-go-fast
A command line utility for practicing typing and measuring your WPM and accuracy. -
heroku-persistent
Parse DATABASE_URL into configuration types for Persistent -
ascii-art-to-unicode
Small program to convert ASCII box art to Unicode box drawings. -
rollbar-cli
A group of libraries written in Haskell to communicate with Rollbar API. -
bit-stream
Lazy infinite compact streams with cache-friendly O(1) indexing and applications for memoization -
base-unicode-symbols
Unicode alternatives for common functions and operators -
hackertyper
"Hack" like a programmer in movies and games! Inspired by hackertyper.net -
aeson-serialize
Functions for serializing a type that is an instance of ToJSON -
dependent-sum-template
Template Haskell code to generate instances of classes in dependent-sum package -
argon2
Haskell bindings to libargon2 - the reference implementation of the Argon2 password-hashing function -
servant-streaming
Support for servant requests and responses via the 'streaming' library -
webkit-javascriptcore
webkit javascriptcore library FFI -
containers-unicode-symbols
Unicode alternatives for common functions and operators -
semver-range
Implementation of semver and NPM-style semantic version ranges in Haskell -
postgresql-simple-sop
Generic functions for postgresql-simple -
rerebase
Reexports from "base" with a bunch of other standard libraries -
bitcoind-regtest
A cilent for the bitcoind JSON-RPC interface -
streaming-events
Client-side consumption of a ServerEvent. -
hasql-dynamic-statements
Dynamic statements for Hasql -
network-carbon
A Haskell implementation of the Carbon protocol (part of the Graphite monitoring tools)
Access the most powerful time series database as a service
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of google-oauth2 or a related project?
README
Google OAuth2
Interactive Google OAuth2 token negotiation
Usage
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
module Main (main) where
import Data.Aeson
import Data.Semigroup ((<>))
import Network.Google.OAuth2
import Network.HTTP.Simple
import Network.OAuth.OAuth2
import Data.Text.Encoding (encodeUtf8)
main :: IO ()
main = do
OAuth2Token{..} <-
getAccessToken
"<CLIENT_ID>" -- Fill with real ID.
"<CLIENT_SECRET>" -- Fill with real code.
["https://www.googleapis.com/auth/drive"]
(Just "path/to/credentials.cache")
request <- parseRequest "https://www.googleapis.com/drive/v2/files"
response <- httpJSON $ authorize (atoken accessToken) request
print (getResponseBody response :: Value)
where
authorize token = setRequestHeaders
[ ("Authorization", encodeUtf8 $ "Bearer " <> token)
]
Prior Art
This module was inspired by handa-gdata which appears to be abandoned.
[CHANGELOG](./CHANGELOG.md) | [LICENSE](./LICENSE)
*Note that all licence references and agreements mentioned in the google-oauth2 README section above
are relevant to that project's source code only.