playground-common-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Auth.Types

Documentation

newtype OAuthCode Source #

Constructors

OAuthCode Text 

Instances

Instances details
Eq OAuthCode Source # 
Instance details

Defined in Auth.Types

Show OAuthCode Source # 
Instance details

Defined in Auth.Types

Generic OAuthCode Source # 
Instance details

Defined in Auth.Types

Associated Types

type Rep OAuthCode :: Type -> Type Source #

FromHttpApiData OAuthCode Source # 
Instance details

Defined in Auth.Types

Newtype OAuthCode Source # 
Instance details

Defined in Auth.Types

Associated Types

type O OAuthCode Source #

type Rep OAuthCode Source # 
Instance details

Defined in Auth.Types

type Rep OAuthCode = D1 ('MetaData "OAuthCode" "Auth.Types" "playground-common-0.1.0.0-LHGPmcl6mK723R6a6rRgpE" 'True) (C1 ('MetaCons "OAuthCode" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
type O OAuthCode Source # 
Instance details

Defined in Auth.Types

type O OAuthCode = GO (Rep OAuthCode)

data OAuthToken a Source #

Instances

Instances details
Eq (OAuthToken a) Source # 
Instance details

Defined in Auth.Types

Show (OAuthToken a) Source # 
Instance details

Defined in Auth.Types

Generic (OAuthToken a) Source # 
Instance details

Defined in Auth.Types

Associated Types

type Rep (OAuthToken a) :: Type -> Type Source #

Methods

from :: OAuthToken a -> Rep (OAuthToken a) x Source #

to :: Rep (OAuthToken a) x -> OAuthToken a Source #

ToJSON (OAuthToken a) Source #

We use the default JSON encoding for sending-to-PureScript's sake, but a custom one for receiving-from-Github.

Instance details

Defined in Auth.Types

FromJSON (OAuthToken a) Source # 
Instance details

Defined in Auth.Types

type Rep (OAuthToken a) Source # 
Instance details

Defined in Auth.Types

type Rep (OAuthToken a) = D1 ('MetaData "OAuthToken" "Auth.Types" "playground-common-0.1.0.0-LHGPmcl6mK723R6a6rRgpE" 'False) (C1 ('MetaCons "OAuthToken" 'PrefixI 'True) (S1 ('MetaSel ('Just "oAuthTokenAccessToken") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Token a)) :*: (S1 ('MetaSel ('Just "oAuthTokenScope") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "oAuthTokenTokenType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))

data TokenProvider Source #

Constructors

Github 

newtype Token (a :: TokenProvider) Source #

Constructors

Token Text 

Instances

Instances details
Eq (Token a) Source # 
Instance details

Defined in Auth.Types

Methods

(==) :: Token a -> Token a -> Bool Source #

(/=) :: Token a -> Token a -> Bool Source #

Show (Token a) Source # 
Instance details

Defined in Auth.Types

Generic (Token a) Source # 
Instance details

Defined in Auth.Types

Associated Types

type Rep (Token a) :: Type -> Type Source #

Methods

from :: Token a -> Rep (Token a) x Source #

to :: Rep (Token a) x -> Token a Source #

ToJSON (Token a) Source # 
Instance details

Defined in Auth.Types

FromJSON (Token a) Source # 
Instance details

Defined in Auth.Types

ToHttpApiData (Token a) Source # 
Instance details

Defined in Auth.Types

Newtype (Token a) Source # 
Instance details

Defined in Auth.Types

Associated Types

type O (Token a) Source #

Methods

pack :: O (Token a) -> Token a Source #

unpack :: Token a -> O (Token a) Source #

type Rep (Token a) Source # 
Instance details

Defined in Auth.Types

type Rep (Token a) = D1 ('MetaData "Token" "Auth.Types" "playground-common-0.1.0.0-LHGPmcl6mK723R6a6rRgpE" 'True) (C1 ('MetaCons "Token" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
type O (Token a) Source # 
Instance details

Defined in Auth.Types

type O (Token a) = GO (Rep (Token a))

newtype OAuthClientId Source #

Constructors

OAuthClientId Text 

Instances

Instances details
Eq OAuthClientId Source # 
Instance details

Defined in Auth.Types

Show OAuthClientId Source # 
Instance details

Defined in Auth.Types

Generic OAuthClientId Source # 
Instance details

Defined in Auth.Types

Associated Types

type Rep OAuthClientId :: Type -> Type Source #

ToJSON OAuthClientId Source # 
Instance details

Defined in Auth.Types

FromJSON OAuthClientId Source # 
Instance details

Defined in Auth.Types

Newtype OAuthClientId Source # 
Instance details

Defined in Auth.Types

Associated Types

type O OAuthClientId Source #

type Rep OAuthClientId Source # 
Instance details

Defined in Auth.Types

type Rep OAuthClientId = D1 ('MetaData "OAuthClientId" "Auth.Types" "playground-common-0.1.0.0-LHGPmcl6mK723R6a6rRgpE" 'True) (C1 ('MetaCons "OAuthClientId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
type O OAuthClientId Source # 
Instance details

Defined in Auth.Types

newtype OAuthClientSecret Source #

Constructors

OAuthClientSecret Text 

Instances

Instances details
Eq OAuthClientSecret Source # 
Instance details

Defined in Auth.Types

Show OAuthClientSecret Source # 
Instance details

Defined in Auth.Types

Generic OAuthClientSecret Source # 
Instance details

Defined in Auth.Types

Associated Types

type Rep OAuthClientSecret :: Type -> Type Source #

ToJSON OAuthClientSecret Source # 
Instance details

Defined in Auth.Types

FromJSON OAuthClientSecret Source # 
Instance details

Defined in Auth.Types

Newtype OAuthClientSecret Source # 
Instance details

Defined in Auth.Types

Associated Types

type O OAuthClientSecret Source #

type Rep OAuthClientSecret Source # 
Instance details

Defined in Auth.Types

type Rep OAuthClientSecret = D1 ('MetaData "OAuthClientSecret" "Auth.Types" "playground-common-0.1.0.0-LHGPmcl6mK723R6a6rRgpE" 'True) (C1 ('MetaCons "OAuthClientSecret" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
type O OAuthClientSecret Source # 
Instance details

Defined in Auth.Types