2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.mybmw.internal.dto.auth;
15 import java.util.List;
18 * The {@link AuthQueryResponse} Data Transfer Object
20 * @author Bernd Weymann - Initial contribution
21 * @author Martin Grassl - add toString for debugging
23 public class AuthQueryResponse {
24 public String clientName;// ": "mybmwapp",
25 public String clientSecret;// ": "c0e3393d-70a2-4f6f-9d3c-8530af64d552",
26 public String clientId;// ": "31c357a0-7a1d-4590-aa99-33b97244d048",
27 public String gcdmBaseUrl;// ": "https://customer.bmwgroup.com",
28 public String returnUrl;// ": "com.bmw.connected://oauth",
29 public String brand;// ": "bmw",
30 public String language;// ": "en",
31 public String country;// ": "US",
32 public String authorizationEndpoint;// ": "https://customer.bmwgroup.com/oneid/login",
33 public String tokenEndpoint;// ": "https://customer.bmwgroup.com/gcdm/oauth/token",
34 public List<String> scopes;// ;": [
48 // "authenticate_user"
50 public List<String> promptValues; // ": ["login"]
54 * @see java.lang.Object#toString()
58 public String toString() {
59 return "AuthQueryResponse [clientName=" + clientName + ", clientSecret=" + clientSecret + ", clientId="
60 + clientId + ", gcdmBaseUrl=" + gcdmBaseUrl + ", returnUrl=" + returnUrl + ", brand=" + brand
61 + ", language=" + language + ", country=" + country + ", authorizationEndpoint=" + authorizationEndpoint
62 + ", tokenEndpoint=" + tokenEndpoint + ", scopes=" + scopes + ", promptValues=" + promptValues + "]";