truelayer-signing 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +14 -0
- data/LICENSE-APACHE +176 -0
- data/LICENSE-MIT +21 -0
- data/README.md +82 -0
- data/Rakefile +8 -0
- data/doc/CHANGELOG_md.html +132 -0
- data/doc/JWT/Decode.html +97 -0
- data/doc/JWT/Encode.html +97 -0
- data/doc/JWT/JWK/EC.html +169 -0
- data/doc/JWT/JWK.html +91 -0
- data/doc/JWT.html +95 -0
- data/doc/LICENSE-APACHE.html +177 -0
- data/doc/LICENSE-MIT.html +105 -0
- data/doc/README_md.html +197 -0
- data/doc/Rakefile.html +106 -0
- data/doc/TrueLayerSigning/Config.html +211 -0
- data/doc/TrueLayerSigning/Error.html +97 -0
- data/doc/TrueLayerSigning/JwsBase.html +317 -0
- data/doc/TrueLayerSigning/JwsHeader.html +268 -0
- data/doc/TrueLayerSigning/Signer.html +186 -0
- data/doc/TrueLayerSigning/Verifier.html +327 -0
- data/doc/TrueLayerSigning.html +226 -0
- data/doc/TrueLayerSigningExamples.html +217 -0
- data/doc/created.rid +21 -0
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +662 -0
- data/doc/examples/sign-request/Gemfile.html +99 -0
- data/doc/examples/sign-request/Gemfile_lock.html +143 -0
- data/doc/examples/sign-request/README_md.html +138 -0
- data/doc/examples/webhook-server/Gemfile.html +99 -0
- data/doc/examples/webhook-server/Gemfile_lock.html +142 -0
- data/doc/examples/webhook-server/README_md.html +139 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +118 -0
- data/doc/js/darkfish.js +84 -0
- data/doc/js/navigation.js +105 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +110 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +229 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +269 -0
- data/examples/sign-request/Gemfile +4 -0
- data/examples/sign-request/Gemfile.lock +41 -0
- data/examples/sign-request/README.md +27 -0
- data/examples/sign-request/main.rb +46 -0
- data/examples/webhook-server/Gemfile +3 -0
- data/examples/webhook-server/Gemfile.lock +15 -0
- data/examples/webhook-server/README.md +30 -0
- data/examples/webhook-server/main.rb +98 -0
- data/lib/truelayer-signing/config.rb +21 -0
- data/lib/truelayer-signing/errors.rb +3 -0
- data/lib/truelayer-signing/jwt.rb +20 -0
- data/lib/truelayer-signing/signer.rb +34 -0
- data/lib/truelayer-signing/utils.rb +90 -0
- data/lib/truelayer-signing/verifier.rb +76 -0
- data/lib/truelayer-signing.rb +35 -0
- data/test/test-truelayer-signing.rb +372 -0
- data/truelayer-signing.gemspec +25 -0
- metadata +151 -0
@@ -0,0 +1,99 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Gemfile - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../../";
|
11
|
+
var index_rel_prefix = "../../";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="../../js/navigation.js" defer></script>
|
15
|
+
<script src="../../js/search.js" defer></script>
|
16
|
+
<script src="../../js/search_index.js" defer></script>
|
17
|
+
<script src="../../js/searcher.js" defer></script>
|
18
|
+
<script src="../../js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="../../css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="../../css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" role="document" class="file">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="../../index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
31
|
+
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="../../table_of_contents.html#pages">Pages</a>
|
34
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
35
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
+
<form action="#" method="get" accept-charset="utf-8">
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
45
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
<div id="project-metadata">
|
59
|
+
|
60
|
+
<div id="fileindex-section" class="nav-section">
|
61
|
+
<h3>Pages</h3>
|
62
|
+
|
63
|
+
<ul class="link-list">
|
64
|
+
<li><a href="../../CHANGELOG_md.html">CHANGELOG</a>
|
65
|
+
<li><a href="../../LICENSE-APACHE.html">LICENSE-APACHE</a>
|
66
|
+
<li><a href="../../LICENSE-MIT.html">LICENSE-MIT</a>
|
67
|
+
<li><a href="../../README_md.html">README</a>
|
68
|
+
<li><a href="../../Rakefile.html">Rakefile</a>
|
69
|
+
<li><details open><summary>examples</summary>
|
70
|
+
<ul class="link-list">
|
71
|
+
<li><a href="../../examples/sign-request/Gemfile.html">Gemfile</a>
|
72
|
+
<li><a href="../../examples/sign-request/Gemfile_lock.html">Gemfile.lock</a>
|
73
|
+
<li><a href="../../examples/sign-request/README_md.html">README</a>
|
74
|
+
<li><a href="../../examples/webhook-server/Gemfile.html">Gemfile</a>
|
75
|
+
<li><a href="../../examples/webhook-server/Gemfile_lock.html">Gemfile.lock</a>
|
76
|
+
<li><a href="../../examples/webhook-server/README_md.html">README</a>
|
77
|
+
</ul></details>
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
</nav>
|
83
|
+
|
84
|
+
<main role="main" aria-label="Page examples/sign-request/Gemfile">
|
85
|
+
|
86
|
+
<p>source “<a href="https://rubygems.org">rubygems.org</a>”</p>
|
87
|
+
|
88
|
+
<p>gem “http” gem “truelayer-signing”</p>
|
89
|
+
|
90
|
+
</main>
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
<footer id="validator-badges" role="contentinfo">
|
95
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.5.0.
|
97
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
98
|
+
</footer>
|
99
|
+
|
@@ -0,0 +1,143 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Gemfile.lock - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../../";
|
11
|
+
var index_rel_prefix = "../../";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="../../js/navigation.js" defer></script>
|
15
|
+
<script src="../../js/search.js" defer></script>
|
16
|
+
<script src="../../js/search_index.js" defer></script>
|
17
|
+
<script src="../../js/searcher.js" defer></script>
|
18
|
+
<script src="../../js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="../../css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="../../css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" role="document" class="file">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="../../index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
31
|
+
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="../../table_of_contents.html#pages">Pages</a>
|
34
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
35
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
+
<form action="#" method="get" accept-charset="utf-8">
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
45
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
<div id="project-metadata">
|
59
|
+
|
60
|
+
<div id="fileindex-section" class="nav-section">
|
61
|
+
<h3>Pages</h3>
|
62
|
+
|
63
|
+
<ul class="link-list">
|
64
|
+
<li><a href="../../CHANGELOG_md.html">CHANGELOG</a>
|
65
|
+
<li><a href="../../LICENSE-APACHE.html">LICENSE-APACHE</a>
|
66
|
+
<li><a href="../../LICENSE-MIT.html">LICENSE-MIT</a>
|
67
|
+
<li><a href="../../README_md.html">README</a>
|
68
|
+
<li><a href="../../Rakefile.html">Rakefile</a>
|
69
|
+
<li><details open><summary>examples</summary>
|
70
|
+
<ul class="link-list">
|
71
|
+
<li><a href="../../examples/sign-request/Gemfile.html">Gemfile</a>
|
72
|
+
<li><a href="../../examples/sign-request/Gemfile_lock.html">Gemfile.lock</a>
|
73
|
+
<li><a href="../../examples/sign-request/README_md.html">README</a>
|
74
|
+
<li><a href="../../examples/webhook-server/Gemfile.html">Gemfile</a>
|
75
|
+
<li><a href="../../examples/webhook-server/Gemfile_lock.html">Gemfile.lock</a>
|
76
|
+
<li><a href="../../examples/webhook-server/README_md.html">README</a>
|
77
|
+
</ul></details>
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
</nav>
|
83
|
+
|
84
|
+
<main role="main" aria-label="Page examples/sign-request/Gemfile.lock">
|
85
|
+
|
86
|
+
<p>GEM</p>
|
87
|
+
|
88
|
+
<pre>remote: https://rubygems.org/
|
89
|
+
specs:
|
90
|
+
addressable (2.8.1)
|
91
|
+
public_suffix (>= 2.0.2, < 6.0)
|
92
|
+
domain_name (0.5.20190701)
|
93
|
+
unf (>= 0.0.5, < 1.0.0)
|
94
|
+
ffi (1.15.5)
|
95
|
+
ffi-compiler (1.0.1)
|
96
|
+
ffi (>= 1.0.0)
|
97
|
+
rake
|
98
|
+
http (5.1.1)
|
99
|
+
addressable (~> 2.8)
|
100
|
+
http-cookie (~> 1.0)
|
101
|
+
http-form_data (~> 2.2)
|
102
|
+
llhttp-ffi (~> 0.4.0)
|
103
|
+
http-cookie (1.0.5)
|
104
|
+
domain_name (~> 0.5)
|
105
|
+
http-form_data (2.3.0)
|
106
|
+
jwt (2.6.0)
|
107
|
+
llhttp-ffi (0.4.0)
|
108
|
+
ffi-compiler (~> 1.0)
|
109
|
+
rake (~> 13.0)
|
110
|
+
public_suffix (5.0.1)
|
111
|
+
rake (13.0.6)
|
112
|
+
truelayer-signing (0.1.0)
|
113
|
+
jwt (= 2.6)
|
114
|
+
unf (0.1.4)
|
115
|
+
unf_ext
|
116
|
+
unf_ext (0.0.8.2)</pre>
|
117
|
+
|
118
|
+
<p>PLATFORMS</p>
|
119
|
+
|
120
|
+
<pre class="ruby"><span class="ruby-identifier">arm64</span><span class="ruby-operator">-</span><span class="ruby-identifier">darwin</span><span class="ruby-value">-21</span>
|
121
|
+
<span class="ruby-identifier">ruby</span>
|
122
|
+
</pre>
|
123
|
+
|
124
|
+
<p>DEPENDENCIES</p>
|
125
|
+
|
126
|
+
<pre class="ruby"><span class="ruby-identifier">http</span>
|
127
|
+
<span class="ruby-identifier">truelayer</span><span class="ruby-operator">-</span><span class="ruby-identifier">signing</span>
|
128
|
+
</pre>
|
129
|
+
|
130
|
+
<p>BUNDLED WITH</p>
|
131
|
+
|
132
|
+
<pre>2.4.1</pre>
|
133
|
+
|
134
|
+
</main>
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
<footer id="validator-badges" role="contentinfo">
|
139
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
140
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.5.0.
|
141
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
142
|
+
</footer>
|
143
|
+
|
@@ -0,0 +1,138 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>README - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../../";
|
11
|
+
var index_rel_prefix = "../../";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="../../js/navigation.js" defer></script>
|
15
|
+
<script src="../../js/search.js" defer></script>
|
16
|
+
<script src="../../js/search_index.js" defer></script>
|
17
|
+
<script src="../../js/searcher.js" defer></script>
|
18
|
+
<script src="../../js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="../../css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="../../css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" role="document" class="file">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="../../index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
31
|
+
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="../../table_of_contents.html#pages">Pages</a>
|
34
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
35
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
+
<form action="#" method="get" accept-charset="utf-8">
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
45
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
|
56
|
+
|
57
|
+
<div class="nav-section">
|
58
|
+
<h3>Table of Contents</h3>
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
<ul class="link-list" role="directory">
|
63
|
+
<li>
|
64
|
+
<details open>
|
65
|
+
<summary> <a href="#label-Ruby+request+signature+example">Ruby request signature example</a>
|
66
|
+
</summary>
|
67
|
+
<ul class="link-list" role="directory">
|
68
|
+
<li> <a href="#label-Run">Run</a>
|
69
|
+
|
70
|
+
</ul>
|
71
|
+
</details>
|
72
|
+
</li>
|
73
|
+
|
74
|
+
</ul>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
|
78
|
+
<div id="project-metadata">
|
79
|
+
|
80
|
+
<div id="fileindex-section" class="nav-section">
|
81
|
+
<h3>Pages</h3>
|
82
|
+
|
83
|
+
<ul class="link-list">
|
84
|
+
<li><a href="../../CHANGELOG_md.html">CHANGELOG</a>
|
85
|
+
<li><a href="../../LICENSE-APACHE.html">LICENSE-APACHE</a>
|
86
|
+
<li><a href="../../LICENSE-MIT.html">LICENSE-MIT</a>
|
87
|
+
<li><a href="../../README_md.html">README</a>
|
88
|
+
<li><a href="../../Rakefile.html">Rakefile</a>
|
89
|
+
<li><details open><summary>examples</summary>
|
90
|
+
<ul class="link-list">
|
91
|
+
<li><a href="../../examples/sign-request/Gemfile.html">Gemfile</a>
|
92
|
+
<li><a href="../../examples/sign-request/Gemfile_lock.html">Gemfile.lock</a>
|
93
|
+
<li><a href="../../examples/sign-request/README_md.html">README</a>
|
94
|
+
<li><a href="../../examples/webhook-server/Gemfile.html">Gemfile</a>
|
95
|
+
<li><a href="../../examples/webhook-server/Gemfile_lock.html">Gemfile.lock</a>
|
96
|
+
<li><a href="../../examples/webhook-server/README_md.html">README</a>
|
97
|
+
</ul></details>
|
98
|
+
</ul>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
</div>
|
102
|
+
</nav>
|
103
|
+
|
104
|
+
<main role="main" aria-label="Page examples/sign-request/README.md">
|
105
|
+
|
106
|
+
<h1 id="label-Ruby+request+signature+example">Ruby request signature example<span><a href="#label-Ruby+request+signature+example">¶</a> <a href="#top">↑</a></span></h1>
|
107
|
+
|
108
|
+
<p>Sends a signed request to <code>https://api.truelayer-sandbox.com/test-signature</code>.</p>
|
109
|
+
|
110
|
+
<h2 id="label-Run">Run<span><a href="#label-Run">¶</a> <a href="#top">↑</a></span></h2>
|
111
|
+
|
112
|
+
<p>Set the following environment variables:</p>
|
113
|
+
<ul><li>
|
114
|
+
<p><code>TRUELAYER_SIGNING_ACCESS_TOKEN</code> – a valid <a href="../../JWT.html"><code>JWT</code></a> access token for the <code>payments</code> scope (see our <a href="https://docs.truelayer.com/docs/retrieve-a-token-in-your-server">docs</a>).</p>
|
115
|
+
</li><li>
|
116
|
+
<p><code>TRUELAYER_SIGNING_CERTIFICATE_ID</code> – the certificate/key UUID associated with your public key uploaded at <a href="https://console.truelayer.com">console.truelayer.com</a>.</p>
|
117
|
+
</li><li>
|
118
|
+
<p><code>TRUELAYER_SIGNING_PRIVATE_KEY</code> – the private key PEM string that matches the certificate ID of the uploaded public key. Should have the same format as <a href="https://github.com/TrueLayer/truelayer-signing/blob/main/test-resources/ec512-private.pem">this example private key</a>.</p>
|
119
|
+
</li></ul>
|
120
|
+
|
121
|
+
<p>Install the required dependencies:</p>
|
122
|
+
|
123
|
+
<pre>$ bundle</pre>
|
124
|
+
|
125
|
+
<p>Execute the request-signing example script:</p>
|
126
|
+
|
127
|
+
<pre>$ ruby main.rb</pre>
|
128
|
+
|
129
|
+
</main>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
<footer id="validator-badges" role="contentinfo">
|
134
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
135
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.5.0.
|
136
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
137
|
+
</footer>
|
138
|
+
|
@@ -0,0 +1,99 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Gemfile - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../../";
|
11
|
+
var index_rel_prefix = "../../";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="../../js/navigation.js" defer></script>
|
15
|
+
<script src="../../js/search.js" defer></script>
|
16
|
+
<script src="../../js/search_index.js" defer></script>
|
17
|
+
<script src="../../js/searcher.js" defer></script>
|
18
|
+
<script src="../../js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="../../css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="../../css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" role="document" class="file">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="../../index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
31
|
+
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="../../table_of_contents.html#pages">Pages</a>
|
34
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
35
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
+
<form action="#" method="get" accept-charset="utf-8">
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
45
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
<div id="project-metadata">
|
59
|
+
|
60
|
+
<div id="fileindex-section" class="nav-section">
|
61
|
+
<h3>Pages</h3>
|
62
|
+
|
63
|
+
<ul class="link-list">
|
64
|
+
<li><a href="../../CHANGELOG_md.html">CHANGELOG</a>
|
65
|
+
<li><a href="../../LICENSE-APACHE.html">LICENSE-APACHE</a>
|
66
|
+
<li><a href="../../LICENSE-MIT.html">LICENSE-MIT</a>
|
67
|
+
<li><a href="../../README_md.html">README</a>
|
68
|
+
<li><a href="../../Rakefile.html">Rakefile</a>
|
69
|
+
<li><details open><summary>examples</summary>
|
70
|
+
<ul class="link-list">
|
71
|
+
<li><a href="../../examples/sign-request/Gemfile.html">Gemfile</a>
|
72
|
+
<li><a href="../../examples/sign-request/Gemfile_lock.html">Gemfile.lock</a>
|
73
|
+
<li><a href="../../examples/sign-request/README_md.html">README</a>
|
74
|
+
<li><a href="../../examples/webhook-server/Gemfile.html">Gemfile</a>
|
75
|
+
<li><a href="../../examples/webhook-server/Gemfile_lock.html">Gemfile.lock</a>
|
76
|
+
<li><a href="../../examples/webhook-server/README_md.html">README</a>
|
77
|
+
</ul></details>
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
</nav>
|
83
|
+
|
84
|
+
<main role="main" aria-label="Page examples/webhook-server/Gemfile">
|
85
|
+
|
86
|
+
<p>source “<a href="https://rubygems.org">rubygems.org</a>”</p>
|
87
|
+
|
88
|
+
<p>gem “http” gem “truelayer-signing”</p>
|
89
|
+
|
90
|
+
</main>
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
<footer id="validator-badges" role="contentinfo">
|
95
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.5.0.
|
97
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
98
|
+
</footer>
|
99
|
+
|
@@ -0,0 +1,142 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Gemfile.lock - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../../";
|
11
|
+
var index_rel_prefix = "../../";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="../../js/navigation.js" defer></script>
|
15
|
+
<script src="../../js/search.js" defer></script>
|
16
|
+
<script src="../../js/search_index.js" defer></script>
|
17
|
+
<script src="../../js/searcher.js" defer></script>
|
18
|
+
<script src="../../js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="../../css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="../../css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" role="document" class="file">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="../../index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
31
|
+
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="../../table_of_contents.html#pages">Pages</a>
|
34
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
35
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
+
<form action="#" method="get" accept-charset="utf-8">
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
45
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
<div id="project-metadata">
|
59
|
+
|
60
|
+
<div id="fileindex-section" class="nav-section">
|
61
|
+
<h3>Pages</h3>
|
62
|
+
|
63
|
+
<ul class="link-list">
|
64
|
+
<li><a href="../../CHANGELOG_md.html">CHANGELOG</a>
|
65
|
+
<li><a href="../../LICENSE-APACHE.html">LICENSE-APACHE</a>
|
66
|
+
<li><a href="../../LICENSE-MIT.html">LICENSE-MIT</a>
|
67
|
+
<li><a href="../../README_md.html">README</a>
|
68
|
+
<li><a href="../../Rakefile.html">Rakefile</a>
|
69
|
+
<li><details open><summary>examples</summary>
|
70
|
+
<ul class="link-list">
|
71
|
+
<li><a href="../../examples/sign-request/Gemfile.html">Gemfile</a>
|
72
|
+
<li><a href="../../examples/sign-request/Gemfile_lock.html">Gemfile.lock</a>
|
73
|
+
<li><a href="../../examples/sign-request/README_md.html">README</a>
|
74
|
+
<li><a href="../../examples/webhook-server/Gemfile.html">Gemfile</a>
|
75
|
+
<li><a href="../../examples/webhook-server/Gemfile_lock.html">Gemfile.lock</a>
|
76
|
+
<li><a href="../../examples/webhook-server/README_md.html">README</a>
|
77
|
+
</ul></details>
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
</nav>
|
83
|
+
|
84
|
+
<main role="main" aria-label="Page examples/webhook-server/Gemfile.lock">
|
85
|
+
|
86
|
+
<p>GEM</p>
|
87
|
+
|
88
|
+
<pre>remote: https://rubygems.org/
|
89
|
+
specs:
|
90
|
+
addressable (2.8.1)
|
91
|
+
public_suffix (>= 2.0.2, < 6.0)
|
92
|
+
domain_name (0.5.20190701)
|
93
|
+
unf (>= 0.0.5, < 1.0.0)
|
94
|
+
ffi (1.15.5)
|
95
|
+
ffi-compiler (1.0.1)
|
96
|
+
ffi (>= 1.0.0)
|
97
|
+
rake
|
98
|
+
http (5.1.1)
|
99
|
+
addressable (~> 2.8)
|
100
|
+
http-cookie (~> 1.0)
|
101
|
+
http-form_data (~> 2.2)
|
102
|
+
llhttp-ffi (~> 0.4.0)
|
103
|
+
http-cookie (1.0.5)
|
104
|
+
domain_name (~> 0.5)
|
105
|
+
http-form_data (2.3.0)
|
106
|
+
jwt (2.6.0)
|
107
|
+
llhttp-ffi (0.4.0)
|
108
|
+
ffi-compiler (~> 1.0)
|
109
|
+
rake (~> 13.0)
|
110
|
+
public_suffix (5.0.1)
|
111
|
+
rake (13.0.6)
|
112
|
+
truelayer-signing (0.1.0)
|
113
|
+
jwt (= 2.6)
|
114
|
+
unf (0.1.4)
|
115
|
+
unf_ext
|
116
|
+
unf_ext (0.0.8.2)</pre>
|
117
|
+
|
118
|
+
<p>PLATFORMS</p>
|
119
|
+
|
120
|
+
<pre class="ruby"><span class="ruby-identifier">arm64</span><span class="ruby-operator">-</span><span class="ruby-identifier">darwin</span><span class="ruby-value">-21</span>
|
121
|
+
</pre>
|
122
|
+
|
123
|
+
<p>DEPENDENCIES</p>
|
124
|
+
|
125
|
+
<pre class="ruby"><span class="ruby-identifier">http</span>
|
126
|
+
<span class="ruby-identifier">truelayer</span><span class="ruby-operator">-</span><span class="ruby-identifier">signing</span>
|
127
|
+
</pre>
|
128
|
+
|
129
|
+
<p>BUNDLED WITH</p>
|
130
|
+
|
131
|
+
<pre>2.4.1</pre>
|
132
|
+
|
133
|
+
</main>
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
<footer id="validator-badges" role="contentinfo">
|
138
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
139
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.5.0.
|
140
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
141
|
+
</footer>
|
142
|
+
|