strive-3.0.1: A client for the Strava V3 API.
Strive.Types.Authentication
Description
http://strava.github.io/api/v3/oauth/
Synopsis
data TokenExchangeResponse Source #
http://strava.github.io/api/v3/oauth/#example-response
Constructors
Fields
Instances
Methods
showsPrec :: Int -> TokenExchangeResponse -> ShowS #
show :: TokenExchangeResponse -> String #
showList :: [TokenExchangeResponse] -> ShowS #
parseJSON :: Value -> Parser TokenExchangeResponse #
parseJSONList :: Value -> Parser [TokenExchangeResponse] #
accessToken :: Lens TokenExchangeResponse Text Source #
athlete :: Lens TokenExchangeResponse AthleteDetailed Source #
data DeauthorizationResponse Source #
http://strava.github.io/api/v3/oauth/#example-response-1
showsPrec :: Int -> DeauthorizationResponse -> ShowS #
show :: DeauthorizationResponse -> String #
showList :: [DeauthorizationResponse] -> ShowS #
parseJSON :: Value -> Parser DeauthorizationResponse #
parseJSONList :: Value -> Parser [DeauthorizationResponse] #
accessToken :: Lens DeauthorizationResponse Text Source #