RemoteWipe

class OC\Authentication\Token\RemoteWipe
Source:lib/private/Authentication/Token/RemoteWipe.php#40

Properties

Methods

public OC\Authentication\Token\RemoteWipe::__construct($tokenProvider, $eventDispatcher, $logger)
Source:lib/private/Authentication/Token/RemoteWipe.php#51
public OC\Authentication\Token\RemoteWipe::markTokenForWipe($token)
Source:

lib/private/Authentication/Token/RemoteWipe.php#66

Parameters:
Returns:

bool

Throws:

\OC\Authentication\Exceptions\InvalidTokenException

Throws:

\OC\Authentication\Exceptions\WipeTokenException

Throws:

\OC\Authentication\Exceptions\InvalidTokenException

Throws:

\OC\Authentication\Exceptions\WipeTokenException

public OC\Authentication\Token\RemoteWipe::markAllTokensForWipe($user)
Source:

lib/private/Authentication/Token/RemoteWipe.php#82

Parameters:
Returns:

bool true if any tokens have been marked for remote wipe

public OC\Authentication\Token\RemoteWipe::start($token)
Source:

lib/private/Authentication/Token/RemoteWipe.php#109

Parameters:
  • $token (string)
Returns:

bool whether wiping was started

Throws:

\OC\Authentication\Exceptions\InvalidTokenException

public OC\Authentication\Token\RemoteWipe::finish($token)
Source:

lib/private/Authentication/Token/RemoteWipe.php#135

Parameters:
  • $token (string)
Returns:

bool whether wiping could be finished

Throws:

\OC\Authentication\Exceptions\InvalidTokenException