PublicKeyTokenProvider

class OC\Authentication\Token\PublicKeyTokenProvider
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#45
Implements:OC\Authentication\Token\IProvider

Properties

Methods

public OC\Authentication\Token\PublicKeyTokenProvider::__construct($mapper, $crypto, $config, $logger, $time)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#64
public OC\Authentication\Token\PublicKeyTokenProvider::generateToken($token, $uid, $loginName, $password, $name, $type=\OC\Authentication\Token\IToken::TEMPORARY_TOKEN, $remember=\OC\Authentication\Token\IToken::DO_NOT_REMEMBER)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#81
public OC\Authentication\Token\PublicKeyTokenProvider::getToken($tokenId)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#97
public OC\Authentication\Token\PublicKeyTokenProvider::getTokenById($tokenId)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#127
public OC\Authentication\Token\PublicKeyTokenProvider::renewSessionToken($oldSessionId, $sessionId)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#150
public OC\Authentication\Token\PublicKeyTokenProvider::invalidateToken($token)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#180
public OC\Authentication\Token\PublicKeyTokenProvider::invalidateTokenById($uid, $id)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#186
public OC\Authentication\Token\PublicKeyTokenProvider::invalidateOldTokens()
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#192
public OC\Authentication\Token\PublicKeyTokenProvider::updateToken($token)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#203
public OC\Authentication\Token\PublicKeyTokenProvider::updateTokenActivity($token)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#212
public OC\Authentication\Token\PublicKeyTokenProvider::getTokenByUser($uid)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#231
public OC\Authentication\Token\PublicKeyTokenProvider::getPassword($savedToken, $tokenId)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#235
public OC\Authentication\Token\PublicKeyTokenProvider::setPassword($token, $tokenId, $password)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#251
public OC\Authentication\Token\PublicKeyTokenProvider::rotate($token, $oldTokenId, $newTokenId)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#270
public OC\Authentication\Token\PublicKeyTokenProvider::convertToken($defaultToken, $token, $password)
Convert a DefaultToken to a publicKeyToken
This will also be updated directly in the Database
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#331
Throws:\RuntimeException when OpenSSL reports a problem
public OC\Authentication\Token\PublicKeyTokenProvider::markPasswordInvalid($token, $tokenId)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#403
public OC\Authentication\Token\PublicKeyTokenProvider::updatePasswords($uid, $password)
Source:lib/private/Authentication/Token/PublicKeyTokenProvider.php#414