swarm-0.6.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.Web.Auth

Description

Authentication logic for Swarm tournament server.

Documentation

newtype AccessToken Source #

Constructors

AccessToken ByteString 

Instances

Instances details
ToField AccessToken Source # 
Instance details

Defined in Swarm.Web.Auth

newtype RefreshToken Source #

Constructors

RefreshToken ByteString 

Instances

Instances details
ToField RefreshToken Source # 
Instance details

Defined in Swarm.Web.Auth

data UserApiResponse Source #

Constructors

UserApiResponse 

Fields

Instances

Instances details
FromJSON UserApiResponse Source # 
Instance details

Defined in Swarm.Web.Auth

Generic UserApiResponse Source # 
Instance details

Defined in Swarm.Web.Auth

Associated Types

type Rep UserApiResponse :: Type -> Type #

type Rep UserApiResponse Source # 
Instance details

Defined in Swarm.Web.Auth

type Rep UserApiResponse = D1 ('MetaData "UserApiResponse" "Swarm.Web.Auth" "swarm-0.6.0.0-ERx1HMcRMba59aI2b6aNrS-swarm-tournament" 'False) (C1 ('MetaCons "UserApiResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "login") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data Expirable a Source #

Constructors

Expirable 

Fields