class
AzuCLI::Generate::Auth
- AzuCLI::Generate::Auth
- Teeplate::FileTree
- Reference
- Object
Overview
Authentication setup generator with Authly integration
Defined in:
azu_cli/generators/auth.crConstant Summary
-
OUTPUT_DIR =
"."
Constructors
Instance Method Summary
-
#____collect_files(____files)
:nodoc:
- #__ecr1(____io)
- #__ecr10(____io)
- #__ecr12(____io)
- #__ecr14(____io)
- #__ecr16(____io)
- #__ecr18(____io)
- #__ecr20(____io)
- #__ecr22(____io)
- #__ecr24(____io)
- #__ecr26(____io)
- #__ecr28(____io)
- #__ecr30(____io)
- #__ecr32(____io)
- #__ecr34(____io)
- #__ecr36(____io)
- #__ecr38(____io)
- #__ecr4(____io)
- #__ecr40(____io)
- #__ecr42(____io)
- #__ecr44(____io)
- #__ecr46(____io)
- #__ecr48(____io)
- #__ecr50(____io)
- #__ecr52(____io)
- #__ecr54(____io)
- #__ecr56(____io)
- #__ecr58(____io)
- #__ecr6(____io)
- #__ecr60(____io)
- #__ecr62(____io)
- #__ecr64(____io)
- #__ecr66(____io)
- #__ecr68(____io)
- #__ecr70(____io)
- #__ecr72(____io)
- #__ecr74(____io)
- #__ecr76(____io)
- #__ecr78(____io)
- #__ecr8(____io)
- #__ecr80(____io)
-
#api_mode? : Bool
Infer project mode based on presence of pages directory
-
#csrf_enabled? : Bool
Check if CSRF protection is enabled
-
#dependencies : Array(String)
Get required dependencies
- #enable_csrf : Bool
- #enable_csrf=(enable_csrf : Bool)
- #enable_oauth_providers : Array(String)
- #enable_oauth_providers=(enable_oauth_providers : Array(String))
- #enable_rbac : Bool
- #enable_rbac=(enable_rbac : Bool)
-
#github_oauth_enabled? : Bool
Check if GitHub OAuth is enabled
-
#google_oauth_enabled? : Bool
Check if Google OAuth is enabled
-
#jwt_methods : String
Generate enhanced JWT methods with security improvements
-
#oauth_providers : Array(String)
Get enabled OAuth providers
-
#password_hash_method : String
Generate password hashing method with enhanced security
- #project : String
- #project=(project : String)
-
#rbac_enabled? : Bool
Check if RBAC is enabled
-
#render(out_dir : String)
Override render to handle file renaming after generation
-
#rendered_file_entries
Override rendered_file_entries to filter files based on strategy and configuration Returns only the entries that should be included
- #strategy : String
- #strategy=(strategy : String)
-
#timestamp : Int64
Returns the base timestamp (used in template evaluation)
-
#user_migration : String
Get migration content with enhanced security and RBAC
- #user_model : String
- #user_model=(user_model : String)
-
#user_model_class : String
User model helper methods
- #user_model_plural : String
- #user_model_singular : String
- #user_model_table : String
-
#using_authly? : Bool
Check if using Authly
-
#using_jwt? : Bool
Check if using JWT
-
#using_oauth? : Bool
Check if using OAuth
-
#using_session? : Bool
Check if using session
- #web_mode? : Bool
Constructor Detail
Instance Method Detail
Override rendered_file_entries to filter files based on strategy and configuration Returns only the entries that should be included