Class StravaClient

  • All Implemented Interfaces:
    Client<OAuth20Credentials>

    public class StravaClient
    extends OAuth20Client

    OAuth20Client for Strava.

    Use the key as the client_id and secret as the client_secret, both provided by Strava at: https://www.strava.com/settings/api

    Set approvalPrompt to "force" if you want to force the authorization dialog to always display on Strava, otherwise let it to "auto" (default value).

    The scope is a comma delimited string of ‘view_private’ and/or ‘write’, leave blank for read-only permissions.

    More info at: http://strava.github.io/api/

    Since:
    1.7.0
    Author:
    Adrian Papusoi
    • Constructor Detail

      • StravaClient

        public StravaClient()
      • StravaClient

        public StravaClient​(String key,
                            String secret)
    • Method Detail

      • getApprovalPrompt

        public String getApprovalPrompt()
      • setApprovalPrompt

        public void setApprovalPrompt​(String approvalPrompt)
      • getScope

        public String getScope()
      • setScope

        public void setScope​(String scope)