Class: AuthenticationsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- AuthenticationsController
show all
- Includes:
- GDS::SSO::ControllerMethods
- Defined in:
- app/controllers/authentications_controller.rb
Instance Method Summary
collapse
#authenticate_user!, #authorise_user!, #current_user, included, #logout, #require_signin_permission!, #user_remotely_signed_out?, #user_signed_in?, #warden
Instance Method Details
#callback ⇒ Object
8
9
10
|
# File 'app/controllers/authentications_controller.rb', line 8
def callback
redirect_to session["return_to"] || '/'
end
|
#failure ⇒ Object
12
13
14
|
# File 'app/controllers/authentications_controller.rb', line 12
def failure
end
|
#sign_out ⇒ Object
16
17
18
19
|
# File 'app/controllers/authentications_controller.rb', line 16
def sign_out
logout
redirect_to GDS::SSO::Config.oauth_root_url + "/users/sign_out"
end
|