### Bikeep API Access Methods Source: https://docs.bikeep.com/index Explains the different ways to access the Bikeep API: service-to-service authentication using OAuth2 client credentials, and external user authentication which requires integration with Bikeep user management. ```APIDOC API Access Methods: 1. Service-to-service authentication: - Uses OAuth2 client credentials flow. - Limited functionality: no user uniqueness guarantee, no parking/rental session tracking, no statistics. - Primarily for controlling hardware without business logic. 2. External users authentication: - For partners wanting full functionality, including session tracking and statistics. - Requires providing endpoints for posting Bikeep user IDs and verifying internal user IDs. 3. Public access: - Permitted for the '/location/v1/public-areas/{public_area_id}/locations' endpoint. - Does not require OAuth authorization. ``` -------------------------------- ### OAuth2 Token Request using Basic Authentication Source: https://docs.bikeep.com/index Shows how to obtain an OAuth2 token by passing the client ID and client secret as a Basic Authentication header. This method is an alternative to sending credentials as form parameters. ```bash curl --location --request POST 'https://auth-dev.bikeep.com/oauth2/token' \ --header 'Authorization: Basic INSERT_BASE64_HERE' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'grant_type=client_credentials' ``` -------------------------------- ### OAuth2 Token Request using Client Credentials Source: https://docs.bikeep.com/index Demonstrates how to obtain an OAuth2 token using the client ID and client secret via form-urlencoded parameters. This is part of the service-to-service authentication flow. ```bash curl --location --request POST 'https://auth-dev.bikeep.com/oauth2/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'client_id=INSERT_ID_HERE' \ --data-urlencode 'client_secret=INSERT_SECRET_HERE' ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.