module Moonstones::Api::Controller
Direct including types
Defined in:
moonstones/api/controller.crConstant Summary
-
AUTHORIZATION_GSUB_PARAMS_ARRAY_FROM =
/^"|"$/ -
AUTHORIZATION_PAIR_DELIMITERS =
/(?:,|;|\t+)/ -
AUTHORIZATION_SPLIT_RAW_PARAMS =
/=(.+)?/ -
AUTHORIZATION_TOKEN_KEY =
"token=" -
AUTHORIZATION_TOKEN_REGEX =
/^(Token|Bearer)\s+/
Instance Method Summary
-
#authorization_token_and_options
Parse
Authorizationheader, return token and options inRails-style -
#decorated_errors_of(resource)
=> Rails-inspired errors hash
Instance Method Detail
def authorization_token_and_options
#
Parse Authorization header, return token and options in Rails-style