OAuth::Lite2::Server::GrantHandlers - store of handlers for each grant_type.
Contents
Copyright And License
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.
perl v5.36.0 2023-07-01 OAuth::Lite2::...::GrantHandlers(3pm)
Description
store of handlers for each grant_type.
Methods
add_handler($grant_type,$handler)
add GrantHandler instance
get_handler($grant_type)
get GrantHandler instance
Name
OAuth::Lite2::Server::GrantHandlers - store of handlers for each grant_type.
See Also
OAuth::Lite2::Server::GrantHandler OAuth::Lite2::Server::GrantHandler::AuthorizationCode
OAuth::Lite2::Server::GrantHandler::ClientCredentials OAuth::Lite2::Server::GrantHandler::Password
OAuth::Lite2::Server::GrantHandler::RefreshToken OAuth::Lite2::Server::GrantHandler::GroupingRefreshToken
OAuth::Lite2::Server::GrantHandler::ServerState OAuth::Lite2::Server::GrantHandler::ExternalService
Synopsis
my $handler = OAuth::Lite2::Server::GrantHandlers->get_handler( $grant_type );
$handler->handle_request( $ctx );
