MangoPay/Libraries/AuthenticationHelper.php
private function GetHttpHeaderStrong()
    {
        $token = $this->_root->OAuthTokenManager->GetToken($this->GetAutenticationKey());

        if (is_null($token) || !isset($token->access_token) || !isset($token->token_type)) {
            throw new Exception('OAuth token is not created (or is invalid) for strong authentication');
        }

        return 'Authorization: ' . $token->token_type . ' ' . $token->access_token;
    }
private function GetHttpHeaderStrong()
    {
        $token = $this->_root->OAuthTokenManager->GetToken($this->GetAutenticationKey());

        if (is_null($token) || !isset($token->access_token) || !isset($token->token_type)) {
            throw new Exception('OAuth token is not created (or is invalid) for strong authentication');
        }

        return 'Authorization: ' . $token->token_type . ' ' . $token->access_token;
    }
private function GetHttpHeaderStrong ( ) { $ token = $ this -> _root -> OAuthTokenManager -> GetToken ( $ this -> GetAutenticationKey ( ) ) ; if ( is_null ( $ token ) || ! isset ( $ token -> access_token ) || ! isset ( $ token -> token_type ) ) { throw new Exception ( 'OAuth token is not created (or is invalid) for strong authentication' ) ; } return 'Authorization: ' . $ token -> token_type . ' ' . $ token -> access_token ; }
Get HTTP header value with authorization string for strong authentication

@return string Value for HTTP header with authentication string
@throws \MangoPay\Libraries\Exception If OAuth token is not created (or is invalid) for strong authentication.
Get HTTP header value with authorization string for strong authentication