blockfrost-client-core-0.4.0.1: blockfrost.io common client definitions / instances
Safe HaskellNone
LanguageHaskell2010

Blockfrost.Client.Auth

Description

Blockfrost authentication scheme instance for HasClient

Documentation

data Project #

Instances

Instances details
Eq Project 
Instance details

Defined in Blockfrost.Auth

Methods

(==) :: Project -> Project -> Bool #

(/=) :: Project -> Project -> Bool #

Show Project 
Instance details

Defined in Blockfrost.Auth

IsString Project 
Instance details

Defined in Blockfrost.Auth

Methods

fromString :: String -> Project #

Generic Project 
Instance details

Defined in Blockfrost.Auth

Associated Types

type Rep Project :: Type -> Type #

Methods

from :: Project -> Rep Project x #

to :: Rep Project x -> Project #

type Rep Project 
Instance details

Defined in Blockfrost.Auth

type Rep Project = D1 ('MetaData "Project" "Blockfrost.Auth" "blockfrost-api-0.4.0.1-9IppWzogtB2Kw5eDV4M9U" 'False) (C1 ('MetaCons "Project" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectEnv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Env) :*: S1 ('MetaSel ('Just "projectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Orphan instances

(HasClient m api, KnownSymbol sym) => HasClient m (ProjectAuth '[APIKeyInHeader sym] a :> api) Source # 
Instance details

Associated Types

type Client m (ProjectAuth '[APIKeyInHeader sym] a :> api) #

Methods

clientWithRoute :: Proxy m -> Proxy (ProjectAuth '[APIKeyInHeader sym] a :> api) -> Request -> Client m (ProjectAuth '[APIKeyInHeader sym] a :> api) #

hoistClientMonad :: Proxy m -> Proxy (ProjectAuth '[APIKeyInHeader sym] a :> api) -> (forall x. mon x -> mon' x) -> Client mon (ProjectAuth '[APIKeyInHeader sym] a :> api) -> Client mon' (ProjectAuth '[APIKeyInHeader sym] a :> api) #