Commit 98eda16
authored
Add Cache-Control and Pragma headers to Access Token responses
See section 5.1 Successful Response: https://tools.ietf.org/html/rfc6749#section-5.1
> The authorization server MUST include the HTTP "Cache-Control"
> response header field [RFC2616] with a value of "no-store" in any
> response containing tokens, credentials, or other sensitive
> information, as well as the "Pragma" response header field [RFC2616]
> with a value of "no-cache".1 parent f5755fa commit 98eda16
File tree
1 file changed
+9
-1
lines changed- oauth2-server-core/src/main/java/nl/myndocs/oauth2/grant
1 file changed
+9
-1
lines changedLines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| |||
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
| 65 | + | |
| 66 | + | |
59 | 67 | | |
60 | 68 | | |
61 | 69 | | |
| |||
106 | 114 | | |
107 | 115 | | |
108 | 116 | | |
109 | | - | |
| 117 | + | |
0 commit comments