biscuit-haskell-0.5.0.0: Library support for the Biscuit security token
Copyright© Clément Delafargue 2021
LicenseBSD-3-Clause
Maintainerclement@delafargue.name
Safe HaskellSafe-Inferred
LanguageHaskell2010

Auth.Biscuit.Proto

Description

Haskell data structures mapping the biscuit protobuf definitions

Synopsis

Documentation

data Biscuit Source #

Instances

Instances details
Generic Biscuit Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep Biscuit :: Type -> Type #

Methods

from :: Biscuit -> Rep Biscuit x #

to :: Rep Biscuit x -> Biscuit #

Show Biscuit Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode Biscuit Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode Biscuit Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: Biscuit -> Put #

type Rep Biscuit Source # 
Instance details

Defined in Auth.Biscuit.Proto

data SignedBlock Source #

Instances

Instances details
Generic SignedBlock Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep SignedBlock :: Type -> Type #

Show SignedBlock Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode SignedBlock Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode SignedBlock Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: SignedBlock -> Put #

type Rep SignedBlock Source # 
Instance details

Defined in Auth.Biscuit.Proto

data PublicKey Source #

Instances

Instances details
Generic PublicKey Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep PublicKey :: Type -> Type #

Show PublicKey Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode PublicKey Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode PublicKey Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: PublicKey -> Put #

type Rep PublicKey Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep PublicKey = D1 ('MetaData "PublicKey" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "PublicKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "algorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 1 (Enumeration Algorithm))) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 2 (Value ByteString)))))

data ExternalSig Source #

Instances

Instances details
Generic ExternalSig Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep ExternalSig :: Type -> Type #

Show ExternalSig Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode ExternalSig Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode ExternalSig Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: ExternalSig -> Put #

type Rep ExternalSig Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep ExternalSig = D1 ('MetaData "ExternalSig" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "ExternalSig" 'PrefixI 'True) (S1 ('MetaSel ('Just "signature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 1 (Value ByteString))) :*: S1 ('MetaSel ('Just "publicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 2 (Message PublicKey)))))

data Proof Source #

Instances

Instances details
Generic Proof Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep Proof :: Type -> Type #

Methods

from :: Proof -> Rep Proof x #

to :: Rep Proof x -> Proof #

Show Proof Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

showsPrec :: Int -> Proof -> ShowS #

show :: Proof -> String #

showList :: [Proof] -> ShowS #

Decode Proof Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode Proof Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: Proof -> Put #

type Rep Proof Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep Proof = D1 ('MetaData "Proof" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "ProofSecret" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 1 (Value ByteString)))) :+: C1 ('MetaCons "ProofSignature" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 2 (Value ByteString)))))

data Block Source #

Instances

Instances details
Generic Block Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep Block :: Type -> Type #

Methods

from :: Block -> Rep Block x #

to :: Rep Block x -> Block #

Show Block Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

showsPrec :: Int -> Block -> ShowS #

show :: Block -> String #

showList :: [Block] -> ShowS #

Decode Block Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode Block Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: Block -> Put #

type Rep Block Source # 
Instance details

Defined in Auth.Biscuit.Proto

data Scope Source #

Instances

Instances details
Generic Scope Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep Scope :: Type -> Type #

Methods

from :: Scope -> Rep Scope x #

to :: Rep Scope x -> Scope #

Show Scope Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

showsPrec :: Int -> Scope -> ShowS #

show :: Scope -> String #

showList :: [Scope] -> ShowS #

Decode Scope Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode Scope Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: Scope -> Put #

type Rep Scope Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep Scope = D1 ('MetaData "Scope" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "ScType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 1 (Enumeration ScopeType)))) :+: C1 ('MetaCons "ScBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 2 (Value Int64)))))

newtype Fact Source #

Constructors

Fact 

Instances

Instances details
Generic Fact Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep Fact :: Type -> Type #

Methods

from :: Fact -> Rep Fact x #

to :: Rep Fact x -> Fact #

Show Fact Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

showsPrec :: Int -> Fact -> ShowS #

show :: Fact -> String #

showList :: [Fact] -> ShowS #

Decode Fact Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode Fact Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: Fact -> Put #

type Rep Fact Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep Fact = D1 ('MetaData "Fact" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'True) (C1 ('MetaCons "Fact" 'PrefixI 'True) (S1 ('MetaSel ('Just "predicate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 1 (Message Predicate)))))

data Rule Source #

Instances

Instances details
Generic Rule Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep Rule :: Type -> Type #

Methods

from :: Rule -> Rep Rule x #

to :: Rep Rule x -> Rule #

Show Rule Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

showsPrec :: Int -> Rule -> ShowS #

show :: Rule -> String #

showList :: [Rule] -> ShowS #

Decode Rule Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode Rule Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: Rule -> Put #

type Rep Rule Source # 
Instance details

Defined in Auth.Biscuit.Proto

data Check Source #

Constructors

Check 

Instances

Instances details
Generic Check Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep Check :: Type -> Type #

Methods

from :: Check -> Rep Check x #

to :: Rep Check x -> Check #

Show Check Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

showsPrec :: Int -> Check -> ShowS #

show :: Check -> String #

showList :: [Check] -> ShowS #

Decode Check Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode Check Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: Check -> Put #

type Rep Check Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep Check = D1 ('MetaData "Check" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "Check" 'PrefixI 'True) (S1 ('MetaSel ('Just "queries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Repeated 1 (Message Rule))) :*: S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Optional 2 (Enumeration CheckKind)))))

data Predicate Source #

Constructors

Predicate 

Instances

Instances details
Generic Predicate Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep Predicate :: Type -> Type #

Show Predicate Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode Predicate Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode Predicate Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: Predicate -> Put #

type Rep Predicate Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep Predicate = D1 ('MetaData "Predicate" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "Predicate" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 1 (Value Int64))) :*: S1 ('MetaSel ('Just "terms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Repeated 2 (Message Term)))))

data Term Source #

Instances

Instances details
Generic Term Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep Term :: Type -> Type #

Methods

from :: Term -> Rep Term x #

to :: Rep Term x -> Term #

Show Term Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

showsPrec :: Int -> Term -> ShowS #

show :: Term -> String #

showList :: [Term] -> ShowS #

Decode Term Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode Term Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: Term -> Put #

type Rep Term Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep Term = D1 ('MetaData "Term" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (((C1 ('MetaCons "TermVariable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 1 (Value Int64)))) :+: C1 ('MetaCons "TermInteger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 2 (Value Int64))))) :+: (C1 ('MetaCons "TermString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 3 (Value Int64)))) :+: (C1 ('MetaCons "TermDate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 4 (Value Int64)))) :+: C1 ('MetaCons "TermBytes" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 5 (Value ByteString))))))) :+: ((C1 ('MetaCons "TermBool" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 6 (Value Bool)))) :+: C1 ('MetaCons "TermTermSet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 7 (Message TermSet))))) :+: (C1 ('MetaCons "TermNull" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 8 (Message Empty)))) :+: (C1 ('MetaCons "TermTermArray" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 9 (Message TermArray)))) :+: C1 ('MetaCons "TermTermMap" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 10 (Message TermMap))))))))

newtype Expression Source #

Constructors

Expression 

Fields

Instances

Instances details
Generic Expression Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep Expression :: Type -> Type #

Show Expression Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode Expression Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode Expression Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: Expression -> Put #

type Rep Expression Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep Expression = D1 ('MetaData "Expression" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'True) (C1 ('MetaCons "Expression" 'PrefixI 'True) (S1 ('MetaSel ('Just "ops") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Repeated 1 (Message Op)))))

newtype TermSet Source #

Constructors

TermSet 

Fields

Instances

Instances details
Generic TermSet Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep TermSet :: Type -> Type #

Methods

from :: TermSet -> Rep TermSet x #

to :: Rep TermSet x -> TermSet #

Show TermSet Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode TermSet Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode TermSet Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: TermSet -> Put #

type Rep TermSet Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep TermSet = D1 ('MetaData "TermSet" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'True) (C1 ('MetaCons "TermSet" 'PrefixI 'True) (S1 ('MetaSel ('Just "set") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Repeated 1 (Message Term)))))

newtype TermArray Source #

Constructors

TermArray 

Fields

Instances

Instances details
Generic TermArray Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep TermArray :: Type -> Type #

Show TermArray Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode TermArray Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode TermArray Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: TermArray -> Put #

type Rep TermArray Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep TermArray = D1 ('MetaData "TermArray" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'True) (C1 ('MetaCons "TermArray" 'PrefixI 'True) (S1 ('MetaSel ('Just "array") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Repeated 1 (Message Term)))))

newtype TermMap Source #

Constructors

TermMap 

Fields

Instances

Instances details
Generic TermMap Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep TermMap :: Type -> Type #

Methods

from :: TermMap -> Rep TermMap x #

to :: Rep TermMap x -> TermMap #

Show TermMap Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode TermMap Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode TermMap Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: TermMap -> Put #

type Rep TermMap Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep TermMap = D1 ('MetaData "TermMap" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'True) (C1 ('MetaCons "TermMap" 'PrefixI 'True) (S1 ('MetaSel ('Just "map") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Repeated 1 (Message MapEntry)))))

data MapKey Source #

Instances

Instances details
Generic MapKey Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep MapKey :: Type -> Type #

Methods

from :: MapKey -> Rep MapKey x #

to :: Rep MapKey x -> MapKey #

Show MapKey Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode MapKey Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode MapKey Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: MapKey -> Put #

type Rep MapKey Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep MapKey = D1 ('MetaData "MapKey" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "MapKeyInt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 1 (Value Int64)))) :+: C1 ('MetaCons "MapKeyString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 2 (Value Int64)))))

data MapEntry Source #

Constructors

MapEntry 

Instances

Instances details
Generic MapEntry Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep MapEntry :: Type -> Type #

Methods

from :: MapEntry -> Rep MapEntry x #

to :: Rep MapEntry x -> MapEntry #

Show MapEntry Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode MapEntry Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode MapEntry Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: MapEntry -> Put #

type Rep MapEntry Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep MapEntry = D1 ('MetaData "MapEntry" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "MapEntry" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 1 (Message MapKey))) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 2 (Message Term)))))

data Empty Source #

Constructors

Empty 

Instances

Instances details
Generic Empty Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

Show Empty Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Decode Empty Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode Empty Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: Empty -> Put #

type Rep Empty Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep Empty = D1 ('MetaData "Empty" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "Empty" 'PrefixI 'False) (U1 :: Type -> Type))

data Op Source #

Instances

Instances details
Generic Op Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep Op :: Type -> Type #

Methods

from :: Op -> Rep Op x #

to :: Rep Op x -> Op #

Show Op Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

showsPrec :: Int -> Op -> ShowS #

show :: Op -> String #

showList :: [Op] -> ShowS #

Decode Op Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

decode :: HashMap Tag [WireField] -> Get Op #

Encode Op Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: Op -> Put #

type Rep Op Source # 
Instance details

Defined in Auth.Biscuit.Proto

data OpUnary Source #

Constructors

OpUnary 

Instances

Instances details
Generic OpUnary Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep OpUnary :: Type -> Type #

Methods

from :: OpUnary -> Rep OpUnary x #

to :: Rep OpUnary x -> OpUnary #

Show OpUnary Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode OpUnary Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode OpUnary Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: OpUnary -> Put #

type Rep OpUnary Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep OpUnary = D1 ('MetaData "OpUnary" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "OpUnary" 'PrefixI 'True) (S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 1 (Enumeration UnaryKind))) :*: S1 ('MetaSel ('Just "ffiName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Optional 2 (Value Int64)))))

data OpBinary Source #

Constructors

OpBinary 

Instances

Instances details
Generic OpBinary Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep OpBinary :: Type -> Type #

Methods

from :: OpBinary -> Rep OpBinary x #

to :: Rep OpBinary x -> OpBinary #

Show OpBinary Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode OpBinary Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode OpBinary Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: OpBinary -> Put #

type Rep OpBinary Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep OpBinary = D1 ('MetaData "OpBinary" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "OpBinary" 'PrefixI 'True) (S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 1 (Enumeration BinaryKind))) :*: S1 ('MetaSel ('Just "ffiName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Optional 2 (Value Int64)))))

data OpClosure Source #

Constructors

OpClosure 

Fields

Instances

Instances details
Generic OpClosure Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep OpClosure :: Type -> Type #

Show OpClosure Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode OpClosure Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode OpClosure Source # 
Instance details

Defined in Auth.Biscuit.Proto

Methods

encode :: OpClosure -> Put #

type Rep OpClosure Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep OpClosure = D1 ('MetaData "OpClosure" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "OpClosure" 'PrefixI 'True) (S1 ('MetaSel ('Just "params") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Repeated 1 (Value Int64))) :*: S1 ('MetaSel ('Just "ops") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Repeated 2 (Message Op)))))

data ThirdPartyBlockContents Source #

data ThirdPartyBlockRequest Source #

Instances

Instances details
Generic ThirdPartyBlockRequest Source # 
Instance details

Defined in Auth.Biscuit.Proto

Associated Types

type Rep ThirdPartyBlockRequest :: Type -> Type #

Show ThirdPartyBlockRequest Source # 
Instance details

Defined in Auth.Biscuit.Proto

Decode ThirdPartyBlockRequest Source # 
Instance details

Defined in Auth.Biscuit.Proto

Encode ThirdPartyBlockRequest Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep ThirdPartyBlockRequest Source # 
Instance details

Defined in Auth.Biscuit.Proto

type Rep ThirdPartyBlockRequest = D1 ('MetaData "ThirdPartyBlockRequest" "Auth.Biscuit.Proto" "biscuit-haskell-0.5.0.0-inplace" 'False) (C1 ('MetaCons "ThirdPartyBlockRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "legacyPk") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Optional 1 (Message PublicKey))) :*: (S1 ('MetaSel ('Just "pkTable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Repeated 2 (Message PublicKey))) :*: S1 ('MetaSel ('Just "prevSig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Required 3 (Value ByteString))))))

getField :: HasField a => a -> FieldType a #

Extract a value from it's Field representation.

putField :: HasField a => FieldType a -> a #

Wrap it back up again.