Reactive
extension Reactive where Base: AuthApi
-
사용자 인증코드를 이용하여 신규 토큰 발급을 요청합니다.
Declaration
Swift
public func token(grantType: String = "authorization_code", clientId: String = try! KakaoSDKCommon.shared.appKey(), redirectUri: String = try! KakaoSDKCommon.shared.redirectUri(), code: String) -> Single<OAuthToken>
-
기존 토큰을 갱신합니다.
Declaration
Swift
public func refreshAccessToken(clientId: String = try! KakaoSDKCommon.shared.appKey(), refreshToken: String? = nil) -> Single<OAuthToken>