Authorization
class Authorization(key: String, secret: String, username: String, password: String, production: Boolean, verbose: Boolean, baseUrl: String, chromium: Chromium, tokenStore: CachedTokenProvider)
Content copied to clipboard
Constructors
Authorization
Link copied to clipboard
fun Authorization(configuration: GlobalConfig, production: Boolean = false, verbose: Boolean = false, baseUrl: String = "https://${(if (production) "api" else "apisb")}.etrade.com", tokenStore: CachedTokenProvider = CachedToken(CachedToken.Provider.ETRADE))
Content copied to clipboard
Types
Functions
createSession
Link copied to clipboard
destroySession
Link copied to clipboard
fun destroySession()
Content copied to clipboard
getAccessToken
Link copied to clipboard
fun getAccessToken(requestToken: AuthResponse, verifier: String): AuthResponse
Content copied to clipboard
getRequestToken
Link copied to clipboard
getVerifierCode
Link copied to clipboard
renewAccessToken
Link copied to clipboard
renewSession
Link copied to clipboard
revokeAccessToken
Link copied to clipboard
Properties
Sources
jvm source
Link copied to clipboard