Deadbolt for Scala

The Deadbolt for Scala Developer Hub

Welcome to the Deadbolt for Scala developer hub. You'll find comprehensive guides and documentation to help you start working with Deadbolt for Scala as quickly as possible, as well as support if you get stuck. Let's jump right in!

This project is supported by Auth0.

If you want to easily add secure authentication and authorization to your Java or Scala projects, feel free to check out Auth0's Java SDK, Scala examples and free plan at auth0.com/overview

Get Started    
Ask A Question

Questions

Scala documentation is out of date

Posted by Alexey Antipin 3 months ago

Hi Steve,

the documentation is obviously out of date:
https://deadbolt-scala.readme.io/docs/template-constraints

as 'restrict' is no longer an object I can't figure out how to make TWIRL magic work, simple changing
@import be.objectify.deadbolt.scala.views.html.restrict
to
@import be.objectify.deadbolt.scala.views.html.di.restrict

evidently does not work as an instance of 'restrict' object must be dependency injected somehow.

Will be nice if the documentation is updated with appropriate examples.

Thanks

Loading comments...