Success

class Success(val accessToken: NaverAccessToken, val refreshToken: String? = null) : NaverLoginResult

The user signed in.

Only tokens: NAVER's login returns no profile, and this library will not make a network call you did not ask for. Call NaverLogin.profile when you want one.

Constructors

Link copied to clipboard
constructor(accessToken: NaverAccessToken, refreshToken: String? = null)

Properties

Link copied to clipboard

The token to call NAVER's APIs with.

Link copied to clipboard

Exchanges for a new access token once this one expires. Both SDKs persist it themselves and use it on the next NaverLogin.login, so most apps never touch it. Null when NAVER did not issue one.

Functions

Link copied to clipboard
open override fun toString(): String