class CrystalAuthTagger
- CrystalAuthTagger
- FrameworkTagger
- Tagger
- Reference
- Object
Defined in:
tagger/framework_taggers/crystal/crystal_auth.crConstant Summary
-
AMBER_AUTH_PATTERNS =
[{/pipeline\s+:auth/, "Amber :auth pipeline"}, {/plug\s+Authenticate/, "Amber Authenticate plug"}, {/plug\s+\w*[Aa]uth\w*/, "Amber auth plug"}] -
Amber auth pipe patterns
-
GENERIC_CRYSTAL_AUTH =
[{/before_action.*auth/i, "Crystal before_action auth"}, {/context\.session/, "Crystal session check"}] -
Grip/Marten auth patterns
-
KEMAL_AUTH_PATTERNS =
[{/before_all.*do.*auth/i, "Kemal before_all auth filter"}, {/env\.session\.string\s*\(\s*"user/, "Kemal session user check"}, {/env\.get\s*\(\s*"auth/, "Kemal auth context"}, {/basic_auth/, "Kemal basic_auth"}] -
Kemal auth patterns
-
LUCKY_AUTH_PATTERNS =
[{/include Auth::RequireSignIn/, "Lucky Auth::RequireSignIn"}, {/include Auth::AllowGuests/, "Lucky Auth::AllowGuests"}, {/before require_sign_in/, "Lucky require_sign_in before action"}] -
Lucky auth patterns