-
Notifications
You must be signed in to change notification settings - Fork 1
/
token.html
66 lines (63 loc) · 3.19 KB
/
token.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>REST API by danvitoriano</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="lib/bootstrap-4/css/bootstrap.min.css" media="screen">
<link rel="stylesheet" type="text/css" href="lib/bootstrap-4/css/bootstrap-reboot.min.css" media="screen">
</head>
<body>
<div class="container">
<!-- header -->
<div class="row">
<div class="col-xs-10 offset-xs-1">
<div class="jumbotron mt-2 text-xs-center">
<h1 class="display-4">REST API</h1>
<p class="lead">Examples</p>
<hr class="my-2">
<p>Test and Prototype with <a href="https://jsonplaceholder.typicode.com">JSONPlaceholder</a> Fake Online REST API</p>
<p>
<small>OAuth 2 Examples: <a href="danvitoriano/auth0-javascript-spa">danvitoriano/auth0-javascript-spa</a> forked from <a href="auth0-samples/auth0-javascript-spa">auth0-samples/auth0-javascript-spa</a><br>
Built with <a href="https://github.com/twbs/bootstrap/tree/v4-dev">Bootstrap 4</a>
</small>
</p>
</div>
</div>
</div>
<!-- content -->
<div class="row">
<div class="offset-xs-1 col-xs-10">
<div class="card-columns">
<!-- oauth 2 implicit token -->
<div class="card card-block">
<h4 class="card-title">OAuth 2 <small class="text-muted">JavaScript</small></h4>
<h6 class="card-subtitle">Implicit Grant</h6>
<a id="get-appointments" class="btn btn-primary mt-1" href="">Get User Info</a>
<p id="res-10"></p>
</div>
</div>
</div>
</div>
<!-- footer -->
<div class="row mt-2">
<div class="offset-xs-1 col-xs-10">
<hr>
<footer class="footer text-xs-center">
<p>
<span class="text-muted"><a href="https://github.com/danvitoriano/rest-api-examples">REST API Examples</a> is maintained by <a href="https://github.com/danvitoriano">danvitoriano</a> and it uses <a href="https://jsonplaceholder.typicode.com">JSONPlaceholder</a> and <a href="auth0-samples/auth0-javascript-spa">OAuth 2 Samples</a>.</span>
</p>
<p class="text-muted">
<small>Fork me on <a href="https://github.com/danvitoriano/rest-api-examples">GitHub</a>, open an issue or send a Pull Request to support this project.</small>
</p>
</footer>
</div>
</div>
</div>
<a href="https://github.com/danvitoriano/rest-api-examples"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/bootstrap-4/js/bootstrap.min.js"></script>
<script src="//cdn.auth0.com/js/lock/10.2/lock.min.js"></script>
<script src="js/token.js" type="text/javascript"></script>
</body>
</html>