Interface DigestCollectionInterface
Interface for a Digest Collection
Methods summary
public
Chippyash\Type\Number\IntType|BoolType=false
|
#
findByUid( Chippyash\Type\String\StringType $uid )
Return index into collection for a digest given its uid
Return index into collection for a digest given its uid
Parameters
Returns
Chippyash\Type\Number\IntType|BoolType=false IntType|BoolType=false
|
public
Chippyash\Type\BoolType
|
#
read( )
Read the digest into the collection from file
Read the digest into the collection from file
Returns
Chippyash\Type\BoolType true on success else false
|
public
Chippyash\Type\BoolType
|
#
write( )
Write the collection to file
Write the collection to file
Returns
Chippyash\Type\BoolType true on success else false
|
public
Chippyash\Type\BoolType
|
#
add( Chippyash\Type\String\StringType $uid, Chippyash\Type\String\StringType $pwd )
Add a digest line to the collection
Add a digest line to the collection
Parameters
- $uid
- user id
- $pwd
- password
Returns
Chippyash\Type\BoolType true on success else false
|
public
array
|
#
get( Chippyash\Type\Number\IntType $index )
Get digest item
Parameters
Returns
array Digest item
|
public
Chippyash\Type\BoolType
|
#
del( Chippyash\Type\Number\IntType $index )
Delete digest item
Parameters
Returns
Chippyash\Type\BoolType true on success else false
|
public
Chippyash\Type\String\StringType
|
#
asString( Chippyash\Type\Number\IntType $index )
Return the collection item as a raw digest string
Return the collection item as a raw digest string
Parameters
- $index
- Index into collection
Returns
Chippyash\Type\String\StringType StringType
Throws
chippyash\Authezntication\Manager\Exceptions\AuthManagerException chippyash\Authezntication\Manager\Exceptions\AuthManagerException
|