auth library
Provides OAuth API.
Mainly you can do two things with this library:
- Issue authorization code (via AuthCodeClient)
- Issue or refrresh access token. (via AuthApi)
Classes
- AccessTokenInterceptor
- Access token interceptor for Kakao API requests.
- AccessTokenResponse
- API response from https://kauth.kakao.com/oauth/token API
- AccessTokenStore
- Stores access token and refresh token from AuthApi.
- ApiFactory
- Factory for network clients, interceptors, and error transformers used by other libraries.
- AuthApi
- Provides Kakao OAuth API.
- AuthCodeClient
- Provides OAuth authorization process.
- DefaultAccessTokenStore
- Default AccessTokenStore provided by Kakao Flutter SDK.
- KakaoContext
- Singleton context for Kakao Flutter SDK.
- OAuthToken
- Access token and refresh token information.
- ServerHosts
- List of hosts used by Kakao API.
- Util
- Collection of utility methods, usually for converting data types.
Functions
-
isKakaoTalkInstalled(
) → Future< bool> - Determines whether KakaoTalk is installed on this device.
-
launchBrowserTab(
Uri uri, {String? redirectUri}) → Future< String> - Launches a given url with platform-specific default browser tab.
Enums
- ApiErrorCause
- Specific error code from Kakao API.
- AuthErrorCause
- Specific error from Kakao OAuth.
- Prompt
Exceptions / Errors
- DapiException
- API error from LocalApi and SearchApi.
- KakaoApiException
- Exception thrown by Kakao API server.
- KakaoAuthException
- Exception thrown by Kakao OAuth server.
- KakaoClientException
- Exception thrown on the client side.
- KakaoException
- Exception thrown by Kakao Flutter SDK. Base class for all other exception that this SDK generates.