getProfileUrl() public method

Returns the url to users profile on the OAuth2 server.
public getProfileUrl ( ) : string
return string
Esempio n. 1
0
 /**
  * @param OAuth2User $u
  *
  * @dataProvider dataProvider
  */
 public function testSetGetProfileUrl($u)
 {
     $url = 'http://www.webiny.com/profile/webiny';
     $u->setProfileUrl($url);
     $this->assertSame($url, $u->getProfileUrl());
     $this->assertSame($url, $u->profileUrl);
 }