mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-18 06:03:49 +09:00
Auth WIP
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?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
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user