Lti_1p3.Tool.AccessToken (Lti 1p3 v0.3.0)
Link to this section Summary
Functions
Requests an OAuth2 access token. Returns {:ok, %AccessToken{}} on success, {:error, error} otherwise.
Link to this section Types
Specs
Link to this section Functions
Link to this function
fetch_access_token(registration, scopes, host)
Requests an OAuth2 access token. Returns {:ok, %AccessToken{}} on success, {:error, error} otherwise.
As parameters, expects:
- The registration from which an access token is being requested
- A list of scopes being requested
- The host name of this instance of Torus