Ltix.Test.Platform (Ltix v0.1.0)

Copy Markdown View Source

A simulated LTI platform for testing.

Holds everything needed to simulate platform-side behavior in tests: the registration and deployment (what the tool knows), plus the platform's key material (what only the platform knows) for signing JWTs.

Created by Ltix.Test.setup_platform!/1.

Summary

Types

t()

@type t() :: %Ltix.Test.Platform{
  deployment: Ltix.Deployment.t(),
  jwks: map(),
  kid: String.t(),
  private_key: JOSE.JWK.t(),
  public_key: JOSE.JWK.t(),
  registration: Ltix.Registration.t()
}