Creates the Authorization directory with the selected strategy
CreateServerAuth
The target directory the auth folder will be generated in.
In order to set the auth strategy, we should use the before
lifecycle event and call the skipDefaultBehavior
util. As a result, the default event won’t run, but we would have to provide our logic in the after
lifecycle event:
Creates the Authorization directory with the selected strategy
CreateServerAuth
The target directory the auth folder will be generated in.
In order to set the auth strategy, we should use the before
lifecycle event and call the skipDefaultBehavior
util. As a result, the default event won’t run, but we would have to provide our logic in the after
lifecycle event: