NAME

OIDC::Lite::Server::AuthorizationHandler - handler for OpenID Connect Authorization request

SYNOPSIS

# At Authorization Endpoint
my $handler = OIDC::Lite::Server::AuthorizationHandler->new;
$handler->handle_request();

# after user agreement
my $res;
if($allowed){
    $res = $handler->allow();        
}else{
    $res = $handler->deny();
}
...

DESCRIPTION

handler for OpenID Connect authorization request.

METHODS

handle_request( $req )

Processes authorization request. If there is error, OAuth::Lite2::Server::Error object is thrown.

allow( $req )

Returns authorization response params.

deny( $req )

Returns authorization error response params.

AUTHOR

Ryo Ito, <ritou.06@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2012 by Ryo Ito

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.