IToken

interface OCP\DirectEditing\IToken
Implemented by:OC\DirectEditing\Token
Source:lib/public/DirectEditing/IToken.php#32

Methods

public OCP\DirectEditing\IToken::extend()
Extend the token validity time
Source:lib/public/DirectEditing/IToken.php#39
Since:18.0.0
public OCP\DirectEditing\IToken::invalidate()
Invalidate the token
Source:lib/public/DirectEditing/IToken.php#46
Since:18.0.0
public OCP\DirectEditing\IToken::hasBeenAccessed()
Check if the token has already been used
Source:lib/public/DirectEditing/IToken.php#54
Since:18.0.0
Returns:bool
public OCP\DirectEditing\IToken::useTokenScope()
Change to the user scope of the token
Source:lib/public/DirectEditing/IToken.php#61
Since:18.0.0
public OCP\DirectEditing\IToken::getFile()
Get the file that is related to the token
Source:lib/public/DirectEditing/IToken.php#70
Since:18.0.0
Returns:\OCP\Files\File
Throws:\OCP\Files\NotFoundException
public OCP\DirectEditing\IToken::getEditor()
Source:lib/public/DirectEditing/IToken.php#76
Since:18.0.0
Returns:string
public OCP\DirectEditing\IToken::getUser()
Source:lib/public/DirectEditing/IToken.php#82
Since:18.0.0
Returns:string