auth library

Provides OAuth API.

Mainly you can do two things with this library:

  1. Issue authorization code (via AuthCodeClient)
  2. Issue or refrresh access token. (via AuthApi)

Classes

AccessTokenInterceptor
Access token interceptor for Kakao API requests.
ApiFactory
Factory for network clients, interceptors, and error transformers used by other libraries.
AuthApi
Provides Kakao OAuth API.
AuthCodeClient
Provides OAuth authorization process.
CertTokenInfo
API response from https://kauth.kakao.com/oauth/token API
DefaultTokenManager
Default TokenManager 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.
TokenManager
Stores access token and refresh token from AuthApi.
TokenManagerProvider
Token storage provider used by kakao flutter sdk
Util
Collection of utility methods, usually for converting data types.

Enums

ApiErrorCause
Specific error code from Kakao API.
AuthErrorCause
Specific error from Kakao OAuth.
Prompt

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.

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.