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

Safe HaskellNone
LanguageHaskell2010

Yesod.Auth.OAuth2.ErrorResponse

Description

Synopsis

Documentation

onErrorResponse :: MonadHandler m => (ErrorResponse -> m a) -> m () Source #

Check query parameters for an error, if found run the given action

The action is expected to use a short-circuit response function like permissionDenied, hence this returning ().