Package

nelson.crypto

protocol

Permalink

package protocol

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. protocol
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class AuthFailureErr(failure: AuthFailure, context: List[String] = Nil) extends Err with Product with Serializable

    Permalink

    An scodec Err that simply wraps an AuthFailure.

  2. abstract class ScodecTokenAuthenticator[A] extends TokenAuthenticator[String, A]

    Permalink

    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)

  3. abstract class SignedCodec[A] extends Codec[A]

    Permalink

    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

  1. object AuthCodecs

    Permalink
  2. object EncryptedCodec

    Permalink
  3. object ScodecTokenAuthenticator

    Permalink
  4. object SignedCodec

    Permalink
  5. def authResultToAttempt[A](fa: AuthResult[A]): Attempt[A]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped