frappe_oauth2_flutter_sdk library

Classes

AuthResult
Represents the result of an authentication operation
FrappeOauth2FlutterSdk
FrappeOAuthClient
Simplified main client for Frappe OAuth2 authentication
NetworkService
HTTP client wrapper for Frappe API calls with proper error handling, request/response logging, and retry logic.
OAuthConfig
Configuration for Frappe OAuth2 authentication
TokenResponse
Represents an OAuth2 token response from Frappe server
UrlBuilder
Simplified utility class for building OAuth2 URLs
UserInfo
Represents user information retrieved from Frappe OAuth2 user info endpoint
ValidationResult
Result of a validation operation
ValidationUtils
Utility class for validating OAuth2 configurations and parameters

Enums

StorageType
Storage type options for token and user data persistence

Exceptions / Errors

FrappeAuthException
Base class for all Frappe OAuth2 authentication exceptions
FrappeConfigurationException
Exception thrown when configuration is invalid
FrappeNetworkException
Exception thrown when network operations fail
FrappePlatformException
Exception thrown when platform setup is invalid or incomplete
FrappeStorageException
Exception thrown when storage operations fail
FrappeTokenException
Exception thrown when token operations fail
FrappeUserCancelledException
Exception thrown when user cancels the authentication flow