ExTwilio v0.7.0 ExTwilio.JWT.Grant protocol View Source
A protocol for converting grants into JWT claims.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: term()
t() :: term()
Link to this section Functions
Link to this function
attrs(grant) View Source
The attributes of the claim.
Example
def attrs(grant) do
%{"name" => grant.name}
end
Link to this function
type(grant) View Source
The type of claim this grant is.
Example
def type(_grant), do: "chat"