Copyright | (c) Dustin Sallings 2020 |
---|---|
License | BSD3 |
Maintainer | dustin@spy.net |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
GoPro Plus authentication.
Synopsis
- authenticate :: MonadIO m => String -> String -> m AuthResponse
- refreshAuth :: MonadIO m => AuthResponse -> m AuthResponse
- data AuthResponse = AuthResponse {}
- access_token :: Lens' AuthResponse String
- expires_in :: Lens' AuthResponse Int
- refresh_token :: Lens' AuthResponse String
- resource_owner_id :: Lens' AuthResponse String
Documentation
:: MonadIO m | |
=> String | Email/username |
-> String | Password |
-> m AuthResponse |
refreshAuth :: MonadIO m => AuthResponse -> m AuthResponse Source #
Refresh authentication credentials using a refresh token.
data AuthResponse Source #
An Authentication response.