Documentation ¶
Index ¶
Constants ¶
View Source
const ( TokenURI = "https://api.mps.ford.com" LoginUriTmpl = "https://login.ford.%s/4566605f-43a7-400a-946e-89cc9fdb0bd7/B2C_1A_SignInSignUp_de-DE" ClientID = "09852200-05fd-41f6-8c21-d36d3497dc64" ApplicationID = "1E8C7794-FF5F-49BC-9596-A1E0C86C5B19" )
View Source
const ApiURI = "https://usapi.cv.ford.com"
Variables ¶
This section is empty.
Functions ¶
func NewOauth2Config ¶
Types ¶
type API ¶
API is the Ford api client
type Identity ¶
type Identity struct { *request.Helper oauth2.TokenSource // contains filtered or unexported fields }
func NewIdentity ¶
NewIdentity creates Ford identity
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
type VehiclesResponse ¶
type VehiclesResponse struct { UserVehicles struct { VehicleDetails []struct { VIN string } } }
Click to show internal directories.
Click to hide internal directories.