OAuth::Lite2::Server::GrantHandler(3pm) User Contributed Perl Documentation OAuth::Lite2::Server::GrantHandler(3pm)

OAuth::Lite2::Server::GrantHandler - base class of each grant_type handler

    my $handler = OAuth::Lite2::Server::GrantHandler->new;
    my $res = $handler->handle_request( $ctx );

Constructor

Return whether each grant type requires the client authentication The grant type which are defined in spec require client authentication, but additional grant type may not.

processes passed OAuth::Lite2::Server::DataHandler, and return hash represents that includes response-parameters.

    my $res = $handler->handle_request( $data_handler );

OAuth::Lite2::Server::GrantHandlers OAuth::Lite2::Server::GrantHandler::AuthorizationCode OAuth::Lite2::Server::GrantHandler::Password OAuth::Lite2::Server::GrantHandler::RefreshToken OAuth::Lite2::Server::GrantHandler::GroupingRefreshToken OAuth::Lite2::Server::GrantHandler::ServerState

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

Lyo Kato, <lyo.kato@gmail.com>

Copyright (C) 2010 by Lyo Kato

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.

2023-07-01 perl v5.36.0