Object/Trait

org.coursera.naptime.access.authenticator

Authenticator

Related Docs: trait Authenticator | package authenticator

Permalink

object Authenticator extends StrictLogging with AnyOf with FirstOf with And

Linear Supertypes
And, FirstOf, AnyOf, StrictLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Authenticator
  2. And
  3. FirstOf
  4. AnyOf
  5. StrictLogging
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def and[A, A1, A2](authenticator1: Authenticator[A1], authenticator2: Authenticator[A2])(partialCombine: PartialFunction[(Option[A1], Option[A2]), A]): Authenticator[A]

    Permalink
    Definition Classes
    And
  5. def anyOf[A, A1, A2, A3](authenticator1: Authenticator[A1], authenticator2: Authenticator[A2], authenticator3: Authenticator[A3])(implicit transformer1: AuthenticationTransformer[A1, A], transformer2: AuthenticationTransformer[A2, A], transformer3: AuthenticationTransformer[A3, A]): Authenticator[A]

    Permalink
    Definition Classes
    AnyOf
  6. def anyOf[A, A1, A2](authenticator1: Authenticator[A1], authenticator2: Authenticator[A2])(implicit transformer1: AuthenticationTransformer[A1, A], transformer2: AuthenticationTransformer[A2, A]): Authenticator[A]

    Permalink
    Definition Classes
    AnyOf
  7. def anyOf[A](authenticators: Set[Authenticator[A]]): Authenticator[A]

    Permalink

    Combines an UNORDERED collection of Authenticators into an authenticator that:

    Combines an UNORDERED collection of Authenticators into an authenticator that:

    1. If any authentication succeeds, return an arbitrary successful authenticator's response. 2. If any returns an error, return an arbitrary authenticator's error. 3. If all skip, return a skip response.

    Note: the weakness of ordering guarantees here allows optimization like not waiting for all authenticators to respond if an early one is successful.

    TODO(josh): Should existence of even a single error trigger failure? TODO(josh): Write unit tests.

    Definition Classes
    AnyOf
  8. def apply[P, A](parser: HeaderAuthenticationParser[P], decorator: Decorator[P, A]): Authenticator[A]

    Permalink
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def errorRecovery[A]: PartialFunction[Throwable, Option[Either[NaptimeActionException, A]]]

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def firstOf[A, A1, A2, A3, A4, A5](authenticator1: Authenticator[A1], authenticator2: Authenticator[A2], authenticator3: Authenticator[A3], authenticator4: Authenticator[A4], authenticator5: Authenticator[A5])(implicit transformer1: AuthenticationTransformer[A1, A], transformer2: AuthenticationTransformer[A2, A], transformer3: AuthenticationTransformer[A3, A], transformer4: AuthenticationTransformer[A4, A], transformer5: AuthenticationTransformer[A5, A]): Authenticator[A]

    Permalink
    Definition Classes
    FirstOf
  16. def firstOf[A, A1, A2, A3, A4](authenticator1: Authenticator[A1], authenticator2: Authenticator[A2], authenticator3: Authenticator[A3], authenticator4: Authenticator[A4])(implicit transformer1: AuthenticationTransformer[A1, A], transformer2: AuthenticationTransformer[A2, A], transformer3: AuthenticationTransformer[A3, A], transformer4: AuthenticationTransformer[A4, A]): Authenticator[A]

    Permalink
    Definition Classes
    FirstOf
  17. def firstOf[A, A1, A2, A3](authenticator1: Authenticator[A1], authenticator2: Authenticator[A2], authenticator3: Authenticator[A3])(implicit transformer1: AuthenticationTransformer[A1, A], transformer2: AuthenticationTransformer[A2, A], transformer3: AuthenticationTransformer[A3, A]): Authenticator[A]

    Permalink
    Definition Classes
    FirstOf
  18. def firstOf[A, A1, A2](authenticator1: Authenticator[A1], authenticator2: Authenticator[A2])(implicit transformer1: AuthenticationTransformer[A1, A], transformer2: AuthenticationTransformer[A2, A]): Authenticator[A]

    Permalink
    Definition Classes
    FirstOf
  19. def firstOf[A](authenticators: Seq[Authenticator[A]]): Authenticator[A]

    Permalink

    Combines an ORDERED collection of Authenticators into an authenticator that:

    Combines an ORDERED collection of Authenticators into an authenticator that:

    1. If any authentication succeeds, returns the response from the first in the list that succeeded. 2. If any returns an error, return the response from the first in the list that failed. 3. If all skip, return a skip response.

    TODO(josh): Write unit tests.

    Definition Classes
    FirstOf
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from And

Inherited from FirstOf

Inherited from AnyOf

Inherited from StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped