blockfrost-api-0.4.0.1: API definitions for blockfrost.io
Safe Haskell None
Language Haskell2010

Blockfrost.Auth

Description

Blockfrost authentication schemes

Synopsis

Documentation

data APIKeyInHeader (headerName :: Symbol ) Source #

The type of Auth scheme.

newtype APIKeyInHeaderSettings Source #

Auth scheme settings Needs IO action to verify passed in token and maybe return Project

data Env Source #

Blockfrost environments

Corresponds to Network when creating a Blockfrost project. Each environment has separate token.

Instances

Instances details
Eq Env Source #
Instance details

Defined in Blockfrost.Env

Ord Env Source #
Instance details

Defined in Blockfrost.Env

Read Env Source #
Instance details

Defined in Blockfrost.Env

Show Env Source #
Instance details

Defined in Blockfrost.Env

Generic Env Source #
Instance details

Defined in Blockfrost.Env

Associated Types

type Rep Env :: Type -> Type Source #

type Rep Env Source #
Instance details

Defined in Blockfrost.Env

type Rep Env = D1 (' MetaData "Env" "Blockfrost.Env" "blockfrost-api-0.4.0.1-A9W5au7R2kOUA8M8hTMe9" ' False ) (( C1 (' MetaCons "Ipfs" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "Mainnet" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "Testnet" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "Localhost" ' PrefixI ' False ) ( U1 :: Type -> Type )))

data ProjectAuth (auths :: [ Type ]) val Source #

Instances

Instances details
HasLink sub => HasLink ( ProjectAuth tag value :> sub :: Type ) Source #
Instance details

Defined in Blockfrost.Auth

Associated Types

type MkLink ( ProjectAuth tag value :> sub) a Source #

Methods

toLink :: ( Link -> a) -> Proxy ( ProjectAuth tag value :> sub) -> Link -> MkLink ( ProjectAuth tag value :> sub) a Source #

type MkLink ( ProjectAuth tag value :> sub :: Type ) r Source #
Instance details

Defined in Blockfrost.Auth

type MkLink ( ProjectAuth tag value :> sub :: Type ) r = MkLink sub r

mkProject :: Text -> Project Source #

Parse Project from Text or fail with error