---
name: "Catalyst::Authentication::User::Hash"
section: "3pm"
platform: "linux"
package: "libcatalyst-plugin-authentication-perl"
version: "0.10024-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catalyst::Authentication::User::Hash"
---

# Catalyst::Authentication::User::Hash(3pm)

An easy authentication user object based on hashes.

## NAME

Catalyst::Authentication::User::Hash - An easy authentication user object based on hashes.

## SYNOPSIS

```
    use Catalyst::Authentication::User::Hash;

    Catalyst::Authentication::User::Hash->new(
        password => "s3cr3t",
    );
```

## DESCRIPTION

This implementation of authentication user handles is supposed to go hand in hand with Catalyst::Authentication::Store::Minimal.

## METHODS

### new( @pairs )

Create a new object with the key-value-pairs listed in the arg list.

### supports( )

Checks for existence of keys that correspond with features.

### for\_session( )

Just returns `$self`, expecting it to be serializable.

### from\_session( )

Just passes returns the unserialized object, hoping it's intact.

### AUTOLOAD( )

Accessor for the key whose name is the method.

### store( )

Accessors that override superclass's dying virtual methods.

### id( )

### can( )

## SEE ALSO

Hash::AsObject
