AuthenticatedBuilder

play.api.mvc.Security.AuthenticatedBuilder
See theAuthenticatedBuilder companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[U](userinfo: RequestHeader => Option[U], defaultParser: BodyParser[AnyContent], onUnauthorized: RequestHeader => Result)(implicit ec: ExecutionContext): AuthenticatedBuilder[U]

Create an authenticated builder

Create an authenticated builder

Value parameters

onUnauthorized

The function to get the result for when no authenticated user can be found.

userinfo

The function that looks up the user info.

Attributes