Skip to content

Commit

Permalink
Added info about the public key upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasman committed Mar 7, 2024
1 parent fce960b commit b52dc83
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,17 @@ struct TeslaLogin: View {
}
}
```
## Public Key upload to vehicle
After authenticatiom, some vehicles might need to receive your public key.

```swift
if let url = api.urlToSendPublicKeyToVehicle(domain: yourDomain) {
UIApplication.shared.open(url)
}
```

This will open the Tesla app and send the public key to the selected vehicle in the app.


## Token reuse
After authentication, store the AuthToken in a safe place.
Expand Down

0 comments on commit b52dc83

Please sign in to comment.