public static function getAuthSubTokenUri($next, $scope, $secure=0, $session=0,
                                               $request_uri = self::AUTHSUB_REQUEST_URI)
     {
         $querystring = '?next=' . urlencode($next)
             . '&scope=' . urldecode($scope)
             . '&secure=' . urlencode($secure)
             . '&session=' . urlencode($session);
         return $request_uri . $querystring;
     }
public static function getAuthSubTokenUri($next, $scope, $secure=0, $session=0,
                                               $request_uri = self::AUTHSUB_REQUEST_URI)
     {
         $querystring = '?next=' . urlencode($next)
             . '&scope=' . urldecode($scope)
             . '&secure=' . urlencode($secure)
             . '&session=' . urlencode($session);
         return $request_uri . $querystring;
     }
public static function getAuthSubTokenUri ( $ next , $ scope , $ secure = 0 , $ session = 0 , $ request_uri = self :: AUTHSUB_REQUEST_URI ) { $ querystring = '?next=' . urlencode ( $ next ) . '&scope=' . urldecode ( $ scope ) . '&secure=' . urlencode ( $ secure ) . '&session=' . urlencode ( $ session ) ; return $ request_uri . $ querystring ; }
Creates a URI to request a single-use AuthSub token.

@param string $next (required) URL identifying the service to be
accessed.
The resulting token will enable access to the specified service only.
Some services may limit scope further, such as read-only access.
@param string $scope (required) URL identifying the service to be
accessed.  The resulting token will enable
access to the specified service only.
Some services may limit scope further, such
as read-only access.
@param int $secure (optional) Boolean flag indicating whether the
authentication transaction should issue a secure
token (1) or a non-secure token (0). Secure tokens
are available to registered applications only.
@param int $session (optional) Boolean flag indicating whether
the one-time-use  token may be exchanged for
a session token (1) or not (0).
@param string $request_uri (optional) URI to which to direct the
authentication request.
Creates a URI to request a single - use AuthSub token .