truelayer-0.1.3.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Bank.TrueLayer.Auth

Documentation

newtype RefreshToken #

Constructors

RefreshToken 

Fields

Instances

Instances details
FromJSON RefreshToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Methods

parseJSON :: Value -> Parser RefreshToken

parseJSONList :: Value -> Parser [RefreshToken]

ToJSON RefreshToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Methods

toJSON :: RefreshToken -> Value

toEncoding :: RefreshToken -> Encoding

toJSONList :: [RefreshToken] -> Value

toEncodingList :: [RefreshToken] -> Encoding

Show RefreshToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Binary RefreshToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Eq RefreshToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

newtype AccessToken #

Constructors

AccessToken 

Fields

Instances

Instances details
FromJSON AccessToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Methods

parseJSON :: Value -> Parser AccessToken

parseJSONList :: Value -> Parser [AccessToken]

ToJSON AccessToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Methods

toJSON :: AccessToken -> Value

toEncoding :: AccessToken -> Encoding

toJSONList :: [AccessToken] -> Value

toEncodingList :: [AccessToken] -> Encoding

Show AccessToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Binary AccessToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Eq AccessToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

data OAuth2Token #

Instances

Instances details
FromJSON OAuth2Token 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Methods

parseJSON :: Value -> Parser OAuth2Token

parseJSONList :: Value -> Parser [OAuth2Token]

ToJSON OAuth2Token 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Methods

toJSON :: OAuth2Token -> Value

toEncoding :: OAuth2Token -> Encoding

toJSONList :: [OAuth2Token] -> Value

toEncodingList :: [OAuth2Token] -> Encoding

Generic OAuth2Token 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Associated Types

type Rep OAuth2Token :: Type -> Type #

Show OAuth2Token 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Binary OAuth2Token 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Eq OAuth2Token 
Instance details

Defined in Network.OAuth.OAuth2.Internal

type Rep OAuth2Token 
Instance details

Defined in Network.OAuth.OAuth2.Internal

type Rep OAuth2Token = D1 ('MetaData "OAuth2Token" "Network.OAuth.OAuth2.Internal" "hoauth2-2.8.0-HVsWwXgCeQoLSjp1wYDl1e" 'False) (C1 ('MetaCons "OAuth2Token" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccessToken) :*: S1 ('MetaSel ('Just "refreshToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RefreshToken))) :*: (S1 ('MetaSel ('Just "expiresIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "tokenType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "idToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe IdToken))))))

data OAuth2 #

Instances

Instances details
Show OAuth2 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Default OAuth2 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Methods

def :: OAuth2

Eq OAuth2 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Methods

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

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

newtype ExchangeToken #

Constructors

ExchangeToken 

Fields

Instances

Instances details
FromJSON ExchangeToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Methods

parseJSON :: Value -> Parser ExchangeToken

parseJSONList :: Value -> Parser [ExchangeToken]

ToJSON ExchangeToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

Methods

toJSON :: ExchangeToken -> Value

toEncoding :: ExchangeToken -> Encoding

toJSONList :: [ExchangeToken] -> Value

toEncodingList :: [ExchangeToken] -> Encoding

Show ExchangeToken 
Instance details

Defined in Network.OAuth.OAuth2.Internal

data Env Source #

Constructors

Sandbox 
Prod 

newtype ClientId Source #

Constructors

ClientId Text 

Instances

Instances details
Show ClientId Source # 
Instance details

Defined in Bank.TrueLayer.Auth

newtype ClientSecret Source #

Constructors

ClientSecret Text 

Instances

Instances details
Show ClientSecret Source # 
Instance details

Defined in Bank.TrueLayer.Auth