finish(consumer, session, req)public
This is the final portion of authentication. If successful, a redirect to the realm is be returned. Data gathered from extensions are stored in session[:openid] with the extension’s namespace uri as the key.
Any messages from OpenID’s response are logged to env
env will contain the openid response.
# File actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/openid.rb, line 287 def finish(consumer, session, req) oid = consumer.complete(req.GET, req.url) req.env['rack.auth.openid.response'] = oid req.env['rack.errors'].puts(oid.message) p oid if $DEBUG raise unless ValidStatus.include?(oid.status) __send__(oid.status, oid, req, session) end