source/Auth/TokenManager.php
public function fetchToken(Request $request)
    {
        foreach ($this->config->getOperators() as $name) {
            $operator = $this->getOperator($name);

            if ($operator->hasToken($request)) {
                return $operator->fetchToken($request);
            }
        }

        return null;
    }
public function fetchToken(Request $request)
    {
        foreach ($this->config->getOperators() as $name) {
            $operator = $this->getOperator($name);

            if ($operator->hasToken($request)) {
                return $operator->fetchToken($request);
            }
        }

        return null;
    }
public function fetchToken ( Request $ request ) { foreach ( $ this -> config -> getOperators ( ) as $ name ) { $ operator = $ this -> getOperator ( $ name ) ; if ( $ operator -> hasToken ( $ request ) ) { return $ operator -> fetchToken ( $ request ) ; } } return null ; }
Fetch authorization token from request if any.

@param Request $request

@return TokenInterface|null
Fetch authorization token from request if any .