The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Yukki::User - Encapsulates Yukki users

VERSION

version 0.991_004

SYNOPSIS

    use Yukki::User;

    my $user_file = $app->locate('user_path', 'bob');
    my $user = Yukki::User->load_yaml($user_file);

    say "login name: ", $user->login_name;
    say "password: ", $user->password;
    say "name: ", $user->name;
    say "email: ", $user->email;
    say "groups: ", join(', ', $user->groups->@*);

DESCRIPTION

Encapsulates the definition of a user object. Users are defined to provide information about the author of each change in the wiki.

ROLES

Yukki::Role::Savable

ATTRIBUTES

login_name

This is the name the user uses to login.

password

This is the hashed password for the user.

name

This is the full name of the user, used as the author name on commits.

email

This is the email address of the user, used to uniquely identify the author in commits.

groups

This is the list of groups to which the user belongs.

METHODS

groups_string

Returns the groups concatenated together into a single string.

savable_attributes

Returns the savable attributes.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Qubling Software LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.