Skip to content

Commit 25075f2

Browse files
Added latest changes
1 parent dcb6eba commit 25075f2

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

index.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ <h2>Basic Example</h2>
6868

6969
<pre><code><xmp><body ng-app="app">
7070
<oauth
71-
site="<oauth-server-uri>"
72-
client-id="<client-id>"
73-
redirect-uri="<redirect-uri>"
74-
profile-uri="<profile-uri>"
75-
scope="<scope>">
71+
site="OAUTH_SERVER_URI_HERE"
72+
client-id="CLIENT_ID_HERE"
73+
redirect-uri="REDIRECT_URI_HERE"
74+
profile-uri="PROFILE_URI_HERE"
75+
scope="SCOPE_HERE">
7676
</oauth>
7777

7878
<script>angular.module('app', ['oauth-ng']);</script>
@@ -88,11 +88,10 @@ <h2>What does it do?</h2>
8888
It renders a Login link that redirects you to the authorization page. When authorized and
8989
redirected back to your app, the directive takes the access token from the fragment,
9090
saves it in the <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Storage#sessionStorage" target="_blank">SessionStorage</a>
91-
and add it to all HTTP requests made in AngularJS.
91+
and sets the Authorization header to all HTTP requests made with AngularJS.
9292
</p>
9393

94-
<pre><code><xmp>// example header
95-
Authorization:Bearer 9e5c6bf5da8b10223babcb2f6776af5d2a05b3c7988be008eb956b290018464a</xmp></code></pre>
94+
<pre><code><xmp>Authorization:Bearer 9e5c6bf5da8b10223babcb2f6776af5d2a05b3c7988be008eb956b290018464a</xmp></code></pre>
9695

9796
</div>
9897
</section>

0 commit comments

Comments
 (0)