IToken
Tags
Table of Contents
- extend() : void
- Extend the token validity time
- getEditor() : string
- getFile() : File
- Get the file that is related to the token
- getUser() : string
- hasBeenAccessed() : bool
- Check if the token has already been used
- invalidate() : void
- Invalidate the token
- useTokenScope() : void
- Change to the user scope of the token
Methods
extend()
Extend the token validity time
public
extend() : void
Tags
getEditor()
public
getEditor() : string
Tags
Return values
string —getFile()
Get the file that is related to the token
public
getFile() : File
Tags
Return values
File —getUser()
public
getUser() : string
Tags
Return values
string —hasBeenAccessed()
Check if the token has already been used
public
hasBeenAccessed() : bool
Tags
Return values
bool —invalidate()
Invalidate the token
public
invalidate() : void
Tags
useTokenScope()
Change to the user scope of the token
public
useTokenScope() : void