@@ -425,7 +425,7 @@ module Token
425
425
module ControllerMethods
426
426
# Authenticate using an HTTP Bearer token, or otherwise render an HTTP
427
427
# header requesting the client to send a Bearer token. For the authentication
428
- # to be considered successful, ` login_procedure` should return a non-nil
428
+ # to be considered successful, + login_procedure+ should return a non-nil
429
429
# value. Typically, the authenticated user is returned.
430
430
#
431
431
# See ActionController::HttpAuthentication::Token for example usage.
@@ -434,8 +434,8 @@ def authenticate_or_request_with_http_token(realm = "Application", message = nil
434
434
end
435
435
436
436
# Authenticate using an HTTP Bearer token.
437
- # Returns the return value of <tt> login_procedure</tt> if a
438
- # token is found. Returns <tt> nil</tt> if no token is found.
437
+ # Returns the return value of + login_procedure+ if a
438
+ # token is found. Returns + nil+ if no token is found.
439
439
#
440
440
# See ActionController::HttpAuthentication::Token for example usage.
441
441
def authenticate_with_http_token ( &login_procedure )
@@ -452,8 +452,8 @@ def request_http_token_authentication(realm = "Application", message = nil)
452
452
# If token Authorization header is present, call the login
453
453
# procedure with the present token and options.
454
454
#
455
- # Returns the return value of <tt> login_procedure</tt> if a
456
- # token is found. Returns <tt> nil</tt> if no token is found.
455
+ # Returns the return value of + login_procedure+ if a
456
+ # token is found. Returns + nil+ if no token is found.
457
457
#
458
458
# ==== Parameters
459
459
#
0 commit comments