4
4
require "active_support/security_utils"
5
5
6
6
module ActionController
7
- # Makes it dead easy to do HTTP Basic, Digest and Token authentication.
7
+ # HTTP Basic, Digest and Token authentication.
8
8
module HttpAuthentication
9
- # Makes it dead easy to do HTTP \Basic authentication.
9
+ # HTTP \Basic authentication.
10
10
#
11
11
# === Simple \Basic example
12
12
#
@@ -24,8 +24,8 @@ module HttpAuthentication
24
24
#
25
25
# === Advanced \Basic example
26
26
#
27
- # Here is a more advanced \Basic example where only Atom feeds and the XML API is protected by HTTP authentication,
28
- # the regular HTML interface is protected by a session approach:
27
+ # Here is a more advanced \Basic example where only Atom feeds and the XML API are protected by HTTP authentication.
28
+ # The regular HTML interface is protected by a session approach:
29
29
#
30
30
# class ApplicationController < ActionController::Base
31
31
# before_action :set_account, :authenticate
@@ -134,7 +134,7 @@ def authentication_request(controller, realm, message)
134
134
end
135
135
end
136
136
137
- # Makes it dead easy to do HTTP \Digest authentication.
137
+ # HTTP \Digest authentication.
138
138
#
139
139
# === Simple \Digest example
140
140
#
@@ -330,7 +330,7 @@ def opaque(secret_key)
330
330
end
331
331
end
332
332
333
- # Makes it dead easy to do HTTP Token authentication.
333
+ # HTTP Token authentication.
334
334
#
335
335
# Simple Token example:
336
336
#
@@ -358,8 +358,8 @@ def opaque(secret_key)
358
358
# end
359
359
#
360
360
#
361
- # Here is a more advanced Token example where only Atom feeds and the XML API is protected by HTTP token authentication,
362
- # the regular HTML interface is protected by a session approach:
361
+ # Here is a more advanced Token example where only Atom feeds and the XML API are protected by HTTP token authentication.
362
+ # The regular HTML interface is protected by a session approach:
363
363
#
364
364
# class ApplicationController < ActionController::Base
365
365
# before_action :set_account, :authenticate
0 commit comments