Module

Network.Ethereum.Uport.Signer

Package
purescript-uport
Repository
f-o-a-m/purescript-uport

#Signer Source

data Signer :: # Effect -> Type

Signing function which will be used to sign JWT's in the credentials object. It could be constracted out of mkSigner or more low level function fromRawSigner.

#SigningInput Source

newtype SigningInput

Input to signing function

Constructors

#Signature Source

newtype Signature

Result of signing function.

Constructors

#mkSigner Source

mkSigner :: forall eff. (SigningInput -> Aff eff Signature) -> Eff eff (Signer eff)

Takes Aff based signing function and retusn Signer.

#RawSigner Source

type RawSigner eff = EffFn2 eff SigningInput (SignerCallback eff) Unit

Low level representation of Signer

#fromRawSigner Source

fromRawSigner :: forall eff. RawSigner eff -> Signer eff