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

AccessToken
Access token and refresh token information.
AccessTokenInterceptor
Access token interceptor for Kakao API requests. [...]
AccessTokenResponse
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.
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.

Exceptions / Errors

DapiException
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.