ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
interface.ilPasswordEncoder.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
3
10{
17 public function encodePassword($raw, $salt);
18
26 public function isPasswordValid($encoded, $raw, $salt);
27
32 public function getName();
33
38 public function requiresSalt();
39}
encodePassword($raw, $salt)
Encodes the raw password.
isPasswordValid($encoded, $raw, $salt)
Checks a raw password against an encoded password.
getName()
Returns a unique name/id of the concrete password encoder.
requiresSalt()
Returns whether or not the encoder requires a salt.