Module: AuthlogicWind::Session::Config
- Defined in:
- lib/authlogic_wind/session.rb
Instance Method Summary collapse
-
#auto_register(value = nil) ⇒ Object
(also: #auto_register=)
Add this in your Session object to Auto Register a new user using openid via sreg.
- #find_by_wind_method(value = nil) ⇒ Object (also: #find_by_wind_method=)
-
#login_only_with_wind(value = nil) ⇒ Object
(also: #login_only_with_wind=)
Add this in your Session object to Auto Register a new user using openid via sreg.
-
#wind_host(value = nil) ⇒ Object
(also: #wind_host=)
The host of your WIND server.
-
#wind_service(value = nil) ⇒ Object
(also: #wind_service=)
The service name of your WIND server.
Instance Method Details
#auto_register(value = nil) ⇒ Object Also known as: auto_register=
Add this in your Session object to Auto Register a new user using openid via sreg
37 38 39 |
# File 'lib/authlogic_wind/session.rb', line 37 def auto_register(value=nil) rw_config(:auto_register,value,false) end |
#find_by_wind_method(value = nil) ⇒ Object Also known as: find_by_wind_method=
30 31 32 |
# File 'lib/authlogic_wind/session.rb', line 30 def find_by_wind_method(value = nil) rw_config(:find_by_wind_method, value, :find_by_wind_login) end |
#login_only_with_wind(value = nil) ⇒ Object Also known as: login_only_with_wind=
Add this in your Session object to Auto Register a new user using openid via sreg
44 45 46 |
# File 'lib/authlogic_wind/session.rb', line 44 def login_only_with_wind(value=nil) rw_config(:login_only_with_wind,value,false) end |
#wind_host(value = nil) ⇒ Object Also known as: wind_host=
The host of your WIND server.
-
Default:
nil -
Accepts:
String
15 16 17 |
# File 'lib/authlogic_wind/session.rb', line 15 def wind_host(value = nil) rw_config(:wind_host, value) end |
#wind_service(value = nil) ⇒ Object Also known as: wind_service=
The service name of your WIND server.
-
Default:
nil -
Accepts:
String
24 25 26 |
# File 'lib/authlogic_wind/session.rb', line 24 def wind_service(value = nil) rw_config(:wind_service, value) end |