AuthClient

class AuthClient(apiSecret: String, apiBase: String = "https://api.portone.io", storeId: String? = null) : Closeable

Constructors

Link copied to clipboard
constructor(apiSecret: String, apiBase: String = "https://api.portone.io", storeId: String? = null)

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
@JvmName(name = "loginViaApiSecretSuspend")
suspend fun loginViaApiSecret(apiSecret: String): LoginViaApiSecretResponse

API secret 를 사용한 토큰 발급

Link copied to clipboard
@JvmName(name = "refreshTokenSuspend")
suspend fun refreshToken(refreshToken: String): RefreshTokenResponse

토큰 갱신