cachix-api-0.6.0: Servant HTTP API specification for https://cachix.org
Safe HaskellNone
LanguageHaskell2010

Cachix.Types.Session

Description

Auth representations

Documentation

data Session Source #

Constructors

JWTSession ClaimsSet 

Instances

Instances details
Eq Session Source # 
Instance details

Defined in Cachix.Types.Session

Methods

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

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

FromJWT Session Source # 
Instance details

Defined in Cachix.Types.Session

Methods

decodeJWT :: ClaimsSet -> Either Text Session

ToJWT Session Source # 
Instance details

Defined in Cachix.Types.Session

Methods

encodeJWT :: Session -> ClaimsSet