HOME


Mini Shell 1.0
DIR:/usr/local/cwpsrv/var/services/oauth/v2/server/OAuth2/TokenType/
Upload File :
Current File : //usr/local/cwpsrv/var/services/oauth/v2/server/OAuth2/TokenType/TokenTypeInterface.php
<?php

namespace OAuth2\TokenType;

use OAuth2\RequestInterface;
use OAuth2\ResponseInterface;

interface TokenTypeInterface
{
    /**
     * Token type identification string
     *
     * ex: "bearer" or "mac"
     */
    public function getTokenType();

    /**
     * Retrieves the token string from the request object
     */
    public function getAccessTokenParameter(RequestInterface $request, ResponseInterface $response);
}