OAuth::Lite2::Server::GrantHandler(3pm)

OAuth::Lite2::Server::GrantHandler3pm

Base class of each grant_type handler

Usage

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

Methods

new

Constructor

is_required_client_authentication

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.

handle_request( $data_handler )

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

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

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13