2011-02-27 19:47:22 -08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
abstract class PhabricatorOAuthRegistrationController
|
|
|
|
extends PhabricatorAuthController {
|
|
|
|
|
|
|
|
private $oauthProvider;
|
|
|
|
private $oauthInfo;
|
2011-03-07 19:29:51 -08:00
|
|
|
private $oauthState;
|
2011-02-27 19:47:22 -08:00
|
|
|
|
|
|
|
final public function setOAuthInfo($info) {
|
|
|
|
$this->oauthInfo = $info;
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
|
|
|
final public function getOAuthInfo() {
|
|
|
|
return $this->oauthInfo;
|
|
|
|
}
|
|
|
|
|
|
|
|
final public function setOAuthProvider($provider) {
|
|
|
|
$this->oauthProvider = $provider;
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
|
|
|
final public function getOAuthProvider() {
|
|
|
|
return $this->oauthProvider;
|
|
|
|
}
|
|
|
|
|
2011-03-07 19:29:51 -08:00
|
|
|
final public function setOAuthState($state) {
|
|
|
|
$this->oauthState = $state;
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
|
|
|
final public function getOAuthState() {
|
|
|
|
return $this->oauthState;
|
|
|
|
}
|
|
|
|
|
2011-02-27 19:47:22 -08:00
|
|
|
}
|