src/A1comms/GaeSupportLaravel/Auth/Token/Middleware/AuthTokenMiddleware.php
/**
     * Call dynamic handler to fetch the token.
     *
     * @return string
     */
Call dynamic handler to fetch the token.
@return string
Call dynamic handler to fetch the token . @return string
protected function fetchDynamicToken(UriInterface $request_uri)
    {
        $tokenType = call_user_func($this->tokenTypeSource, $request_uri);
        switch ($tokenType) {
            case "oidc":
                return $this->fetchOIDCToken($request_uri);
            case "oauth2":
                return $this->fetchOAuth2Token($request_uri);
            default:
                throw new Exception("Invalid Token Type from callback");
        }
    }
protected function fetchDynamicToken ( UriInterface $ request_uri ) { $ tokenType = call_user_func ( $ this -> tokenTypeSource , $ request_uri ) ; switch ( $ tokenType ) { case " oidc " : return $ this -> fetchOIDCToken ( $ request_uri ) ; case " oauth2 " : return $ this -> fetchOAuth2Token ( $ request_uri ) ; default : throw new Exception ( " Invalid Token Type from callback " ) ; } }
Call dynamic handler to fetch the token.
Call dynamic handler to fetch the token .