package protocol
- Source
- package.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- protocol
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
final
case class
AuthFailureErr(failure: AuthFailure, context: List[String] = Nil) extends Err with Product with Serializable
An scodec
Err
that simply wraps anAuthFailure
. -
abstract
class
ScodecTokenAuthenticator[A] extends TokenAuthenticator[String, A]
Token authenticator that uses Scodec encoding and then base-64 encodes the result to a String token.
Token authenticator that uses Scodec encoding and then base-64 encodes the result to a String token.
- A
The result of successful authentication (ex: User, AccessToken)
-
abstract
class
SignedCodec[A] extends Codec[A]
A codec that delegates through to the provided target codec but prefixes the encoded value with an HMAC signature when encoding and verifies the signature when decoding.
A codec that delegates through to the provided target codec but prefixes the encoded value with an HMAC signature when encoding and verifies the signature when decoding. This ensures that the encoded bits were not tampered with.
Value Members
- def authResultToAttempt[A](fa: AuthResult[A]): Attempt[A]
- object AuthCodecs
- object EncryptedCodec
- object ScodecTokenAuthenticator
- object SignedCodec