napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Auth.Types

Synopsis

Documentation

data AuthEvalError #

Auth related Errors

Instances

Instances details
Exception AuthEvalError # 
Instance details

Defined in Napkin.Auth.Types

Generic AuthEvalError # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep AuthEvalError 
Instance details

Defined in Napkin.Auth.Types

type Rep AuthEvalError = D1 ('MetaData "AuthEvalError" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (((C1 ('MetaCons "AuthError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "AuthenticationFailed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "DatabaseFailure" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)))) :+: ((C1 ('MetaCons "AuthFileNotFound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "AuthToAuthorizedUser" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError))) :+: (C1 ('MetaCons "AuthWWWBrowserError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "GoogleAuthCodeError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError))))) :+: (((C1 ('MetaCons "NoClientInfo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "UnsupportedBackend" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError))) :+: (C1 ('MetaCons "NoNapkinGeneratedAuthFile" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "NotSupported" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)))) :+: ((C1 ('MetaCons "OSCommandError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "ParseCredentialsError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError))) :+: (C1 ('MetaCons "UserProvidedAuthFileNotFound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "SpecRelatedError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError))))))
Show AuthEvalError # 
Instance details

Defined in Napkin.Auth.Types

Eq AuthEvalError # 
Instance details

Defined in Napkin.Auth.Types

ToLText AuthEvalError # 
Instance details

Defined in Napkin.Auth.Types

ToText AuthEvalError # 
Instance details

Defined in Napkin.Auth.Types

Methods

toText :: AuthEvalError -> Text #

type Rep AuthEvalError # 
Instance details

Defined in Napkin.Auth.Types

type Rep AuthEvalError = D1 ('MetaData "AuthEvalError" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (((C1 ('MetaCons "AuthError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "AuthenticationFailed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "DatabaseFailure" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)))) :+: ((C1 ('MetaCons "AuthFileNotFound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "AuthToAuthorizedUser" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError))) :+: (C1 ('MetaCons "AuthWWWBrowserError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "GoogleAuthCodeError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError))))) :+: (((C1 ('MetaCons "NoClientInfo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "UnsupportedBackend" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError))) :+: (C1 ('MetaCons "NoNapkinGeneratedAuthFile" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "NotSupported" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)))) :+: ((C1 ('MetaCons "OSCommandError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "ParseCredentialsError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError))) :+: (C1 ('MetaCons "UserProvidedAuthFileNotFound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError)) :+: C1 ('MetaCons "SpecRelatedError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthEvalError))))))

data OAuth2 #

Constructors

OAuth2 

Instances

Instances details
Generic OAuth2 # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep OAuth2 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2 = D1 ('MetaData "OAuth2" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "OAuth2" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "clientSecret") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: OAuth2 -> Rep OAuth2 x #

to :: Rep OAuth2 x -> OAuth2 #

Show OAuth2 # 
Instance details

Defined in Napkin.Auth.Types

Eq OAuth2 # 
Instance details

Defined in Napkin.Auth.Types

Methods

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

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

type Rep OAuth2 # 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2 = D1 ('MetaData "OAuth2" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "OAuth2" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "clientSecret") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype OAuth2CacheIndex #

Constructors

OAuth2CacheIndex 

Fields

Instances

Instances details
Generic OAuth2CacheIndex # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep OAuth2CacheIndex 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2CacheIndex = D1 ('MetaData "OAuth2CacheIndex" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "OAuth2CacheIndex" 'PrefixI 'True) (S1 ('MetaSel ('Just "unIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show OAuth2CacheIndex # 
Instance details

Defined in Napkin.Auth.Types

Eq OAuth2CacheIndex # 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2CacheIndex # 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2CacheIndex = D1 ('MetaData "OAuth2CacheIndex" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "OAuth2CacheIndex" 'PrefixI 'True) (S1 ('MetaSel ('Just "unIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype SpecFile #

Constructors

SpecFile 

Fields

Instances

Instances details
Semigroup SpecFile # 
Instance details

Defined in Napkin.Auth.Types

Generic SpecFile # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep SpecFile 
Instance details

Defined in Napkin.Auth.Types

type Rep SpecFile = D1 ('MetaData "SpecFile" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "SpecFile" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSpecFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)))

Methods

from :: SpecFile -> Rep SpecFile x #

to :: Rep SpecFile x -> SpecFile #

Show SpecFile # 
Instance details

Defined in Napkin.Auth.Types

Eq SpecFile # 
Instance details

Defined in Napkin.Auth.Types

type Rep SpecFile # 
Instance details

Defined in Napkin.Auth.Types

type Rep SpecFile = D1 ('MetaData "SpecFile" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "SpecFile" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSpecFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)))

newtype DbUri #

Constructors

DbUri 

Fields

Instances

Instances details
Generic DbUri # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep DbUri 
Instance details

Defined in Napkin.Auth.Types

type Rep DbUri = D1 ('MetaData "DbUri" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "DbUri" 'PrefixI 'True) (S1 ('MetaSel ('Just "unUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: DbUri -> Rep DbUri x #

to :: Rep DbUri x -> DbUri #

Show DbUri # 
Instance details

Defined in Napkin.Auth.Types

Methods

showsPrec :: Int -> DbUri -> ShowS #

show :: DbUri -> String #

showList :: [DbUri] -> ShowS #

Eq DbUri # 
Instance details

Defined in Napkin.Auth.Types

Methods

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

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

type Rep DbUri # 
Instance details

Defined in Napkin.Auth.Types

type Rep DbUri = D1 ('MetaData "DbUri" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "DbUri" 'PrefixI 'True) (S1 ('MetaSel ('Just "unUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data OAuth2CorrelatedKey #

Instances

Instances details
Generic OAuth2CorrelatedKey # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep OAuth2CorrelatedKey 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2CorrelatedKey = D1 ('MetaData "OAuth2CorrelatedKey" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "OAuth2CorrelatedKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "specFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecFile) :*: (S1 ('MetaSel ('Just "dbUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DbUri) :*: S1 ('MetaSel ('Just "appName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AppName))))
Show OAuth2CorrelatedKey # 
Instance details

Defined in Napkin.Auth.Types

Eq OAuth2CorrelatedKey # 
Instance details

Defined in Napkin.Auth.Types

CacheIndex OAuth2CorrelatedKey # 
Instance details

Defined in Napkin.Auth.CacheHandler

type Rep OAuth2CorrelatedKey # 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2CorrelatedKey = D1 ('MetaData "OAuth2CorrelatedKey" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "OAuth2CorrelatedKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "specFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecFile) :*: (S1 ('MetaSel ('Just "dbUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DbUri) :*: S1 ('MetaSel ('Just "appName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AppName))))

data OAuth2Context #

Constructors

OAuth2Context 

Fields

Instances

Instances details
Generic OAuth2Context # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep OAuth2Context 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2Context = D1 ('MetaData "OAuth2Context" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "OAuth2Context" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dbPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: S1 ('MetaSel ('Just "callbackPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CallbackPort)) :*: (S1 ('MetaSel ('Just "specFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecFile) :*: S1 ('MetaSel ('Just "correlatedKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OAuth2CorrelatedKey))))
Show OAuth2Context # 
Instance details

Defined in Napkin.Auth.Types

Eq OAuth2Context # 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2Context # 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2Context = D1 ('MetaData "OAuth2Context" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "OAuth2Context" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dbPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: S1 ('MetaSel ('Just "callbackPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CallbackPort)) :*: (S1 ('MetaSel ('Just "specFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecFile) :*: S1 ('MetaSel ('Just "correlatedKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OAuth2CorrelatedKey))))

data NapkinOAuth2 #

Constructors

NapkinOAuth2 

Instances

Instances details
Generic NapkinOAuth2 # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep NapkinOAuth2 
Instance details

Defined in Napkin.Auth.Types

type Rep NapkinOAuth2 = D1 ('MetaData "NapkinOAuth2" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "NapkinOAuth2" 'PrefixI 'True) (S1 ('MetaSel ('Just "oAuth2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OAuth2) :*: S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OAuth2Context)))
Show NapkinOAuth2 # 
Instance details

Defined in Napkin.Auth.Types

Eq NapkinOAuth2 # 
Instance details

Defined in Napkin.Auth.Types

type Rep NapkinOAuth2 # 
Instance details

Defined in Napkin.Auth.Types

type Rep NapkinOAuth2 = D1 ('MetaData "NapkinOAuth2" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "NapkinOAuth2" 'PrefixI 'True) (S1 ('MetaSel ('Just "oAuth2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OAuth2) :*: S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OAuth2Context)))

newtype FromUser #

Constructors

FromUser FilePath 

Instances

Instances details
Show FromUser # 
Instance details

Defined in Napkin.Auth.Types

Eq FromUser # 
Instance details

Defined in Napkin.Auth.Types

data OAuth2NapkinAuthApi (a :: k) #

class ManySymbolVal (xs :: [Symbol]) where #

Methods

manySymbolVal :: proxy xs -> [String] #

Instances

Instances details
ManySymbolVal ('[] :: [Symbol]) # 
Instance details

Defined in Napkin.Auth.Types

Methods

manySymbolVal :: proxy ('[] :: [Symbol]) -> [String] #

(KnownSymbol a, ManySymbolVal as) => ManySymbolVal (a ': as) # 
Instance details

Defined in Napkin.Auth.Types

Methods

manySymbolVal :: proxy (a ': as) -> [String] #

type URIQueryParams = [(ByteString, ByteString)] #

OAuth2 and bigquery related scopes. for additional detail see: https://developers.google.com/identity/protocols/oauth2/scopes

type BigQueryScopes = '["https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only", "https://www.googleapis.com/auth/devstorage.full_control", "https://www.googleapis.com/auth/devstorage.read_only", "https://www.googleapis.com/auth/devstorage.read_write"] #

type OAuth2Scopes = '["openid", "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/appengine.admin", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/accounts.reauth"] #

type CredentialDir = FilePath #

Directory path to napkin credential path

data OAuth2Conf #

Instances

Instances details
Generic OAuth2Conf # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep OAuth2Conf 
Instance details

Defined in Napkin.Auth.Types

Show OAuth2Conf # 
Instance details

Defined in Napkin.Auth.Types

Eq OAuth2Conf # 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2Conf # 
Instance details

Defined in Napkin.Auth.Types

data OAuth2RunTime #

Instances

Instances details
Generic OAuth2RunTime # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep OAuth2RunTime 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2RunTime = D1 ('MetaData "OAuth2RunTime" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "OAuth2RunTime" 'PrefixI 'True) (S1 ('MetaSel ('Just "codeVerifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: (S1 ('MetaSel ('Just "codeChallenge") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "callbackUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))
Eq OAuth2RunTime # 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2RunTime # 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2RunTime = D1 ('MetaData "OAuth2RunTime" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "OAuth2RunTime" 'PrefixI 'True) (S1 ('MetaSel ('Just "codeVerifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: (S1 ('MetaSel ('Just "codeChallenge") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "callbackUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data OAuth2Token #

Instances

Instances details
FromJSON OAuth2Token # 
Instance details

Defined in Napkin.Auth.Types

ToJSON OAuth2Token # 
Instance details

Defined in Napkin.Auth.Types

Generic OAuth2Token # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep OAuth2Token 
Instance details

Defined in Napkin.Auth.Types

Show OAuth2Token # 
Instance details

Defined in Napkin.Auth.Types

Eq OAuth2Token # 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2Token # 
Instance details

Defined in Napkin.Auth.Types

data OAuth2Env #

Instances

Instances details
Generic OAuth2Env # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep OAuth2Env 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2Env = D1 ('MetaData "OAuth2Env" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "OAuth2Env" 'PrefixI 'True) (S1 ('MetaSel ('Just "conf") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OAuth2Conf) :*: (S1 ('MetaSel ('Just "runTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OAuth2RunTime) :*: S1 ('MetaSel ('Just "codeStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 O2CodeStore))))
type Rep OAuth2Env # 
Instance details

Defined in Napkin.Auth.Types

type Rep OAuth2Env = D1 ('MetaData "OAuth2Env" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "OAuth2Env" 'PrefixI 'True) (S1 ('MetaSel ('Just "conf") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OAuth2Conf) :*: (S1 ('MetaSel ('Just "runTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OAuth2RunTime) :*: S1 ('MetaSel ('Just "codeStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 O2CodeStore))))

data GCredentials #

Constructors

GCredentials 

Instances

Instances details
FromJSON GCredentials # 
Instance details

Defined in Napkin.Auth.Types

ToJSON GCredentials # 
Instance details

Defined in Napkin.Auth.Types

Generic GCredentials # 
Instance details

Defined in Napkin.Auth.Types

Associated Types

type Rep GCredentials 
Instance details

Defined in Napkin.Auth.Types

type Rep GCredentials = D1 ('MetaData "GCredentials" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "GCredentials" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "clientSecret") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "refreshToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_type") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))
type Rep GCredentials # 
Instance details

Defined in Napkin.Auth.Types

type Rep GCredentials = D1 ('MetaData "GCredentials" "Napkin.Auth.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "GCredentials" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "clientSecret") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "refreshToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_type") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))