Skip to content

Commit c9c2047

Browse files
committed
Salesforce and PKCE support
PKCE support required adding NI SHA-256 function (LV 2020) and Base64URL encode VI Tested refresh_token support with Google API.
1 parent ae44c8c commit c9c2047

52 files changed

Lines changed: 394 additions & 193 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Oauth2.0.lvproj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<Item Name="Oauth2.lvclass" Type="LVClass" URL="../source/Oauth2/Oauth2.lvclass"/>
4343
<Item Name="OAuthClient.lvclass" Type="LVClass" URL="../source/OauthClient/OAuthClient.lvclass"/>
4444
<Item Name="OAuthAccessToken.lvclass" Type="LVClass" URL="../source/OAuthToken/OAuthAccessToken.lvclass"/>
45+
<Item Name="pad Base64URL string.vi" Type="VI" URL="../source/Oauth2/pad Base64URL string.vi"/>
4546
<Item Name="Dependencies" Type="Dependencies">
4647
<Item Name="vi.lib" Type="Folder">
4748
<Property Name="NI.SortType" Type="Int">1</Property>
@@ -51,6 +52,7 @@
5152
<Item Name="Connection_GOSPL.lvlib" Type="Library" URL="/&lt;vilib&gt;/LabVIEW Open Source Project/Connection/Connection/Connection_GOSPL.lvlib"/>
5253
<Item Name="DateTime.ISO8601.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/LabVIEW Open Source Project/Epoch Date &amp; Time/formatter.iso8601/DateTime.ISO8601.lvclass"/>
5354
<Item Name="DateTimeFormatter.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/LabVIEW Open Source Project/Epoch Date &amp; Time/formatter/DateTimeFormatter.lvclass"/>
55+
<Item Name="Delimited String to 1D String Array.vi" Type="VI" URL="/&lt;vilib&gt;/AdvancedString/Delimited String to 1D String Array.vi"/>
5456
<Item Name="Epoch.GPS.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/LabVIEW Open Source Project/Epoch Date &amp; Time/epoch.GPS/Epoch.GPS.lvclass"/>
5557
<Item Name="Epoch.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/LabVIEW Open Source Project/Epoch Date &amp; Time/epoch/Epoch.lvclass"/>
5658
<Item Name="Epoch.UNIX.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/LabVIEW Open Source Project/Epoch Date &amp; Time/epoch.UNIX/Epoch.UNIX.lvclass"/>
@@ -107,10 +109,6 @@
107109
<Item Name="VariantType.lvlib" Type="Library" URL="/&lt;vilib&gt;/Utility/VariantDataType/VariantType.lvlib"/>
108110
<Item Name="whitespace.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/whitespace.ctl"/>
109111
</Item>
110-
<Item Name="Useful HTTP VIs.lvlib" Type="Library" URL="../../../LabVIEW/oauth2-labview-tutorial-master/Useful HTTP VIs/Useful HTTP VIs.lvlib"/>
111-
<Item Name="mscorlib" Type="VI" URL="mscorlib">
112-
<Property Name="NI.PreserveRelativePath" Type="Bool">true</Property>
113-
</Item>
114112
</Item>
115113
<Item Name="Build Specifications" Type="Build"/>
116114
</Item>
3.54 KB
Binary file not shown.
11 KB
Binary file not shown.
8.5 KB
Binary file not shown.
6.58 KB
Binary file not shown.
-900 Bytes
Binary file not shown.

source/OAuthToken/OAuthAccessToken.lvclass

Lines changed: 88 additions & 83 deletions
Large diffs are not rendered by default.
3.72 KB
Binary file not shown.
4.59 KB
Binary file not shown.

source/Oauth2.Google/Oauth2.Google.lvclass

Lines changed: 30 additions & 19 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)