D2lvalenceElixir.Auth.D2LUserContext.create_authenticated_url
You're seeing just the function
create_authenticated_url
, go back to D2lvalenceElixir.Auth.D2LUserContext module for more information.
Specs
create_authenticated_url( %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() }, %{method: String.t()} | %{api_route: String.t()} | %{method: String.t(), api_route: String.t()} | [] ) :: String.t()
Create a properly tokenized URL for a new request through this user context.
:param api_route: API route to invoke on the back-end service (get all versions route by default). :param method: Method for the request (GET by default, POST, etc).
:returns: URI string you can fashion into an HTTP request, containing the time-limited authentication token parameters needed for a Valence API call.