NAME

OIDC::Client::Trait::HashStore - Moose Trait for hashref stores

DESCRIPTION

This Moose Trait automatically adds methods to the instances of the class based on the name of the attribute using it.

Used by the OIDC::Client::Plugin::session attribute, it adds read_session(), write_session() and delete_session() methods to the instances of the OIDC::Client::Plugin class.

Used by the OIDC::Client::Plugin::stash attribute, it adds read_stash(), write_stash() and delete_stash() methods to the instances of the OIDC::Client::Plugin class.

read_${name} method calls the "reach_data( $data_tree, \@path, $optional )" in OIDC::Client::Utils function.

write_${name} method calls the "affect_data( $data_tree, \@path, $value )" in OIDC::Client::Utils function.

delete_${name} method calls the "delete_data( $data_tree, \@path )" in OIDC::Client::Utils function.