README.md

# JwtDecoder

**TODO: Add description**

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `jwt_decoder` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:jwt_decoder, "~> 0.1.0"}
  ]
end
```

You can use this method to get the payload.

```elixir
JwtDecoder.get_data(jwt)
```

This method can return:
```elixir
{:ok, data}
``` 
or
```elixir
:error_decode_base64
```         
or
```elixir
:error_get_payload_encode
```  
or
```elixir
:error_decode_string_to_map
```  

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/jwt_decoder](https://hexdocs.pm/jwt_decoder).