ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
SubjectConfirmationMethod.php
Go to the documentation of this file.
1<?php
2
4
9
12{
13 public function validate(
14 SubjectConfirmation $subjectConfirmation,
16 ) {
17 if ($subjectConfirmation->Method !== Constants::CM_BEARER) {
18 $result->addError(sprintf(
19 'Invalid Method on SubjectConfirmation, current;y only Bearer (%s) is supported',
21 ));
22 }
23 }
24}
sprintf('%.4f', $callTime)
$result
An exception for terminatinating execution or to throw for unit testing.
validate(SubjectConfirmation $subjectConfirmation, Result $result)
Simple Result object.
Definition: Result.php:11
const CM_BEARER
Bearer subject confirmation method.
Definition: Constants.php:55