HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulehoauth2-2.14.3Haskell2010

Network.OAuth2.Experiment.Flows.TokenRequest

  • 1 type
  • 2 classes
  • 4 values
  • Packagehoauth2-2.14.3
  • Exports7
  • LanguageHaskell2010
  • LicenceMIT
  • SourceTokenRequest.hs
Instances5HasTokenRequestClientAuthenticationMethod
datadata NoNeedExchangeToken
#

Only Authorization Code Grant involves a Exchange Token (Authorization Code). ResourceOwnerPassword and Client Credentials make token request directly.

Associated types

Methods

  • mkTokenRequestParam :: a -> ExchangeTokenInfo a -> TokenRequest a

    Only 'AuthorizationCode flow (but not resource owner password nor client credentials) will use ExchangeToken in the token request create type family to be explicit on it. with 'type instance WithExchangeToken a b = b' implies no exchange token v.s. 'type instance WithExchangeToken a b = ExchangeToken -> b' implies needing an exchange token type WithExchangeToken a b

Instances5HasTokenRequest