Sha256: a888f1c5f883167e793e6ae702dbfa59366285ff247dd2f361dccf95d679a73d
Contents?: true
Size: 542 Bytes
Versions: 2
Compression:
Stored size: 542 Bytes
Contents
class InitializerGenerator < Rails::Generators::Base def create_initializer_file create_file "config/initializers/keycloak.rb" do proxy = "" generate_request_exception = true "# Set proxy to connect in keycloak server Keycloak.proxy = #{proxy} # If true, then all request exception will explode in application (this is the default value) Keycloak.generate_request_exception = #{generate_request_exception} # controller that manage the user session Keycloak.keycloak_controller = 'session'" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
keycloak-2.1.0 | lib/generators/initializer_generator.rb |
keycloak-2.0.0 | lib/generators/initializer_generator.rb |