Skip to content

Commit

Permalink
Update stub for future release of krb5 extension
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen authored May 30, 2024
1 parent 3fbd973 commit 25117db
Showing 1 changed file with 85 additions and 1 deletion.
86 changes: 85 additions & 1 deletion stubs/krb5.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class KRB5NegotiateAuth
* @param string $keytab
* @param string $spn|null
*/
public function __construct($keytab, $spn = null)
public function __construct($keytab, $spn = null, GSSAPIChannelBinding $binding)
{
}

Expand Down Expand Up @@ -34,6 +34,90 @@ public function getAuthenticatedUser()
public function getDelegatedCredentials(KRB5CCache $ccache)
{
}

/**
* @return bool
*/
public function isChannelBound()
{
}
}


class GSSAPIChannelBinding
{
public function __construct()
{
}


/**
* @return string
*/
public function getInitiatorAddress()
{
}


/**
* @return string
*/
public function getInitiatorAddressType()
{
}


/**
* @return string
*/
public function getAcceptorAddress()
{
}


/**
* @return string
*/
public function getAcceptorAddressType()
{
}


/**
* @return string
*/
public function getApplicationData()
{
}


/**
* @param string $data
* @return void
*/
public function getApplicationData($data)
{
}


/**
* @param int $type
* @param string $data
* @return void
*/
public function setInitiatorAddress($type, $data)
{
}


/**
* @param int $type
* @param string $data
* @return void
*/
public function setAcceptorAddress($type, $data)
{
}
}


Expand Down

0 comments on commit 25117db

Please sign in to comment.