public function testTokenEndPointUrl()
 {
     $this->configuration->setTokenEndPointUrl('TestTokenEndPointUrlSetter');
     $this->assertEquals('TestTokenEndPointUrlSetter', $this->configuration->getTokenEndPointUrl());
 }
Exemple #2
0
 public function makeTokenRequest(TokenRequest $request)
 {
     $rawResponse = $this->sendRequest($request, $this->configuration->getTokenEndPointUrl());
     $parser = new ResponseParser(new TokenResponseParser(), $rawResponse);
     return $parser->parse();
 }