| 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\Extension\Auth\Enterprise; |
| 15: | |
| 16: | /** |
| 17: | * The RFC 8693 subject token types an identity assertion is exchanged as. |
| 18: | * |
| 19: | * @see https://datatracker.ietf.org/doc/html/rfc8693#section-3 |
| 20: | */ |
| 21: | enum IdentityAssertionType: string |
| 22: | { |
| 23: | /** |
| 24: | * An OpenID Connect ID token from the client's own sign-on. |
| 25: | */ |
| 26: | case IdToken = 'urn:ietf:params:oauth:token-type:id_token'; |
| 27: | |
| 28: | /** |
| 29: | * A refresh token, which a SAML assertion is first exchanged for. |
| 30: | */ |
| 31: | case RefreshToken = 'urn:ietf:params:oauth:token-type:refresh_token'; |
| 32: | } |
| 33: |