Packages

p

org.coursera.naptime.access

authenticator

package authenticator

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait Authenticator[+A] extends AnyRef

    Authenticates request client based on data extracted from the request (see HeaderAuthenticationParser) as well as looked up from other sources (see Decorator).

    Authenticates request client based on data extracted from the request (see HeaderAuthenticationParser) as well as looked up from other sources (see Decorator).

    A

    Any authentication information obtained from the request and other sources, like user id, user role, device, etc.

  2. trait Decorator[-I, +O] extends AnyRef

    Augments parsed information I (using some asynchronous process) returning either output O or an error.

    Augments parsed information I (using some asynchronous process) returning either output O or an error.

    Decorators should not throw exceptions. On error, they should return Left with an error message suitable for returning to the Naptime client.

  3. trait HeaderAuthenticationParser[+P] extends AnyRef

    Immediate header parser.

    Immediate header parser. Tries to find authentication information.

    HeaderAuthenticationParsers should not throw exceptions. On error, they should return ParseResult.Error with an error message suitable for returning to the Naptime client.

    P

    Parsed authentication data, entirely from the request header.

  4. sealed trait ParseResult[+P] extends AnyRef

    Output of HeaderAuthenticationParser.

    P

    Parsed authentication data.

Value Members

  1. object Authenticator extends StrictLogging with AnyOf with FirstOf with And
  2. object Decorator
  3. object HeaderAuthenticationParser
  4. object ParseResult

Ungrouped