Auth Api Client
class AuthApiClient(manager: AuthApiManager = AuthApiManager.instance, tokenManagerProvider: TokenManagerProvider = TokenManagerProvider.instance)
카카오 로그인 인증 및 토큰 관리 클라이언트
Client for the authentication and token management through Kakao Login
Constructors
Link copied to clipboard
constructor(manager: AuthApiManager = AuthApiManager.instance, tokenManagerProvider: TokenManagerProvider = TokenManagerProvider.instance)
Functions
Link copied to clipboard
fun refreshToken(oldToken: OAuthToken = tokenManagerProvider.manager.getToken() ?: throw ClientError(
ClientErrorCause.TokenNotFound,
"Refresh token not found. You must login first."
), callback: (token: OAuthToken?, error: Throwable?) -> Unit)
토큰 갱신
Refreshes the tokens