Skip to content

Why do claim need to have binary keys? #362

@anthonator

Description

@anthonator

The claims/0 spec is defined as claims() :: %{required(binary()) => term(). I'm curious why the claims you pass into Joken functions need to have binary keys. It also works with atom keys but dialyzer fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions