Module: Shakha

Defined in:
lib/shakha.rb,
lib/shakha/pkce.rb,
lib/shakha/config.rb,
lib/shakha/engine.rb,
lib/shakha/version.rb,
lib/shakha/providers.rb,
app/models/shakha/user.rb,
lib/shakha/rate_limiter.rb,
app/models/shakha/client.rb,
lib/shakha/error_handler.rb,
app/models/shakha/session.rb,
lib/shakha/providers/base.rb,
lib/shakha/config_validator.rb,
lib/shakha/providers/github.rb,
lib/shakha/providers/google.rb,
lib/shakha/controller_helpers.rb,
app/controllers/shakha/auth_controller.rb,
lib/generators/shakha/install_generator.rb,
app/controllers/shakha/session_controller.rb,
app/controllers/shakha/application_controller.rb

Defined Under Namespace

Modules: ConfigValidator, ControllerHelpers, ErrorHandler, PKCEMixin, Providers, RateLimiter Classes: ApplicationController, AuthController, Client, Config, ConfigurationError, Engine, GoogleOAuthError, InstallGenerator, OAuthError, PKCEError, Session, SessionController, User

Constant Summary collapse

VERSION =
"0.3.0"

Class Method Summary collapse

Class Method Details

.configObject



19
20
21
# File 'lib/shakha.rb', line 19

def config
  @config ||= Config.new
end

.setup {|config| ... } ⇒ Object

Yields:



15
16
17
# File 'lib/shakha.rb', line 15

def setup
  yield(config)
end