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.Types

  • 11 types
  • 2 classes
  • 1 value
  • Packagehoauth2-2.14.3
  • Exports14
  • LanguageHaskell2010
  • LicenceMIT
  • SourceTypes.hs

Idp App

2 declarations
datadata Idp (i :: k)
#

Idp i consists various endpoints endpoints.

The i is actually phantom type for information only (Idp name) at this moment. And it is PolyKinds.

Hence whenever Idp i or IdpApplication i a is used as function parameter, PolyKinds need to be enabled.

Constructors

datadata IdpApplication (i :: k) a
#

An OAuth2 Application "a" of IdP "i". "a" can be one of following type:

  • Network.OAuth2.Experiment.AuthorizationCodeApplication

  • Network.OAuth2.Experiment.DeviceAuthorizationApplication

  • Network.OAuth2.Experiment.ClientCredentialsApplication

  • Network.OAuth2.Experiment.ResourceOwnerPasswordApplication

  • Network.OAuth2.Experiment.JwtBearerApplication

Constructors

Scope

1 declaration
newtypenewtype Scope
#

Constructors

Instances5Eq, Ord, Show, IsString, ToQueryParam
  • Eq ScopeDefined in hoauth2-2.14.3 · Network.OAuth2.Experiment.Types
  • Ord ScopeDefined in hoauth2-2.14.3 · Network.OAuth2.Experiment.Types
  • Show ScopeDefined in hoauth2-2.14.3 · Network.OAuth2.Experiment.Types
  • IsString ScopeDefined in hoauth2-2.14.3 · Network.OAuth2.Experiment.Types
  • ToQueryParam (Set Scope)Defined in hoauth2-2.14.3 · Network.OAuth2.Experiment.Types

Grant Type value

2 declarations
datadata GrantTypeValue
#

Grant type query parameter has association with different GrantType flows but not completely strict.

e.g. Both AuthorizationCode and ResourceOwnerPassword flow could support refresh token flow.

Instances3Eq, Show, ToQueryParam

Credentials

7 declarations

Query parameters

2 declarations
classclass ToQueryParam a where
#

Methods

Instances24ToQueryParam, …
classclass HasOAuth2Key a where
#

Methods

Instances5HasOAuth2Key