mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-12 03:06:34 +09:00
26 lines
525 B
PHP
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
|
|
);
|
|
}
|
|
}
|