PublicKeyToken

class OC\Authentication\Token\PublicKeyToken
Source:lib/private/Authentication/Token/PublicKeyToken.php#50
Parent:OCP\AppFramework\Db\Entity
Implements:OC\Authentication\Token\INamedToken OC\Authentication\Token\IWipeableToken

Properties

protected static property OC\Authentication\Token\PublicKeyToken::$uid
Source:lib/private/Authentication/Token/PublicKeyToken.php#54
Type:string user UID
protected static property OC\Authentication\Token\PublicKeyToken::$loginName
Source:lib/private/Authentication/Token/PublicKeyToken.php#57
Type:string login name used for generating the token
protected static property OC\Authentication\Token\PublicKeyToken::$password
Source:lib/private/Authentication/Token/PublicKeyToken.php#60
Type:string encrypted user password
protected static property OC\Authentication\Token\PublicKeyToken::$name
Source:lib/private/Authentication/Token/PublicKeyToken.php#63
Type:string token name (e.g. browser/OS)
protected static property OC\Authentication\Token\PublicKeyToken::$token
Source:lib/private/Authentication/Token/PublicKeyToken.php#66
Type:string
protected static property OC\Authentication\Token\PublicKeyToken::$type
Source:lib/private/Authentication/Token/PublicKeyToken.php#69
Type:int
protected static property OC\Authentication\Token\PublicKeyToken::$remember
Source:lib/private/Authentication/Token/PublicKeyToken.php#72
Type:int
protected static property OC\Authentication\Token\PublicKeyToken::$lastActivity
Source:lib/private/Authentication/Token/PublicKeyToken.php#75
Type:int
protected static property OC\Authentication\Token\PublicKeyToken::$lastCheck
Source:lib/private/Authentication/Token/PublicKeyToken.php#78
Type:int
protected static property OC\Authentication\Token\PublicKeyToken::$scope
Source:lib/private/Authentication/Token/PublicKeyToken.php#81
Type:string
protected static property OC\Authentication\Token\PublicKeyToken::$expires
Source:lib/private/Authentication/Token/PublicKeyToken.php#84
Type:int
protected static property OC\Authentication\Token\PublicKeyToken::$privateKey
Source:lib/private/Authentication/Token/PublicKeyToken.php#87
Type:string
protected static property OC\Authentication\Token\PublicKeyToken::$publicKey
Source:lib/private/Authentication/Token/PublicKeyToken.php#90
Type:string
protected static property OC\Authentication\Token\PublicKeyToken::$version
Source:lib/private/Authentication/Token/PublicKeyToken.php#93
Type:int
protected static property OC\Authentication\Token\PublicKeyToken::$passwordInvalid
Source:lib/private/Authentication/Token/PublicKeyToken.php#96
Type:bool

Methods

public OC\Authentication\Token\PublicKeyToken::__construct()
Source:lib/private/Authentication/Token/PublicKeyToken.php#98
public OC\Authentication\Token\PublicKeyToken::getId()
Source:lib/private/Authentication/Token/PublicKeyToken.php#116
public OC\Authentication\Token\PublicKeyToken::getUID()
Source:lib/private/Authentication/Token/PublicKeyToken.php#120
public OC\Authentication\Token\PublicKeyToken::getLoginName()
Get the login name used when generating the token
Source:lib/private/Authentication/Token/PublicKeyToken.php#129
Returns:string
public OC\Authentication\Token\PublicKeyToken::getPassword()
Get the (encrypted) login password
Source:lib/private/Authentication/Token/PublicKeyToken.php#138
Returns:string | null
public OC\Authentication\Token\PublicKeyToken::jsonSerialize()
Source:lib/private/Authentication/Token/PublicKeyToken.php#142
public OC\Authentication\Token\PublicKeyToken::getLastCheck()
Get the timestamp of the last password check
Source:lib/private/Authentication/Token/PublicKeyToken.php#157
Returns:int
public OC\Authentication\Token\PublicKeyToken::setLastCheck($time)
Get the timestamp of the last password check
Source:

lib/private/Authentication/Token/PublicKeyToken.php#166

Parameters:
  • $time (int)
public OC\Authentication\Token\PublicKeyToken::getScope()
Source:lib/private/Authentication/Token/PublicKeyToken.php#170
public OC\Authentication\Token\PublicKeyToken::getScopeAsArray()
Source:lib/private/Authentication/Token/PublicKeyToken.php#179
public OC\Authentication\Token\PublicKeyToken::setScope($scope)
Source:lib/private/Authentication/Token/PublicKeyToken.php#189
public OC\Authentication\Token\PublicKeyToken::getName()
Source:lib/private/Authentication/Token/PublicKeyToken.php#197
public OC\Authentication\Token\PublicKeyToken::setName($name)
Source:lib/private/Authentication/Token/PublicKeyToken.php#201
public OC\Authentication\Token\PublicKeyToken::getRemember()
Source:lib/private/Authentication/Token/PublicKeyToken.php#205
public OC\Authentication\Token\PublicKeyToken::setToken($token)
Source:lib/private/Authentication/Token/PublicKeyToken.php#209
public OC\Authentication\Token\PublicKeyToken::setPassword($password=null)
Source:lib/private/Authentication/Token/PublicKeyToken.php#213
public OC\Authentication\Token\PublicKeyToken::setExpires($expires)
Source:lib/private/Authentication/Token/PublicKeyToken.php#217
public OC\Authentication\Token\PublicKeyToken::getExpires()
Source:lib/private/Authentication/Token/PublicKeyToken.php#224
Returns:int | null
public OC\Authentication\Token\PublicKeyToken::setPasswordInvalid($invalid)
Source:lib/private/Authentication/Token/PublicKeyToken.php#228
public OC\Authentication\Token\PublicKeyToken::wipe()
Source:lib/private/Authentication/Token/PublicKeyToken.php#232