parseStateID() public static method

Get the ID and (optionally) a URL embedded in a StateID, in the form 'id:url'.
Author: Andreas Solberg, UNINETT AS (andreas.solberg@uninett.no)
Author: Jaime Perez, UNINETT AS (jaime.perez@uninett.no)
public static parseStateID ( string $stateId ) : array
$stateId string The state ID to use.
return array A hashed array with the ID and the URL (if any), in the 'id' and 'url' keys, respectively. If there's no URL in the input parameter, NULL will be returned as the value for the 'url' key.
示例#1
0
 /**
  * @deprecated This method will be removed in SSP 2.0. Please use SimpleSAML_Auth_State::parseStateID() instead.
  */
 public static function parseStateID($stateId)
 {
     return SimpleSAML_Auth_State::parseStateID($stateId);
 }