package com.kakao.auth.authorization.authcode
public interface AuthCodeManager
Modifier and Type | Interface and Description |
---|---|
static class |
AuthCodeManager.Factory |
Modifier and Type | Method and Description |
---|---|
abstract void |
createAccountAndRequestAuthCode(com.kakao.auth.helper.StartActivityWrapper wrapper,
AuthCodeCallback callback)
통합 계정 회원 가입 후 authorization code 를 요청.
|
abstract boolean |
handleActivityResult(int requestCode,
int resultCode,
Intent data) |
abstract boolean |
isStoryLoginAvailable()
Check if KakaoStory installed supports Kakao login.
|
abstract boolean |
isTalkLoginAvailable()
Check if KakaoTalk installed supports Kakao login.
|
abstract void |
requestAuthCode(AuthType authType,
Activity activity,
AuthCodeCallback authCodeCallback)
Request authorization code with the given
AuthType . |
abstract void |
requestAuthCode(AuthType authType,
Fragment fragment,
AuthCodeCallback authCodeCallback)
Deprecated.
|
abstract void |
requestAuthCode(AuthType authType,
Fragment fragment,
AuthCodeCallback authCodeCallback) |
abstract void |
requestAuthCode(AuthType authType,
com.kakao.auth.helper.StartActivityWrapper wrapper,
AuthCodeCallback authCodeCallback) |
abstract void |
requestAuthCodeWithScopes(AuthType authType,
com.kakao.auth.helper.StartActivityWrapper wrapper,
List<String> scopes,
AuthCodeCallback authCodeCallback) |
void createAccountAndRequestAuthCode(com.kakao.auth.helper.StartActivityWrapper wrapper, AuthCodeCallback callback)
wrapper
- wrapper StartActivityWrapper
for activity or fragmentcallback
- Success/Failure callback for getting authorization codeboolean handleActivityResult(int requestCode, int resultCode, Intent data)
requestCode
- RequestCode of Activity.onActivityResult(int, int, Intent)
resultCode
- ResultCode of Activity.onActivityResult(int, int, Intent)
data
- Intent
delievered from Activity.onActivityResult(int, int, Intent)
boolean isStoryLoginAvailable()
boolean isTalkLoginAvailable()
void requestAuthCode(AuthType authType, Activity activity, AuthCodeCallback authCodeCallback)
AuthType
.authType
- AuthType
enum specifying authentication methodactivity
- Activity to show login activity uponauthCodeCallback
- Success/Failure callback for getting authorization code@Deprecated void 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, 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 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