<?php

return [
    [
        'method' => 'GET',
        'uri' => '/login',
        'action' => 'App\\Modules\\Identity\\Controllers\\LoginController@show',
        'name' => 'login',
        'middleware' => [],
    ],
    [
        'method' => 'POST',
        'uri' => '/login',
        'action' => 'App\\Modules\\Identity\\Controllers\\LoginController@authenticate',
        'name' => 'login.attempt',
        'middleware' => [],
    ],
    [
        'method' => 'GET',
        'uri' => '/forgot-password',
        'action' => 'App\\Modules\\Identity\\Controllers\\ForgotPasswordController@show',
        'name' => 'password.request',
        'middleware' => [],
    ],
    [
        'method' => 'POST',
        'uri' => '/forgot-password',
        'action' => 'App\\Modules\\Identity\\Controllers\\ForgotPasswordController@sendResetLink',
        'name' => 'password.email',
        'middleware' => [],
    ],
    [
        'method' => 'GET',
        'uri' => '/auth/oidc/providers',
        'action' => 'App\\Modules\\Identity\\Controllers\\OidcController@providers',
        'name' => 'auth.oidc.providers',
        'middleware' => [],
    ],
    [
        'method' => 'GET',
        'uri' => '/auth/oidc/{provider}',
        'action' => 'App\\Modules\\Identity\\Controllers\\OidcController@start',
        'name' => 'auth.oidc.start',
        'middleware' => [],
    ],
    [
        'method' => 'GET',
        'uri' => '/auth/oidc/{provider}/callback',
        'action' => 'App\\Modules\\Identity\\Controllers\\OidcController@callback',
        'name' => 'auth.oidc.callback',
        'middleware' => [],
    ],
];
