יובל קוג'מן (Yuval Kogman) > KiokuX-User-0.01 > KiokuX::User::ID

Download:
KiokuX-User-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source   Latest Release: KiokuX-User-0.02

NAME ^

KiokuX::User::ID - KiokuDB::Role::ID integration for user objects

SYNOPSIS ^

        with qw(KiokuX::User::ID);

DESCRIPTION ^

This role provides an id attribute for user objects, and self registers in the KiokuDB directory with the object ID user:$user_id.

Using this role implies that user IDs are immutable.

METHODS ^

kiokudb_object_id

Implements the required method from KiokuX::User::ID by prefixing the id attribute with user:.

ATTRIBUTES ^

id

This is the user's ID in the system. It is not the object ID, but the object ID is derived from it.

syntax highlighting: