Added Remember-Token to Authenticate

Renamed Authenticate to Authenticate2 and added remember-me support
Created Authenticate as wrapper for Authenticate2 for backwards
compat.
This commit is contained in:
sjc
2025-05-07 01:19:21 -04:00
parent 42a6a5221d
commit 46dbff0530
3 changed files with 43 additions and 1 deletions

1
api.go
View File

@@ -15,6 +15,7 @@ const (
type TastytradeAPI struct {
httpClient *http.Client
authToken string
remToken string
host string
}