spotify-0.1.0.1: Spotify Web API
Safe HaskellSafe-Inferred
LanguageGHC2021

Spotify.Servant.Core

Documentation

type Authorize = "authorize" :> (QueryParam' '[Strict, Required] "client_id" ClientId :> (QueryParam' '[Strict, Required] "response_type" Text :> (QueryParam' '[Strict, Required] "redirect_uri" URL :> (QueryParam "state" Text :> (QueryParam "scope" ScopeSet :> (QueryParam "show_dialog" Bool :> Get '[HTML] Text)))))) Source #

data TokenResponse' Source #

Instances

Instances details
FromJSON TokenResponse' Source # 
Instance details

Defined in Spotify.Servant.Core

Generic TokenResponse' Source # 
Instance details

Defined in Spotify.Servant.Core

Associated Types

type Rep TokenResponse' :: Type -> Type #

Show TokenResponse' Source # 
Instance details

Defined in Spotify.Servant.Core

Eq TokenResponse' Source # 
Instance details

Defined in Spotify.Servant.Core

Ord TokenResponse' Source # 
Instance details

Defined in Spotify.Servant.Core

type Rep TokenResponse' Source # 
Instance details

Defined in Spotify.Servant.Core

type Rep TokenResponse' = D1 ('MetaData "TokenResponse'" "Spotify.Servant.Core" "spotify-0.1.0.1-DSXk6mPWfQGGnICPbDr6pO-spotify-servant" 'False) (C1 ('MetaCons "TokenResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccessToken) :*: S1 ('MetaSel ('Just "tokenType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TokenType)) :*: (S1 ('MetaSel ('Just "expiresIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "refreshToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RefreshToken)))))

newtype RefreshAccessTokenForm Source #

Instances

Instances details
ToForm RefreshAccessTokenForm Source # 
Instance details

Defined in Spotify.Servant.Core

type AuthHeader = Header' '[Strict, Required] "Authorization" AccessToken Source #

type SpotPaging a = QueryParam "limit" Int :> (QueryParam "offset" Int :> SpotGet (Paging a)) Source #