ExceptionSerializer

class OC\Log\ExceptionSerializer
Source:lib/private/Log/ExceptionSerializer.php#38

Constants

methodsWithSensitiveParameters = [
// Session/User
completeLogin,
login,
checkPassword,
checkPasswordNoLogging,
loginWithPassword,
updatePrivateKeyPassword,
validateUserPass,
loginWithToken,
{closure},
createSessionToken,
// Provisioning
addUser,
// TokenProvider
getToken,
isTokenPassword,
getPassword,
decryptPassword,
logClientIn,
generateToken,
validateToken,
// TwoFactorAuth
solveChallenge,
verifyChallenge,
// ICrypto
calculateHMAC,
encrypt,
decrypt,
// LoginController
tryLogin,
confirmPassword,
// LDAP
bind,
areCredentialsValid,
invokeLDAPMethod,
// Encryption
storeKeyPair,
setupUser,
checkSignature,
// files_external: OCA\Files_External\MountConfig
getBackendStatus,
// files_external: UserStoragesController
update,
// Preview providers, don't log big data strings
imagecreatefromstring,

]

methodsWithSensitiveParametersByClass = [\OC\Core\Controller\SetupController::class => [run, display, loadAutoConfig], \OC\Setup::class => [install], \OC\Security\IdentityProof\Key::class => [__construct]]
Source:lib/private/Log/ExceptionSerializer.php#104

Properties

Methods

public OC\Log\ExceptionSerializer::__construct($systemConfig)
Source:lib/private/Log/ExceptionSerializer.php#100
public OC\Log\ExceptionSerializer::serializeException($exception)
Source:lib/private/Log/ExceptionSerializer.php#192