KSessionCookieStorage
constructor(session: KSessionManager, apiHost: String? = null, accessTokenName: String = "access_token", refreshTokenName: String = "refresh_token")(source)
Parameters
session
The KSessionManager holding the tokens.
apiHost
The host (e.g. "api.example.com") to which these cookies should be sent. If null, cookies are sent to every host (not recommended).
accessTokenName
Cookie name for the access token.
refreshTokenName
Cookie name for the refresh token.