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 d22bb28
Showing 1 changed file with 13 additions and 2 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{}}
```

0 comments on commit d22bb28

Please sign in to comment.