public interface AuthCodeManager
| Modifier and Type | Interface and Description |
|---|---|
static class |
AuthCodeManager.Factory |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
boolean |
isStoryLoginAvailable()
Check if KakaoStory installed supports Kakao login.
|
boolean |
isTalkLoginAvailable()
Check if KakaoTalk installed supports Kakao login.
|
void |
requestAuthCode(AuthType authType,
android.app.Activity activity,
AuthCodeCallback authCodeCallback)
Request authorization code with the given
AuthType. |
void |
requestAuthCode(AuthType authType,
Fragment fragment,
AuthCodeCallback authCodeCallback) |
void |
requestAuthCode(AuthType authType,
com.kakao.auth.helper.StartActivityWrapper wrapper,
AuthCodeCallback authCodeCallback) |
void |
requestAuthCode(AuthType authType,
com.kakao.auth.helper.StartActivityWrapper wrapper,
Map<String,String> extraParams,
AuthCodeCallback authCodeCallback) |
void |
requestAuthCodeWithCustomAccountsUrl(com.kakao.auth.helper.StartActivityWrapper wrapper,
Map<String,String> extraParams,
String path,
Map<String,String> accountParams,
AuthCodeCallback callback)
통합 계정 회원 가입 후 authorization code 를 요청.
|
void |
requestAuthCodeWithScopes(AuthType authType,
com.kakao.auth.helper.StartActivityWrapper wrapper,
List<String> scopes,
AuthCodeCallback authCodeCallback) |
boolean handleActivityResult(int requestCode,
int resultCode,
android.content.Intent data)
requestCode - RequestCoderesultCode - ResultCodedata - Intent delivered from onActivityResult()boolean isStoryLoginAvailable()
boolean isTalkLoginAvailable()
void requestAuthCode(AuthType authType, android.app.Activity activity, AuthCodeCallback authCodeCallback)
AuthType.authType - AuthType enum specifying authentication methodactivity - Activity to show login activity uponauthCodeCallback - Success/Failure callback for getting authorization codevoid requestAuthCode(AuthType authType, Fragment fragment, AuthCodeCallback authCodeCallback)
authType - AuthType enum specifying authentication methodfragment - fragment where login is happeningauthCodeCallback - Success/Failure callback for getting authorization codevoid requestAuthCode(AuthType authType, com.kakao.auth.helper.StartActivityWrapper wrapper, AuthCodeCallback authCodeCallback)
authType - AuthType enum specifying authentication methodwrapper - StartActivityWrapper for activity or fragmentauthCodeCallback - Success/Failure callback for getting authorization codevoid requestAuthCode(AuthType authType, com.kakao.auth.helper.StartActivityWrapper wrapper, Map<String,String> extraParams, AuthCodeCallback authCodeCallback)
authType - AuthType enum specifying authentication methodwrapper - StartActivityWrapper for activity or fragmentauthCodeCallback - Success/Failure callback for getting authorization codevoid requestAuthCodeWithCustomAccountsUrl(com.kakao.auth.helper.StartActivityWrapper wrapper,
Map<String,String> extraParams,
String path,
Map<String,String> accountParams,
AuthCodeCallback callback)
Request for an authorization code after creating a Kakao account.
wrapper - wrapper StartActivityWrapper for activity or fragmentcallback - Success/Failure callback for getting authorization codevoid requestAuthCodeWithScopes(AuthType authType, com.kakao.auth.helper.StartActivityWrapper wrapper, List<String> scopes, AuthCodeCallback authCodeCallback)
authType - AuthType enum specifying authentication methodscopes - List of scopes to be requested explicitlyauthCodeCallback - Success/Failure callback for getting authorization code