User name & password auth is off the table actually because we have two factor auth!

This commit is contained in:
flash 2024-07-20 01:32:32 +00:00
parent 56d47ae840
commit ce7506d816
3 changed files with 0 additions and 13 deletions

View file

@ -27,5 +27,4 @@ $oatmeal->register(new HomeRoutes);
$oatmeal->register(new AuthzCodeRoutes($oatmeal->getCSRFP())); $oatmeal->register(new AuthzCodeRoutes($oatmeal->getCSRFP()));
$oatmeal->register(new RefreshTokenRoutes($oatmeal->getCSRFP())); $oatmeal->register(new RefreshTokenRoutes($oatmeal->getCSRFP()));
$oatmeal->register(new ClientCredsRoutes); $oatmeal->register(new ClientCredsRoutes);
$oatmeal->register(new PasswordRoutes);
$oatmeal->register(new DeviceCodeRoutes); $oatmeal->register(new DeviceCodeRoutes);

View file

@ -24,7 +24,6 @@ final class HomeRoutes extends RouteHandler {
<li><a href=/authorization_code>Authorisation code</a></li> <li><a href=/authorization_code>Authorisation code</a></li>
<li><a href=/refresh_token>Refresh token</a></li> <li><a href=/refresh_token>Refresh token</a></li>
<li><a href=/client_credentials>Client credentials</a></li> <li><a href=/client_credentials>Client credentials</a></li>
<li><a href=/password>Password</a></li>
<li><a href=/device_code>Device code</a></li> <li><a href=/device_code>Device code</a></li>
</ul> </ul>
<footer><i>&copy; <a href=https://flash.moe target=_blank>flashwave</a> 2024 - <a href=https://patchii.net/flash/oatmeal target=_blank>source code</a></i></footer> <footer><i>&copy; <a href=https://flash.moe target=_blank>flashwave</a> 2024 - <a href=https://patchii.net/flash/oatmeal target=_blank>source code</a></i></footer>

View file

@ -1,11 +0,0 @@
<?php
namespace Oatmeal;
use Index\Http\Routing\{HttpGet,RouteHandler};
final class PasswordRoutes extends RouteHandler {
#[HttpGet('/password')]
public function getIndex(): string {
return 'password routes go here';
}
}