Class: Merb::Authentication::Strategies::Basic::OpenID

Class | Merb::Authentication::Strategies::Basic::OpenID
In: | lib/merb-auth-more/strategies/basic/openid.rb
Parent: | Merb::Authentication::Strategy

### Methods

customize_openid_request! find_user_by_identity_url on_cancel! on_failure! on_setup_needed! on_success! openid_callback_url openid_store optional_reg_fields required_reg_fields run!

### Public Instance methods

customize_openid_request!(openid_request)

Overwrite this to add extra options to the OpenID request before it is made.

@example request.return_to_args["remember_me"] = 1 # remember_me=1 is added when returning from the OpenID provider.

@api overwritable

find_user_by_identity_url(url)

Overwrite this to support an ORM other than DataMapper

@api overwritable

on_cancel!(response)

@api overwritable

on_failure!(response)

Overwrite the on_failure! method with the required behavior for failed logins

@api overwritable

on_setup_needed!(response)

@api overwritable

on_success!(response, sreg_response)

Overwrite the on_success! method with the required behavior for successful logins

@api overwritable

openid_callback_url()

Used to define the callback url for the openid provider. By default it is set to the named :openid route.

@api overwritable

openid_store()

Overwrite this method to set your store

@api overwritable

optional_reg_fields()

@api overwritable

required_reg_fields()

@api overwritable

run!()

[Validate]