AuthDirectives

class AuthDirectives[T](authentication: AsyncAuthenticatorFactory[T], authConfig: AuthConfig)(evidence$1: Decoder[T], ec: ExecutionContext)
class Object
trait Matchable
class Any

Value members

Methods

def policy(policy: T => Boolean): Directive0
def asyncPolicy(policy: T => Future[Boolean]): Directive0
def token: Directive1[T]