Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit c61eedd

Browse files
authoredDec 11, 2020
Merge pull request #279 from mozilla/remove-browser
Remove remnants of the browser-specific version
2 parents 09d27b0 + 0b684f4 commit c61eedd

File tree

3 files changed

+1
-2080
lines changed

3 files changed

+1
-2080
lines changed
 

‎API.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ Server-Authorization: Hawk mac="XIJRsMl/4oL+nn+vKoeVZPdCHXB4yJkNnBbTbHFZUYE=", h
323323

324324
## Browser Support and Considerations
325325

326-
A browser script is provided for including using a `<script>` tag in [lib/browser.js](/lib/browser.js). It's also a [component](http://component.io/hueniverse/hawk).
326+
This library can be included in browser-based applications using Webpack or similar bundling technologies.
327327

328328
**Hawk** relies on the _Server-Authorization_ and _WWW-Authenticate_ headers in its response to communicate with the client.
329329
Therefore, in case of CORS requests, it is important to consider sending _Access-Control-Expose-Headers_ with the value
@@ -334,7 +334,6 @@ can safely be accessed by the client (using getResponseHeader() on the XmlHttpRe
334334
Hawk client from authenticating the requests.You can read more about the why and how in this
335335
[article](http://www.html5rocks.com/en/tutorials/cors/#toc-adding-cors-support-to-the-server)
336336

337-
338337
# Single URI Authorization
339338

340339
There are cases in which limited and short-term access to a protected resource is granted to a third party which does not

‎lib/browser.js

-629
This file was deleted.

‎test/browser.js

-1,449
This file was deleted.

0 commit comments

Comments
 (0)
This repository has been archived.