Files
wp-strava/lib/WPStrava/AuthForever.php
T
Justin Foell 3ce9d26e88 Auth WIP
2019-04-01 14:50:36 -05:00

26 lines
525 B
PHP

<?php
/**
* This functionality is deprecated and will be shut down on October 15, 2019
*
* @see https://developers.strava.com/docs/oauth-updates/#migration-instructions
*/
/**
* AuthForever Class
*
* @since 2.0.0
*/
class WPStrava_AuthForever extends WPStrava_Auth {
protected function get_authorize_url( $client_id ) {
return add_query_arg(
array(
'client_id' => $client_id,
'redirect_uri' => $this->get_redirect_param(),
'approval_prompt' => 'force',
),
$this->auth_url
);
}
}