Mojolicious::Plugin::Ident::Response - Ident response object
version 0.31
This class represents the responses as they come back from the remote ident server.
Mojolicious::Plugin::Ident::Response is a AnyEvent::Ident::Response. The base class is subject to change in a future version, although it this class will always provide the interface documented here.
The username of the remote connection as provided by the remote ident server.
The operating system of the remote connection as provided by the remote ident server.
True if the ident response was not an error. Only useful in non-blocking mode, as in blocking mode an exception will be thrown in the case of error.
The error type returned by the ident server, if an error happened. Only useful in non-blocking mode, as in blocking mode an exception will be thrown in the case of error.
Returns true if the remote user is the same as the one which started the Mojolicious application. The user is considered the same if the remote connection came over the loopback address (127.0.0.1) and the username matches either the server's username or real uid.
Mojolicious::Plugin::Ident, AnyEvent::Ident::Response
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2012 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.