From b7d7f5b90e373329e8b5b9a8aa5f6879834f076e Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sat, 21 Feb 2015 21:42:43 +0100 Subject: trying to get auth work --- src/config/auth.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/config/auth.php (limited to 'src/config/auth.php') diff --git a/src/config/auth.php b/src/config/auth.php new file mode 100644 index 0000000..ee836e2 --- /dev/null +++ b/src/config/auth.php @@ -0,0 +1,34 @@ + true, + + /* + |-------------------------------------------------------------------------- + | Authentication Providers + |-------------------------------------------------------------------------- + | + | The authentication providers that should be used when attempting to + | authenticate an incoming API request. + | + */ + + 'auth' => [ + 'custom' => function ($app) { + return new AuthProvider; + }, + ] + +]; -- cgit v1.2.3