@@ -52,6 +52,7 @@ class Core
5252
5353 protected ?ClaimFactory $ claimFactory = null ;
5454
55+
5556 public function __construct (
5657 protected readonly SupportedAlgorithms $ supportedAlgorithms = new SupportedAlgorithms (
5758 new SignatureAlgorithmBag (
@@ -67,6 +68,7 @@ public function __construct(
6768 ->build ($ timestampValidationLeeway );
6869 }
6970
71+
7072 public function requestObjectFactory (): RequestObjectFactory
7173 {
7274 return $ this ->requestObjectFactory ??= new RequestObjectFactory (
@@ -80,6 +82,7 @@ public function requestObjectFactory(): RequestObjectFactory
8082 );
8183 }
8284
85+
8386 public function clientAssertionFactory (): ClientAssertionFactory
8487 {
8588 return $ this ->clientAssertionFactory ??= new ClientAssertionFactory (
@@ -93,11 +96,13 @@ public function clientAssertionFactory(): ClientAssertionFactory
9396 );
9497 }
9598
99+
96100 public function helpers (): Helpers
97101 {
98102 return $ this ->helpers ??= new Helpers ();
99103 }
100104
105+
101106 public function algorithmManagerDecoratorFactory (): AlgorithmManagerDecoratorFactory
102107 {
103108 if (is_null ($ this ->algorithmManagerDecoratorFactory )) {
@@ -107,6 +112,7 @@ public function algorithmManagerDecoratorFactory(): AlgorithmManagerDecoratorFac
107112 return $ this ->algorithmManagerDecoratorFactory ;
108113 }
109114
115+
110116 public function jwsSerializerManagerDecoratorFactory (): JwsSerializerManagerDecoratorFactory
111117 {
112118 if (is_null ($ this ->jwsSerializerManagerDecoratorFactory )) {
@@ -116,6 +122,7 @@ public function jwsSerializerManagerDecoratorFactory(): JwsSerializerManagerDeco
116122 return $ this ->jwsSerializerManagerDecoratorFactory ;
117123 }
118124
125+
119126 public function jwsParserFactory (): JwsParserFactory
120127 {
121128 if (is_null ($ this ->jwsParserFactory )) {
@@ -125,6 +132,7 @@ public function jwsParserFactory(): JwsParserFactory
125132 return $ this ->jwsParserFactory ;
126133 }
127134
135+
128136 public function jwsVerifierDecoratorFactory (): JwsVerifierDecoratorFactory
129137 {
130138 if (is_null ($ this ->jwsVerifierDecoratorFactory )) {
@@ -134,11 +142,13 @@ public function jwsVerifierDecoratorFactory(): JwsVerifierDecoratorFactory
134142 return $ this ->jwsVerifierDecoratorFactory ;
135143 }
136144
145+
137146 public function jwksFactory (): JwksFactory
138147 {
139148 return $ this ->jwksFactory ??= new JwksFactory ();
140149 }
141150
151+
142152 public function dateIntervalDecoratorFactory (): DateIntervalDecoratorFactory
143153 {
144154 if (is_null ($ this ->dateIntervalDecoratorFactory )) {
@@ -148,6 +158,7 @@ public function dateIntervalDecoratorFactory(): DateIntervalDecoratorFactory
148158 return $ this ->dateIntervalDecoratorFactory ;
149159 }
150160
161+
151162 public function jwsSerializerManagerDecorator (): JwsSerializerManagerDecorator
152163 {
153164 if (is_null ($ this ->jwsSerializerManagerDecorator )) {
@@ -158,6 +169,7 @@ public function jwsSerializerManagerDecorator(): JwsSerializerManagerDecorator
158169 return $ this ->jwsSerializerManagerDecorator ;
159170 }
160171
172+
161173 public function jwsParser (): JwsParser
162174 {
163175 if (is_null ($ this ->jwsParser )) {
@@ -167,6 +179,7 @@ public function jwsParser(): JwsParser
167179 return $ this ->jwsParser ;
168180 }
169181
182+
170183 public function jwsVerifierDecorator (): JwsVerifierDecorator
171184 {
172185 if (is_null ($ this ->jwsVerifierDecorator )) {
@@ -178,6 +191,7 @@ public function jwsVerifierDecorator(): JwsVerifierDecorator
178191 return $ this ->jwsVerifierDecorator ;
179192 }
180193
194+
181195 public function claimFactory (): ClaimFactory
182196 {
183197 return $ this ->claimFactory ??= new ClaimFactory (
0 commit comments