An environment in which authentication is performed.
the context wrapping most of the results of the environment.
F is usually
AuthResult, which means that an
is either an
AuthFailure or a successful
An error encountered during authentication.
The SafeHolder utility provide safe reuse of objects that could not be shared between thread (not thread-safe) like many java crypto objects, e.g.
An HMAC-based implementation of Signer that caches
Mac instances to
reduce the overhead of initialization.
Signer computes a signature (such as a checksum) of data.
The context in which results are wrapped. This allows a Signer to return a possible failure via Option, a disjunction, etc.
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
The serialization version of a token.
Set of cipher functions for Web Service Key (WSK-based) authentication
exposed through instances of