You are here

function cas_test_token_evaluate in CAS 7

Same name and namespace in other branches
  1. 6.3 tests/cas_test.module \cas_test_token_evaluate()

Evaluate the specified token.

1 string reference to 'cas_test_token_evaluate'
cas_test_menu in tests/cas_test.module
Implements hook_menu().

File

tests/cas_test.module, line 296
Dummy module implementing a CAS Server.

Code

function cas_test_token_evaluate() {
  print token_replace($_GET['token'], array(
    'cas' => $_GET['name'],
  ));
  exit(0);
}