public function acquireTokenForUser($username, $password)
    {
        $this->provider = new SamlTokenProvider($this->authorityUrl);
        $parameters = array(
            'username' => $username,
            'password' => $password
        );
        $this->provider->acquireToken($parameters);
    }
public function acquireTokenForUser($username, $password)
    {
        $this->provider = new SamlTokenProvider($this->authorityUrl);
        $parameters = array(
            'username' => $username,
            'password' => $password
        );
        $this->provider->acquireToken($parameters);
    }
public function acquireTokenForUser ( $ username , $ password ) { $ this -> provider = new SamlTokenProvider ( $ this -> authorityUrl ) ; $ parameters = array ( 'username' => $ username , 'password' => $ password ) ; $ this -> provider -> acquireToken ( $ parameters ) ; }
Acquire security token from STS
@param string $username
@param string $password
@throws \Exception
Acquire security token from STS