public interface AuthCodeService
Modifier and Type | Interface and Description |
---|---|
static class |
AuthCodeService.Factory
This is a factory class for various AuthCodeService types.
|
Modifier and Type | Method and Description |
---|---|
boolean |
handleActivityResult(int requestCode,
int resultCode,
android.content.Intent data,
AuthCodeListener listener) |
boolean |
isLoginAvailable()
Checks whether authorization code can be retrieved from this service.
|
boolean |
requestAuthCode(com.kakao.auth.authorization.authcode.AuthCodeRequest request,
com.kakao.auth.helper.StartActivityWrapper wrapper,
AuthCodeListener listener)
Request authorization code.
|
boolean handleActivityResult(int requestCode, int resultCode, android.content.Intent data, AuthCodeListener listener)
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)
listener
- AuthCodeListener
instance to get the resultboolean isLoginAvailable()
boolean requestAuthCode(com.kakao.auth.authorization.authcode.AuthCodeRequest request, com.kakao.auth.helper.StartActivityWrapper wrapper, AuthCodeListener listener)
request
- AuthCodeRequest
instance containing AuthType
and app informationwrapper
- StartActivityWrapper
instance for activity or fragmentlistener
- AuthCodeListener
instance to get the result