Lti_1p3.Platform.AuthorizationRedirect (Lti 1p3 v0.9.0)

Link to this section Summary

Functions

Validates an authentication response and returns the state and platform lti params in a signed id_token signed if successful.

Link to this section Types

Link to this section Functions

Link to this function

authorize_redirect(params, current_user, issuer, claims)

@spec authorize_redirect(
  params(),
  user(),
  binary(),
  [claim()]
) ::
  {:ok, binary(), binary(), binary()}
  | {:error, %{optional(atom()) => any(), reason: atom(), msg: String.t()}}

Validates an authentication response and returns the state and platform lti params in a signed id_token signed if successful.