Skip to content

Commit

Permalink
feat: accept and expose virtual_key_url param in auth response (#31)
Browse files Browse the repository at this point in the history
* feat: accept and expose virtual_key_url param in auth response

* Update smartcar-auth/gradle.properties

Co-authored-by: Gurpreet Atwal <[email protected]>

---------

Co-authored-by: Smartcar <[email protected]>
Co-authored-by: Gurpreet Atwal <[email protected]>
  • Loading branch information
3 people authored Dec 20, 2023
1 parent 850e745 commit 50384b1
Show file tree
Hide file tree
Showing 25 changed files with 103 additions and 38 deletions.
2 changes: 1 addition & 1 deletion docs/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (smartcar-auth - 3.1.2)</title>
<title>All Classes (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion docs/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (smartcar-auth - 3.1.2)</title>
<title>All Classes (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions docs/com/smartcar/sdk/SmartcarAuth.AuthUrlBuilder.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SmartcarAuth.AuthUrlBuilder (smartcar-auth - 3.1.2)</title>
<title>SmartcarAuth.AuthUrlBuilder (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SmartcarAuth.AuthUrlBuilder (smartcar-auth - 3.1.2)";
parent.document.title="SmartcarAuth.AuthUrlBuilder (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/com/smartcar/sdk/SmartcarAuth.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SmartcarAuth (smartcar-auth - 3.1.2)</title>
<title>SmartcarAuth (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SmartcarAuth (smartcar-auth - 3.1.2)";
parent.document.title="SmartcarAuth (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/com/smartcar/sdk/SmartcarCallback.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SmartcarCallback (smartcar-auth - 3.1.2)</title>
<title>SmartcarCallback (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SmartcarCallback (smartcar-auth - 3.1.2)";
parent.document.title="SmartcarCallback (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/com/smartcar/sdk/SmartcarCodeReceiver.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SmartcarCodeReceiver (smartcar-auth - 3.1.2)</title>
<title>SmartcarCodeReceiver (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SmartcarCodeReceiver (smartcar-auth - 3.1.2)";
parent.document.title="SmartcarCodeReceiver (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down
19 changes: 16 additions & 3 deletions docs/com/smartcar/sdk/SmartcarResponse.Builder.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SmartcarResponse.Builder (smartcar-auth - 3.1.2)</title>
<title>SmartcarResponse.Builder (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SmartcarResponse.Builder (smartcar-auth - 3.1.2)";
parent.document.title="SmartcarResponse.Builder (smartcar-auth - 3.2.0)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
Expand Down Expand Up @@ -175,6 +175,10 @@ <h3>Method Summary</h3>
<td class="colFirst"><code><a href="../../../com/smartcar/sdk/SmartcarResponse.Builder.html" title="class in com.smartcar.sdk">SmartcarResponse.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/smartcar/sdk/SmartcarResponse.Builder.html#vehicleInfo-com.smartcar.sdk.VehicleInfo-">vehicleInfo</a></span>(<a href="../../../com/smartcar/sdk/VehicleInfo.html" title="class in com.smartcar.sdk">VehicleInfo</a>&nbsp;vehicle)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../com/smartcar/sdk/SmartcarResponse.Builder.html" title="class in com.smartcar.sdk">SmartcarResponse.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/smartcar/sdk/SmartcarResponse.Builder.html#virtualKeyUrl-java.lang.String-">virtualKeyUrl</a></span>(java.lang.String&nbsp;virtualKeyUrl)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
Expand Down Expand Up @@ -259,6 +263,15 @@ <h4>vehicleInfo</h4>
<pre>public&nbsp;<a href="../../../com/smartcar/sdk/SmartcarResponse.Builder.html" title="class in com.smartcar.sdk">SmartcarResponse.Builder</a>&nbsp;vehicleInfo(<a href="../../../com/smartcar/sdk/VehicleInfo.html" title="class in com.smartcar.sdk">VehicleInfo</a>&nbsp;vehicle)</pre>
</li>
</ul>
<a name="virtualKeyUrl-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>virtualKeyUrl</h4>
<pre>public&nbsp;<a href="../../../com/smartcar/sdk/SmartcarResponse.Builder.html" title="class in com.smartcar.sdk">SmartcarResponse.Builder</a>&nbsp;virtualKeyUrl(java.lang.String&nbsp;virtualKeyUrl)</pre>
</li>
</ul>
<a name="build--">
<!-- -->
</a>
Expand Down
19 changes: 16 additions & 3 deletions docs/com/smartcar/sdk/SmartcarResponse.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SmartcarResponse (smartcar-auth - 3.1.2)</title>
<title>SmartcarResponse (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SmartcarResponse (smartcar-auth - 3.1.2)";
parent.document.title="SmartcarResponse (smartcar-auth - 3.2.0)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
Expand Down Expand Up @@ -169,6 +169,10 @@ <h3>Method Summary</h3>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/smartcar/sdk/SmartcarResponse.html#getVirtualKeyUrl--">getVirtualKeyUrl</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/smartcar/sdk/SmartcarResponse.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
Expand Down Expand Up @@ -238,6 +242,15 @@ <h4>getVehicleInfo</h4>
<pre>public&nbsp;<a href="../../../com/smartcar/sdk/VehicleInfo.html" title="class in com.smartcar.sdk">VehicleInfo</a>&nbsp;getVehicleInfo()</pre>
</li>
</ul>
<a name="getVirtualKeyUrl--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVirtualKeyUrl</h4>
<pre>public&nbsp;java.lang.String&nbsp;getVirtualKeyUrl()</pre>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
Expand Down
4 changes: 2 additions & 2 deletions docs/com/smartcar/sdk/VehicleInfo.Builder.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>VehicleInfo.Builder (smartcar-auth - 3.1.2)</title>
<title>VehicleInfo.Builder (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="VehicleInfo.Builder (smartcar-auth - 3.1.2)";
parent.document.title="VehicleInfo.Builder (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/com/smartcar/sdk/VehicleInfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>VehicleInfo (smartcar-auth - 3.1.2)</title>
<title>VehicleInfo (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="VehicleInfo (smartcar-auth - 3.1.2)";
parent.document.title="VehicleInfo (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down
2 changes: 1 addition & 1 deletion docs/com/smartcar/sdk/package-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>com.smartcar.sdk (smartcar-auth - 3.1.2)</title>
<title>com.smartcar.sdk (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions docs/com/smartcar/sdk/package-summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>com.smartcar.sdk (smartcar-auth - 3.1.2)</title>
<title>com.smartcar.sdk (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.smartcar.sdk (smartcar-auth - 3.1.2)";
parent.document.title="com.smartcar.sdk (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/com/smartcar/sdk/package-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>com.smartcar.sdk Class Hierarchy (smartcar-auth - 3.1.2)</title>
<title>com.smartcar.sdk Class Hierarchy (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.smartcar.sdk Class Hierarchy (smartcar-auth - 3.1.2)";
parent.document.title="com.smartcar.sdk Class Hierarchy (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Constant Field Values (smartcar-auth - 3.1.2)</title>
<title>Constant Field Values (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (smartcar-auth - 3.1.2)";
parent.document.title="Constant Field Values (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Deprecated List (smartcar-auth - 3.1.2)</title>
<title>Deprecated List (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List (smartcar-auth - 3.1.2)";
parent.document.title="Deprecated List (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/help-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>API Help (smartcar-auth - 3.1.2)</title>
<title>API Help (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help (smartcar-auth - 3.1.2)";
parent.document.title="API Help (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down
8 changes: 6 additions & 2 deletions docs/index-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Index (smartcar-auth - 3.1.2)</title>
<title>Index (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Index (smartcar-auth - 3.1.2)";
parent.document.title="Index (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down Expand Up @@ -158,6 +158,8 @@ <h2 class="title">G</h2>
<dd>
<div class="block">Returns the vin assigned to VehicleInfo</div>
</dd>
<dt><span class="memberNameLink"><a href="com/smartcar/sdk/SmartcarResponse.html#getVirtualKeyUrl--">getVirtualKeyUrl()</a></span> - Method in class com.smartcar.sdk.<a href="com/smartcar/sdk/SmartcarResponse.html" title="class in com.smartcar.sdk">SmartcarResponse</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="com/smartcar/sdk/VehicleInfo.html#getYear--">getYear()</a></span> - Method in class com.smartcar.sdk.<a href="com/smartcar/sdk/VehicleInfo.html" title="class in com.smartcar.sdk">VehicleInfo</a></dt>
<dd>
<div class="block">Returns the year assigned to VehicleInfo</div>
Expand Down Expand Up @@ -292,6 +294,8 @@ <h2 class="title">V</h2>
<dd>
<div class="block">Sets the vin on the Builder.</div>
</dd>
<dt><span class="memberNameLink"><a href="com/smartcar/sdk/SmartcarResponse.Builder.html#virtualKeyUrl-java.lang.String-">virtualKeyUrl(String)</a></span> - Method in class com.smartcar.sdk.<a href="com/smartcar/sdk/SmartcarResponse.Builder.html" title="class in com.smartcar.sdk">SmartcarResponse.Builder</a></dt>
<dd>&nbsp;</dd>
</dl>
<a name="I:Y">
<!-- -->
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>smartcar-auth - 3.1.2</title>
<title>smartcar-auth - 3.2.0</title>
<script type="text/javascript">
tmpTargetPage = "" + window.location.search;
if (tmpTargetPage != "" && tmpTargetPage != "undefined")
Expand Down
4 changes: 2 additions & 2 deletions docs/overview-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Class Hierarchy (smartcar-auth - 3.1.2)</title>
<title>Class Hierarchy (smartcar-auth - 3.2.0)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Class Hierarchy (smartcar-auth - 3.1.2)";
parent.document.title="Class Hierarchy (smartcar-auth - 3.2.0)";
}
}
catch(err) {
Expand Down
2 changes: 1 addition & 1 deletion smartcar-auth/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libGroup=com.smartcar.sdk
libName=smartcar-auth
libVersion=3.1.2
libVersion=3.2.0
libDescription=Smartcar Android Auth SDK
Binary file added smartcar-auth/jacoco.exec
Binary file not shown.
Loading

0 comments on commit 50384b1

Please sign in to comment.