Authentication
Learn how to authenticate and authorize access to Bedi Line2 documentation platform
Authentication Overview
Authentication in Bedi Line2 ensures secure access to your documentation spaces and resources. The platform supports multiple authentication methods to accommodate different user types and integration scenarios.
Use API keys for programmatic access to Bedi Line2 APIs.
Your unique API key for authentication.
Generate API Key
Navigate to your account settings and generate a new API key.
Store Securely
Store the API key securely and never expose it in client-side code.
Use in Requests
Include the API key in the Authorization header of your requests.
curl -H "Authorization: Bearer YOUR_API_KEY" https://api.bedi-line2.com/docs
import requests
headers = {"Authorization": "Bearer YOUR_API_KEY"}
response = requests.get("https://api.bedi-line2.com/docs", headers=headers)
Implement OAuth 2.0 for user-based authentication and authorization.
The authorization code received from the OAuth provider.
Token Management
Bedi Line2 provides robust token management features to handle authentication tokens securely.
Token Expiration
Tokens automatically expire after a configurable period for enhanced security.
Refresh Tokens
Use refresh tokens to obtain new access tokens without re-authentication.
Last updated today