Adding Custom User Providers: The Authenticatable Contract

<?php

namespace Illuminate\Contracts\Auth;

interface Authenticatable {

    public function getAuthIdentifierName();
    public function getAuthIdentifier();
    public function getAuthPassword();
    public function getRememberToken();
    public function setRememberToken($value);
    public function getRememberTokenName();

}

GetAuthIdentifierName method

Should return the name of the "primary key" field of the user.

Adding Custom User Providers: The Authenticatable Contract — Structure map

Clickable & Draggable!

Adding Custom User Providers: The Authenticatable Contract — Related pages: