1: <?php
2:
3: declare(strict_types=1);
4:
5: /**
6: * This file is part of the Nexus MCP SDK package.
7: *
8: * (c) 2026 John Paul E. Balandan, CPA <paulbalandan@gmail.com>
9: *
10: * For the full copyright and license information, please view
11: * the LICENSE file that was distributed with this source code.
12: */
13:
14: namespace Nexus\Mcp\Core\Auth;
15:
16: /**
17: * The OpenID Connect application type a client declares during Dynamic Client Registration.
18: *
19: * @see https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata
20: */
21: enum ApplicationType: string
22: {
23: /**
24: * Desktop applications, mobile apps, CLI tools, and locally-hosted applications reached over loopback.
25: */
26: case Native = 'native';
27:
28: /**
29: * Remote browser-based applications served from a non-local host.
30: */
31: case Web = 'web';
32: }
33: