Lti_1p3 (Lti 1p3 v0.6.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

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

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

Examples

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