biscuit-haskell-0.3.0.0: Library support for the Biscuit security token
Safe HaskellSafe-Inferred
LanguageHaskell2010

Auth.Biscuit.Symbols

Synopsis

Documentation

data Symbols Source #

Instances

Instances details
Show Symbols Source # 
Instance details

Defined in Auth.Biscuit.Symbols

Eq Symbols Source # 
Instance details

Defined in Auth.Biscuit.Symbols

Methods

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

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

addSymbols :: Symbols -> Set Text -> Set PublicKey -> BlockSymbols Source #

Given already existing symbols and a set of symbols used in a block, compute the symbol table carried by this specific block

addFromBlock :: Symbols -> BlockSymbols -> Symbols Source #

Given the symbol table of a protobuf block, update the provided symbol table

reverseSymbols :: Symbols -> ReverseSymbols Source #

Reverse a symbol table

getSymbolCode :: ReverseSymbols -> Text -> SymbolRef Source #

Given a reverse symbol table (symbol refs indexed by their textual representation), turn textual representations into symbol refs. This function is partial, the reverse table is guaranteed to contain the expected textual symbols.