From 2fd05734bd3946f3d620f2c16f81c63b80cdab7f Mon Sep 17 00:00:00 2001 From: Mathieu Decaffmeyer <5883963+mathieuprog@users.noreply.github.com> Date: Fri, 26 Aug 2022 19:21:39 +0200 Subject: [PATCH] Fix typos (#703) --- guides/plug/pipelines.md | 2 +- lib/guardian/token/jwt.ex | 2 +- test/guardian_test.exs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/guides/plug/pipelines.md b/guides/plug/pipelines.md index a29728417..b7fd04b4e 100644 --- a/guides/plug/pipelines.md +++ b/guides/plug/pipelines.md @@ -80,7 +80,7 @@ end ## Module version -You can take the above setup and wrap it up in a plug all of it's own. +You can take the above setup and wrap it up in a plug all of its own. ```elixir defmodule AuthMe.UserManager.Pipeline do diff --git a/lib/guardian/token/jwt.ex b/lib/guardian/token/jwt.ex index bfae17307..fc9842e6a 100644 --- a/lib/guardian/token/jwt.ex +++ b/lib/guardian/token/jwt.ex @@ -3,7 +3,7 @@ defmodule Guardian.Token.Jwt do Deals with things JWT. This module should not be used directly. It is intended to be used by Guardian on behalf of your implementation - as it's token module. + as its token module. Token types are encoded in the `typ` field. diff --git a/test/guardian_test.exs b/test/guardian_test.exs index a9bd97506..65bce93f2 100644 --- a/test/guardian_test.exs +++ b/test/guardian_test.exs @@ -118,7 +118,7 @@ defmodule GuardianTest do describe "encode_and_sign" do @resource %{id: "bobby"} - test "the impl has access to it's config", ctx do + test "the impl has access to its config", ctx do assert ctx.impl.config(:token_module) == Guardian.Support.TokenModule end