wai-middleware-auth-0.2.5.1: Authentication middleware that secures WAI application
Safe HaskellNone
LanguageHaskell2010

Network.Wai.Middleware.Auth.OAuth2.Gitlab

Synopsis

Documentation

mkGitlabProvider Source #

Arguments

:: Text

Hostname of GitLab instance (e.g. gitlab.com)

-> Text

Name of the application as it is registered on gitlab

-> Text

client_id from gitlab

-> Text

client_secret from gitlab

-> [ByteString]

White list of posix regular expressions for emails attached to gitlab account.

-> Maybe ProviderInfo

Replacement for default info

-> Gitlab 

Create a gitlab authentication provider

Since: 0.2.4.0

gitlabParser :: ProviderParser Source #

Aeson parser for Gitlab provider.

Since: 0.2.4.0