Lti_1p3 (Lti 1p3 v0.3.0)

Link to this section Summary

Functions

Creates a new jwk.

Gets the currently active Jwk. If there are more that one active Jwk, this will return the first one it finds

Gets a all public keys.

Link to this section Functions

Link to this function

create_jwk(jwk)

Creates a new jwk.

Examples

iex> create_jwk(%Jwk{})
{:ok, %Jwk{}}
iex> create_jwk(%Jwk{})
{:error, %Lti_1p3.DataProviderError{}}
Link to this function

get_active_jwk()

Gets the currently active Jwk. If there are more that one active Jwk, this will return the first one it finds

Examples

iex> get_active_jwk()
{:ok, %Lti_1p3.Jwk{}}
iex> get_active_jwk()
{:error, %Lti_1p3.DataProviderError{}}
Link to this function

get_all_public_keys()

Gets a all public keys.

Examples

iex> get_all_public_keys()
%{keys: []}