D2lvalenceElixir.Auth.D2LUserContext.interpret_result
You're seeing just the function
interpret_result
, go back to D2lvalenceElixir.Auth.D2LUserContext module for more information.
Specs
interpret_result( %D2lvalenceElixir.Auth.D2LUserContext{ anonymous: term(), app_id: term(), app_key: term(), encrypt_requests: term(), host: term(), scheme: term(), server_skew: term(), user_id: term(), user_key: term() }, integer(), String.t(), String.t() | nil ) :: :invalid_sig | :no_permission | :okay | :unknown
Interpret the result made for an API call through this user context.
:param result_code: The HTTP result code from the response; if a successful result (2xx), this method ignores the response. :param response: Response passed back by the back-end service. The precise form of this is implementation dependent. It could be a string, or a file object, or a Response object of some kind. :param logfile: Optional. A caller might want to provide a file stream for logging purposes; if present, this method should write logging messages to this file stream.
:returns: One of the enumerated D2LAuthResult class variables.