---
name: "OAuth::Lite2::Server::GrantHandlers"
section: "3pm"
platform: "linux"
package: "liboauth-lite2-perl"
version: "0.11-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/OAuth::Lite2::Server::GrantHandlers"
---

# OAuth::Lite2::Server::GrantHandlers(3pm)

store of handlers for each grant\_type.

## NAME

OAuth::Lite2::Server::GrantHandlers - store of handlers for each grant\_type.

## SYNOPSIS

```
    my $handler = OAuth::Lite2::Server::GrantHandlers->get_handler( $grant_type );
    $handler->handle_request( $ctx );
```

## DESCRIPTION

store of handlers for each grant\_type.

## METHODS

### add\_handler( $grant\_type, $handler )

add GrantHandler instance

### get\_handler( $grant\_type )

get GrantHandler instance

## 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

## AUTHOR

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

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

## 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.
