Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php final class PhabricatorAuthPasswordResetTemporaryTokenType extends PhabricatorAut..

Decoded Output download

<?php

final class PhabricatorAuthPasswordResetTemporaryTokenType
  extends PhabricatorAuthTemporaryTokenType {

  const TOKENTYPE = 'login:password';

  public function getTokenTypeDisplayName() {
    return pht('Password Reset');
  }

  public function getTokenReadableTypeName(
    PhabricatorAuthTemporaryToken $token) {
    return pht('Password Reset Token');
  }

  public function isTokenRevocable(PhabricatorAuthTemporaryToken $token) {
    return true;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorAuthPasswordResetTemporaryTokenType
  extends PhabricatorAuthTemporaryTokenType {

  const TOKENTYPE = 'login:password';

  public function getTokenTypeDisplayName() {
    return pht('Password Reset');
  }

  public function getTokenReadableTypeName(
    PhabricatorAuthTemporaryToken $token) {
    return pht('Password Reset Token');
  }

  public function isTokenRevocable(PhabricatorAuthTemporaryToken $token) {
    return true;
  }

}

Function Calls

None

Variables

None

Stats

MD5 4da1885f57ac47261f9326c519276b01
Eval Count 0
Decode Time 104 ms