interface AccessTokenRepo
카카오 API 에 사용되는 액세스 토큰, 리프레시 토큰을 관리하는 저장소.
Repository for access and refresh token used for Kakao API.
Since
2.0.0
Author
kevin.kang. Created on 2018. 3. 24..
clearCache |
캐시에 저장되어 있는 OAuthToken 객체를 지움. Clear OAuthToken in cache used by the SDK abstract fun clearCache(): Unit |
fromCache |
캐시에 저장되어 있는 OAuthToken 객체를 리턴. abstract fun fromCache(): OAuthToken |
toCache |
OAuth Token API 를 통하여 받은 AccessTokenResponse 객체를 사용하여 캐시를 업데이트 함. abstract fun toCache(accessTokenResponse: AccessTokenResponse): OAuthToken |
instance |
val instance: AccessTokenRepo |