File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?php declare (strict_types=1 );
2+
3+ namespace Pdsinterop \Solid \Auth \Enum \OpenId ;
4+
5+ /**
6+ * Client Authentication Methods
7+ *
8+ * As described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]
9+ *
10+ * Other authentication methods MAY be defined by extensions.
11+ *
12+ * If omitted, the default is `client_secret_basic` the HTTP Basic
13+ * Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749].
14+ */
15+ class AuthenticationMethod
16+ {
17+ public const DEFAULT = self ::CLIENT_SECRET_BASIC ;
18+
19+ /** OpenID Connect Core */
20+ public const CLIENT_SECRET_BASIC = 'client_secret_basic ' ;
21+
22+ /** OpenID Connect Core */
23+ public const CLIENT_SECRET_JWT = 'client_secret_jwt ' ;
24+
25+ /** OpenID Connect Core */
26+ public const CLIENT_SECRET_POST = 'client_secret_post ' ;
27+
28+ /** OpenID Connect Core */
29+ public const NONE = 'none ' ;
30+
31+ /** OpenID Connect Core */
32+ public const PRIVATE_KEY_JWT = 'private_key_jwt ' ;
33+ }
You can’t perform that action at this time.
0 commit comments