Nextcloud PHP API (stable19)

IToken

Tags
since
18.0.0

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
since
18.0.0

getEditor()

public getEditor() : string
Tags
since
18.0.0
Return values
string

getUser()

public getUser() : string
Tags
since
18.0.0
Return values
string

hasBeenAccessed()

Check if the token has already been used

public hasBeenAccessed() : bool
Tags
since
18.0.0
Return values
bool

invalidate()

Invalidate the token

public invalidate() : void
Tags
since
18.0.0

useTokenScope()

Change to the user scope of the token

public useTokenScope() : void
Tags
since
18.0.0

Search results