Skip to content

Commit

Permalink
Update README.md with SAML methods
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBeatris committed Mar 24, 2024
1 parent a0372b0 commit 931e0c0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,19 @@ Here's a list of error per tags:

### `decode_saml_response`

Work in progress.
Parsed a given SAML response to a struct:

```ex
iex(1)> ShinAuth.SAML.decode_saml_response(valid_saml_response)
{:ok, %ShinAuth.SAML.Response{}}
```

### `decode_saml_request`

Work in progress.
Parsed a given SAML request to a struct:

```ex
iex(1)> ShinAuth.SAML.decode_saml_request(valid_saml_request)
{:ok, %ShinAuth.SAML.Request{}}
```

2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ defmodule Shin.MixProject do
source_ref: "v#{@version}",
canonical: "https://hexdocs.pm/shin_auth",
source_url: @source_url,
extras: ["README.md", "CHANGELOG.md", "LICENSE"]
extras: ["README.md", "LICENSE"]
]
end

Expand Down

0 comments on commit 931e0c0

Please sign in to comment.