Ejemplo n.º 1
0
 /**
  * Authenticate with an OAuth2 code
  * 
  * @param string $code
  * 
  * @return FamilySearchClient
  */
 public function authenticateViaOAuth2AuthCode($code)
 {
     $this->requireClientIdAndRedirectURI();
     $this->treeState->authenticateViaOAuth2AuthCode($code, $this->redirectURI, $this->clientId);
     return $this;
 }