Skip to content

Commit

Permalink
Expose registerProvider method through OAuthManager
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed May 19, 2015
1 parent 758d7e8 commit 39a1ff0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/OAuthManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ public function login($providerAlias, $callback = null)
$details = $this->socialnorm->getUser($providerAlias);
return $this->authenticator->login($providerAlias, $details, $callback);
}

public function registerProvider($alias, $provider)
{
$this->socialnorm->registerProvider($alias, $provider);
}
}

0 comments on commit 39a1ff0

Please sign in to comment.