File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ fun signUp() {
6969
7070## Sign In  
7171
72- Sign the user in using existing credentials
72+ Sign in  the user in using existing credentials
7373
7474``` kotlin 
7575fun  login () {
@@ -84,6 +84,18 @@ fun login() {
8484}
8585``` 
8686
87+ ## Sign In with Token  
88+ 
89+ Sign in the user with a previously obtained customer API token
90+ 
91+ ``` kotlin 
92+ fun  loginWithToken () {
93+     FlyBuy .customer.loginWithToken(" token"  ) { customer, sdkError -> 
94+         //  Handle customer or deal with error
95+     }
96+ }
97+ ``` 
98+ 
8799## Sign out the current Customer  
88100
89101Signs out the current customer.
Original file line number Diff line number Diff line change @@ -78,23 +78,23 @@ fun updateOrder() {
7878
7979## Get Orders  
8080
81- Returns the cached list of orders for the current user. This may not be accessed directly from the main thread. 
81+ Returns the cached list of orders for the current user. 
8282
8383``` kotlin 
8484FlyBuy .orders.all
8585``` 
8686
8787## Get Open Orders  
8888
89- Returns the cached list of open orders for the current user. This may not be accessed directly from the main thread. 
89+ Returns the cached list of open orders for the current user. 
9090
9191``` kotlin 
9292FlyBuy .orders.open
9393``` 
9494
9595## Get Closed Orders  
9696
97- Returns the cached list of closed orders for the current user. This may not be accessed directly from the main thread. 
97+ Returns the cached list of closed orders for the current user. 
9898
9999``` kotlin 
100100FlyBuy .orders.closed
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments