1219 lines
34 KiB
JSON
1219 lines
34 KiB
JSON
{
|
|
"upstream_commit": "3516c776a1fcbd83d234efc007e3a49807d6ed91",
|
|
"kind": "static application declarations; not runtime package routes",
|
|
"notes": [
|
|
"GET routes implicitly support HEAD. Ordering is source ordering.",
|
|
"Middleware declarations require alias/group expansion, deduplication and Laravel priority sorting.",
|
|
"Package-discovered routes and OPTIONS/CORS behavior require runtime route:list.",
|
|
"settingName has global constraint [a-zA-Z]+ from RouteServiceProvider."
|
|
],
|
|
"middleware_source": "app/Http/Kernel.php",
|
|
"middleware_global_php": "// \\App\\Http\\Middleware\\TrustHosts::class,\n TrustProxies::class,\n HandleCors::class,\n PreventRequestsDuringMaintenance::class,\n ValidatePostSize::class,\n TrimStrings::class,\n ConvertEmptyStringsToNull::class,\n ForceJsonResponse::class,",
|
|
"middleware_groups_php": "'web' => [\n EncryptCookies::class,\n AddQueuedCookiesToResponse::class,\n StartSession::class,\n // \\Illuminate\\Session\\Middleware\\AuthenticateSession::class,\n PreventRequestForgery::class,\n SubstituteBindings::class,\n SetLanguage::class,\n CustomCreateFreshApiToken::class,\n ],\n\n 'behind-auth' => [\n EncryptCookies::class,\n AddQueuedCookiesToResponse::class,\n // \\Illuminate\\Session\\Middleware\\StartSession::class,\n PreventRequestForgery::class,\n SubstituteBindings::class,\n Authenticate::class,\n KickOutInactiveUser::class,\n LogUserLastSeen::class,\n SetLanguage::class,\n CustomCreateFreshApiToken::class,\n ],\n\n 'api.v1' => [\n ThrottleRequests::class . ':api',\n SubstituteBindings::class,\n KickOutInactiveUser::class,\n LogUserLastSeen::class,\n SetLanguage::class,\n ],",
|
|
"middleware_aliases_php": "'auth' => Authenticate::class,\n 'admin' => AdminOnly::class,\n 'rejectIfAuthenticated' => RejectIfAuthenticated::class,\n 'throttle' => ThrottleRequests::class,\n 'rejectIfDemoMode' => RejectIfDemoMode::class,\n 'rejectIfShareDisabled' => RejectIfShareDisabled::class,\n 'rejectIfAllUsersSharingScopeDisabled' => RejectIfAllUsersSharingScopeDisabled::class,\n 'rejectIfReverseProxy' => RejectIfReverseProxy::class,\n 'rejectIfSsoOnlyAndNotForAdmin' => RejectIfSsoOnlyAndNotForAdmin::class,\n 'cache.headers' => SetCacheHeaders::class,\n 'kickOutInactiveUser' => KickOutInactiveUser::class,\n 'forceLogout' => ForceLogout::class,\n 'setLanguage' => SetLanguage::class,\n // 'password.confirm' => \\Illuminate\\Auth\\Middleware\\RequirePassword::class,\n // 'signed' => \\App\\Http\\Middleware\\ValidateSignature::class,",
|
|
"middleware_priority_php": "StartSession::class,\n ShareErrorsFromSession::class,\n Authenticate::class,\n SetLanguage::class,\n AuthenticateSession::class,\n SubstituteBindings::class,\n Authorize::class,",
|
|
"routes": [
|
|
{
|
|
"method": "POST",
|
|
"path": "/user",
|
|
"handler": "RegisterController@register",
|
|
"name": "user.register",
|
|
"middleware_declared": [
|
|
"web",
|
|
"rejectIfDemoMode",
|
|
"rejectIfSsoOnlyAndNotForAdmin",
|
|
"forceLogout",
|
|
"setLanguage"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:37"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/user/password/lost",
|
|
"handler": "ForgotPasswordController@sendResetLinkEmail",
|
|
"name": "user.password.lost",
|
|
"middleware_declared": [
|
|
"web",
|
|
"rejectIfDemoMode",
|
|
"rejectIfSsoOnlyAndNotForAdmin",
|
|
"forceLogout",
|
|
"setLanguage"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:38"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/user/password/reset",
|
|
"handler": "ResetPasswordController@reset",
|
|
"name": "password.reset",
|
|
"middleware_declared": [
|
|
"web",
|
|
"rejectIfDemoMode",
|
|
"rejectIfSsoOnlyAndNotForAdmin",
|
|
"forceLogout",
|
|
"setLanguage"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:39"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/webauthn/login/options",
|
|
"handler": "WebAuthnLoginController@options",
|
|
"name": "webauthn.login.options",
|
|
"middleware_declared": [
|
|
"web",
|
|
"rejectIfDemoMode",
|
|
"rejectIfSsoOnlyAndNotForAdmin",
|
|
"forceLogout",
|
|
"setLanguage"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:40"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/webauthn/lost",
|
|
"handler": "WebAuthnDeviceLostController@sendRecoveryEmail",
|
|
"name": "webauthn.lost",
|
|
"middleware_declared": [
|
|
"web",
|
|
"rejectIfDemoMode",
|
|
"rejectIfSsoOnlyAndNotForAdmin",
|
|
"forceLogout",
|
|
"setLanguage"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:41"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/webauthn/recover",
|
|
"handler": "WebAuthnRecoveryController@recover",
|
|
"name": "webauthn.recover",
|
|
"middleware_declared": [
|
|
"web",
|
|
"rejectIfDemoMode",
|
|
"throttle:10,1",
|
|
"rejectIfSsoOnlyAndNotForAdmin",
|
|
"forceLogout"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:48"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/user/login",
|
|
"handler": "LoginController@login",
|
|
"name": "user.login",
|
|
"middleware_declared": [
|
|
"web",
|
|
"forceLogout",
|
|
"throttle:10,1",
|
|
"rejectIfSsoOnlyAndNotForAdmin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:56"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/webauthn/login",
|
|
"handler": "WebAuthnLoginController@login",
|
|
"name": "webauthn.login",
|
|
"middleware_declared": [
|
|
"web",
|
|
"forceLogout",
|
|
"throttle:10,1",
|
|
"rejectIfSsoOnlyAndNotForAdmin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:57"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/socialite/redirect/{driver}",
|
|
"handler": "SocialiteController@redirect",
|
|
"name": "socialite.redirect",
|
|
"middleware_declared": [
|
|
"web",
|
|
"forceLogout",
|
|
"throttle:10,1"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:59",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/socialite/callback/{driver}",
|
|
"handler": "SocialiteController@callback",
|
|
"name": "socialite.callback",
|
|
"middleware_declared": [
|
|
"web",
|
|
"forceLogout",
|
|
"throttle:10,1"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:60",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/user",
|
|
"handler": "UserController@update",
|
|
"name": "user.update",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"rejectIfReverseProxy"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:68"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/user/password",
|
|
"handler": "PasswordController@update",
|
|
"name": "user.password.update",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"rejectIfReverseProxy",
|
|
"rejectIfDemoMode"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:69"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/user/logout",
|
|
"handler": "LoginController@logout",
|
|
"name": "user.logout",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"rejectIfReverseProxy"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:70",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/user",
|
|
"handler": "UserController@delete",
|
|
"name": "user.delete",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"rejectIfReverseProxy",
|
|
"rejectIfDemoMode"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:71"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/oauth/personal-access-tokens",
|
|
"handler": "PersonalAccessTokenController@forUser",
|
|
"name": "passport.personal.tokens.index",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"rejectIfReverseProxy"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:74",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/oauth/personal-access-tokens",
|
|
"handler": "PersonalAccessTokenController@store",
|
|
"name": "passport.personal.tokens.store",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"rejectIfReverseProxy"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:75"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/oauth/personal-access-tokens/{token_id}",
|
|
"handler": "PersonalAccessTokenController@destroy",
|
|
"name": "passport.personal.tokens.destroy",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"rejectIfReverseProxy"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:76"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/webauthn/register/options",
|
|
"handler": "WebAuthnRegisterController@options",
|
|
"name": "webauthn.register.options",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"rejectIfReverseProxy"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:78"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/webauthn/register",
|
|
"handler": "WebAuthnRegisterController@register",
|
|
"name": "webauthn.register",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"rejectIfReverseProxy"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:79"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/webauthn/credentials",
|
|
"handler": "WebAuthnManageController@index",
|
|
"name": "webauthn.credentials.index",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"rejectIfReverseProxy"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:80",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/webauthn/credentials/{credential}/name",
|
|
"handler": "WebAuthnManageController@rename",
|
|
"name": "webauthn.credentials.rename",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"rejectIfReverseProxy"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:81"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/webauthn/credentials/{credential}",
|
|
"handler": "WebAuthnManageController@delete",
|
|
"name": "webauthn.credentials.delete",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"rejectIfReverseProxy"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:82"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/system/infos",
|
|
"handler": "SystemController@infos",
|
|
"name": "system.infos",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:89",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/system/test-email",
|
|
"handler": "SystemController@testEmail",
|
|
"name": "system.testEmail",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:90"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/system/latestRelease",
|
|
"handler": "SystemController@latestRelease",
|
|
"name": "system.latestRelease",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:91",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/system/optimize",
|
|
"handler": "SystemController@optimize",
|
|
"name": "system.optimize",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:92",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/system/clear-cache",
|
|
"handler": "SystemController@clear",
|
|
"name": "system.clear",
|
|
"middleware_declared": [
|
|
"web",
|
|
"behind-auth",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:93",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/refresh-csrf",
|
|
"handler": "closure",
|
|
"name": null,
|
|
"middleware_declared": [
|
|
"web"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:96",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/manifest.json",
|
|
"handler": "closure",
|
|
"name": null,
|
|
"middleware_declared": [
|
|
"web"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:100",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/up",
|
|
"handler": "closure",
|
|
"name": null,
|
|
"middleware_declared": [
|
|
"web"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/web.php:135",
|
|
"excluded_middleware": [
|
|
"StartSession",
|
|
"PreventRequestForgery",
|
|
"SubstituteBindings",
|
|
"SetLanguage",
|
|
"CustomCreateFreshApiToken"
|
|
],
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/{any}",
|
|
"handler": "SinglePageController@index",
|
|
"name": "landing",
|
|
"middleware_declared": [
|
|
"web"
|
|
],
|
|
"constraints": {
|
|
"any": ".*"
|
|
},
|
|
"source": "routes/web.php:157",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/user/name",
|
|
"handler": "closure",
|
|
"name": null,
|
|
"middleware_declared": [
|
|
"api.v1"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:24",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/user",
|
|
"handler": "UserController@show",
|
|
"name": "user.show",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:32",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/user/preferences/{preferenceName}",
|
|
"handler": "UserController@showPreference",
|
|
"name": "user.preferences.show",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:34",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/user/preferences",
|
|
"handler": "UserController@allPreferences",
|
|
"name": "user.preferences.all",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:35",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/user/preferences/{preferenceName}",
|
|
"handler": "UserController@setPreference",
|
|
"name": "user.preferences.set",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:36"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/twofaccounts",
|
|
"handler": "TwoFAccountController@batchDestroy",
|
|
"name": "twofaccounts.batchDestroy",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:38"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/twofaccounts/withdraw",
|
|
"handler": "TwoFAccountController@withdraw",
|
|
"name": "twofaccounts.withdraw",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:39"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/twofaccounts/reorder",
|
|
"handler": "TwoFAccountController@reorder",
|
|
"name": "twofaccounts.reorder",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:40"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/twofaccounts/migration",
|
|
"handler": "TwoFAccountController@migrate",
|
|
"name": "twofaccounts.migrate",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:41"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/twofaccounts/preview",
|
|
"handler": "TwoFAccountController@preview",
|
|
"name": "twofaccounts.preview",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:42"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/twofaccounts/export",
|
|
"handler": "TwoFAccountController@export",
|
|
"name": "twofaccounts.export",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:43",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}/qrcode",
|
|
"handler": "QrCodeController@show",
|
|
"name": "twofaccounts.show.qrcode",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:44",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/twofaccounts/count",
|
|
"handler": "TwoFAccountController@count",
|
|
"name": "twofaccounts.count",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:45",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}/otp-logs",
|
|
"handler": "TwoFAccountController@otpLogs",
|
|
"name": "twofaccounts.show.otpLogs",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:46",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/twofaccounts/{id}/otp",
|
|
"handler": "TwoFAccountController@otp",
|
|
"name": "twofaccounts.show.otp",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {
|
|
"id": "[0-9]+"
|
|
},
|
|
"source": "routes/api/v1.php:47",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/twofaccounts/otp",
|
|
"handler": "TwoFAccountController@otp",
|
|
"name": "twofaccounts.otp",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:48"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}/owner",
|
|
"handler": "TwoFAccountController@transferOwnership",
|
|
"name": "twofaccounts.transferOwnership",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"rejectIfShareDisabled",
|
|
"throttle:6,1"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:50"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}/shares",
|
|
"handler": "TwoFAccountShareController@index",
|
|
"name": "twofaccounts.shares.index",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"rejectIfShareDisabled"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:51",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}/shares",
|
|
"handler": "TwoFAccountShareController@store",
|
|
"name": "twofaccounts.shares.store",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"rejectIfShareDisabled"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:52"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}/shares",
|
|
"handler": "TwoFAccountShareController@destroyAll",
|
|
"name": "twofaccounts.shares.destroyAll",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"rejectIfShareDisabled"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:53"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}/shares/all",
|
|
"handler": "TwoFAccountShareController@shareAll",
|
|
"name": "twofaccounts.shares.shareAll",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"rejectIfShareDisabled",
|
|
"rejectIfAllUsersSharingScopeDisabled"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:54"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}/shares/{user}",
|
|
"handler": "TwoFAccountShareController@destroy",
|
|
"name": "twofaccounts.shares.destroy",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"rejectIfShareDisabled"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:57"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}/recipients",
|
|
"handler": "TwoFAccountShareController@recipients",
|
|
"name": "twofaccounts.shares.recipients",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"rejectIfShareDisabled"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:58",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/twofaccounts",
|
|
"handler": "TwoFAccountController@index",
|
|
"name": "twofaccounts.index",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:60",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/twofaccounts",
|
|
"handler": "TwoFAccountController@store",
|
|
"name": "twofaccounts.store",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:60"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}",
|
|
"handler": "TwoFAccountController@show",
|
|
"name": "twofaccounts.show",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:60",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}",
|
|
"handler": "TwoFAccountController@update",
|
|
"name": "twofaccounts.update",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:60"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}",
|
|
"handler": "TwoFAccountController@update",
|
|
"name": "twofaccounts.update",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:60"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/twofaccounts/{twofaccount}",
|
|
"handler": "TwoFAccountController@destroy",
|
|
"name": "twofaccounts.destroy",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:60"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/groups/{group}/twofaccounts",
|
|
"handler": "GroupController@accounts",
|
|
"name": "groups.show.twofaccounts",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:62",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/groups/{group}/assign",
|
|
"handler": "GroupController@assignAccounts",
|
|
"name": "groups.assign.twofaccounts",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:63"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/groups/reorder",
|
|
"handler": "GroupController@reorder",
|
|
"name": "groups.reorder",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:64"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/groups",
|
|
"handler": "GroupController@index",
|
|
"name": "groups.index",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:65",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/groups",
|
|
"handler": "GroupController@store",
|
|
"name": "groups.store",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:65"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/groups/{group}",
|
|
"handler": "GroupController@show",
|
|
"name": "groups.show",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:65",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/groups/{group}",
|
|
"handler": "GroupController@update",
|
|
"name": "groups.update",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:65"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/groups/{group}",
|
|
"handler": "GroupController@update",
|
|
"name": "groups.update",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:65"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/groups/{group}",
|
|
"handler": "GroupController@destroy",
|
|
"name": "groups.destroy",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:65"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/qrcode/decode",
|
|
"handler": "QrCodeController@decode",
|
|
"name": "qrcode.decode",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:67"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/icons/packs",
|
|
"handler": "IconController@iconPacks",
|
|
"name": "icons.iconPacks",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:69",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/icons/default",
|
|
"handler": "IconController@fetch",
|
|
"name": "icons.fetch",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:70"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/icons",
|
|
"handler": "IconController@upload",
|
|
"name": "icons.upload",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:71"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/icons/{icon}",
|
|
"handler": "IconController@delete",
|
|
"name": "icons.delete",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:72"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/features",
|
|
"handler": "FeatureFlagController@index",
|
|
"name": "features.index",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:75",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/features/{feature}",
|
|
"handler": "FeatureFlagController@show",
|
|
"name": "features.show",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:76",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/users/{user}/authentications",
|
|
"handler": "UserManagerController@authentications",
|
|
"name": "users.authentications",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:83",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/users/{user}/password/reset",
|
|
"handler": "UserManagerController@resetPassword",
|
|
"name": "users.password.reset",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:84"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/users/{user}/promote",
|
|
"handler": "UserManagerController@promote",
|
|
"name": "users.promote",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:85"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/users/{user}/pats",
|
|
"handler": "UserManagerController@revokePATs",
|
|
"name": "users.revoke.pats",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:86"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/users/{user}/credentials",
|
|
"handler": "UserManagerController@revokeWebauthnCredentials",
|
|
"name": "users.revoke.credentials",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:87"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/users",
|
|
"handler": "UserManagerController@index",
|
|
"name": "users.index",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:88",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/users",
|
|
"handler": "UserManagerController@store",
|
|
"name": "users.store",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:88"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/users/{user}",
|
|
"handler": "UserManagerController@show",
|
|
"name": "users.show",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:88",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/users/{user}",
|
|
"handler": "UserManagerController@destroy",
|
|
"name": "users.destroy",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:88"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/settings/{settingName}",
|
|
"handler": "SettingController@show",
|
|
"name": "settings.show",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:90",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/settings",
|
|
"handler": "SettingController@index",
|
|
"name": "settings.index",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:91",
|
|
"implicit_HEAD": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/settings",
|
|
"handler": "SettingController@store",
|
|
"name": "settings.store",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:92"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/settings/{settingName}",
|
|
"handler": "SettingController@update",
|
|
"name": "settings.update",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:93"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/settings/{settingName}",
|
|
"handler": "SettingController@destroy",
|
|
"name": "settings.destroy",
|
|
"middleware_declared": [
|
|
"api.v1",
|
|
"auth:api-guard",
|
|
"admin"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:94"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/{any}",
|
|
"handler": "closure",
|
|
"name": null,
|
|
"middleware_declared": [
|
|
"api.v1"
|
|
],
|
|
"constraints": {},
|
|
"source": "routes/api/v1.php:97",
|
|
"implicit_HEAD": true
|
|
}
|
|
]
|
|
}
|