nelson.crypto
A TokenAuthenticator can authenticate with a provided encoded token and can serialize a decoded token.
the form of the serialized token (for example String for tokens that are base-64-encoded).
the result of successful authentication (for example an AuthToken or User model).
AuthToken
User
Serialize a token.
an error message (String) if serialization fails, or the serialized token if serialization succeeds.
A TokenAuthenticator can authenticate with a provided encoded token and can serialize a decoded token.
the form of the serialized token (for example String for tokens that are base-64-encoded).
the result of successful authentication (for example an
AuthToken
orUser
model).