gamgee-1.2.2: Tool for generating TOTP MFA tokens.
Safe HaskellNone
LanguageHaskell2010

Gamgee.Effects.SecretInput

Synopsis

Effect

data SecretInput i m a where Source #

An effect that provides input to the application. Intended to be used in contexts where the input is a secret such as passwords. Interpretations may chose to "protect" the input appropriately. For example, an IO interpretation may chose not to echo the input to the console.

Constructors

SecretInput

Retrieve a secret input

Fields

Instances

Instances details
type DefiningModule (SecretInput :: k1 -> k2 -> k1 -> Type) Source # 
Instance details

Defined in Gamgee.Effects.SecretInput

type DefiningModule (SecretInput :: k1 -> k2 -> k1 -> Type) = "Gamgee.Effects.SecretInput"

Actions

secretInput :: forall i r. MemberWithError (SecretInput i) r => Text -> Sem r i Source #

Interpretations