Everything in this library exists within the OpenID Module. Users of the library should look at OpenID::OpenIDConsumer and/or OpenID::OpenIDServer
| SUCCESS | = | 'success' | Code returned when either the of the OpenID::OpenIDConsumer.begin_auth or OpenID::OpenIDConsumer.complete_auth methods return successfully. | |
| FAILURE | = | 'failure' | Code OpenID::OpenIDConsumer.complete_auth returns when the value it received indicated an invalid login. | |
| SETUP_NEEDED | = | 'setup needed' | Code returned by OpenID::OpenIDConsumer.complete_auth when the OpenIDConsumer instance is in immediate mode and ther server sends back a URL for the user to login with. | |
| HTTP_FAILURE | = | 'http failure' | Code returned by OpenID::OpenIDConsumer.begin_auth when it is unable to fetch the URL given by the user. | |
| PARSE_ERROR | = | 'parse error' | Code returned by OpenID::OpenIDConsumer.begin_auth when the page fetched from the OpenID URL doesn‘t contain the necessary link tags to function as an identity page. | |
| REDIRECT | = | 'redirect' | Status code returned OpenIDServer.get_openid_response when the framework using the library should issue a redirect to the user‘s browser. | |
| DO_AUTH | = | 'do_auth' | Status code is returned by OpenIDServer.get_openid_response when the library has determined that it‘s up to the application and user to fix the reason the library isn‘t authorized to return a successful authentication response. | |
| DO_ABOUT | = | 'do_about' | Status code returned by OpenIDServer.get_openid_response when there are no openid arguments provided. Standard behavior is to render a page saying that this URL is an OpenID server. | |
| REMOTE_OK | = | 'exact_ok' | Status code is returned by OpenIDServer.get_openid_response when the server should send a 200 response code and an exact message body. This is for informing a remote site everything worked correctly. | |
| REMOTE_ERROR | = | 'exact_error' | Status code is returned by OpenIDServer.get_openid_response when the server should send a 400 response code and an exact message body. This is for informing a remote site that an error occured while processing the request. | |
| LOCAL_ERROR | = | 'local_error' | Status code is returned by OpenIDServer.get_openid_response when something went wrong, and the library isn‘t able to find an appropriate in-protocol response. When this happens, a short plaintext description of the error will be provided. The server will probably want to return some sort of error page here, but its contents are not strictly prescribed, like those of the OpenID::REMOTE_ERROR case. |