Starcounter/Starcounter.Authorization

Extend documentation

Closed this issue · 3 comments

It's not mentioned in the readme. Should be documented as other attributes.

cc @joozek78

Document:

  • UseDbScope attribute usage
  • RegisterAllFromCurrentAssembly method (it is necessary to use)

Ping @joozek78

From today's Slack:

is there some configuration needed to use routing? Just writing [Url("/myapp/dashboard")] is not enough

did you remember to register the handlers? The easiest way would be:

var router = Router.CreateDefault();
router.RegisterAllFromCurrentAssembly();

outdated