@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | { |
63 | 63 | $this->get( |
64 | 64 | $this->options['route_prefix'].'/authorize', |
65 | - function (Request $request, UserInfoInterface $userInfo) { |
|
65 | + function(Request $request, UserInfoInterface $userInfo) { |
|
66 | 66 | $authorize = $this->server->getAuthorize($request, $userInfo); |
67 | 67 | if ($authorize instanceof Response) { |
68 | 68 | return $authorize; |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | |
90 | 90 | $this->post( |
91 | 91 | $this->options['route_prefix'].'/authorize', |
92 | - function (Request $request, UserInfoInterface $userInfo) { |
|
92 | + function(Request $request, UserInfoInterface $userInfo) { |
|
93 | 93 | return $this->server->postAuthorize($request, $userInfo); |
94 | 94 | }, |
95 | 95 | [ |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | if (!$this->options['disable_token_endpoint']) { |
103 | 103 | $this->post( |
104 | 104 | $this->options['route_prefix'].'/token', |
105 | - function (Request $request, UserInfoInterface $userInfo = null) { |
|
105 | + function(Request $request, UserInfoInterface $userInfo = null) { |
|
106 | 106 | return $this->server->postToken($request, $userInfo); |
107 | 107 | }, |
108 | 108 | [ |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | if (!$this->options['disable_introspect_endpoint']) { |
118 | 118 | $this->post( |
119 | 119 | $this->options['route_prefix'].'/introspect', |
120 | - function (Request $request, UserInfoInterface $userInfo) { |
|
120 | + function(Request $request, UserInfoInterface $userInfo) { |
|
121 | 121 | return $this->server->postIntrospect($request, $userInfo); |
122 | 122 | }, |
123 | 123 | [ |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | { |
61 | 61 | $service->get( |
62 | 62 | $this->options['route_prefix'].'/authorize', |
63 | - function (Request $request, UserInfoInterface $userInfo) { |
|
63 | + function(Request $request, UserInfoInterface $userInfo) { |
|
64 | 64 | $authorize = $this->server->getAuthorize($request, $userInfo); |
65 | 65 | if ($authorize instanceof Response) { |
66 | 66 | return $authorize; |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | |
88 | 88 | $service->post( |
89 | 89 | $this->options['route_prefix'].'/authorize', |
90 | - function (Request $request, UserInfoInterface $userInfo) { |
|
90 | + function(Request $request, UserInfoInterface $userInfo) { |
|
91 | 91 | return $this->server->postAuthorize($request, $userInfo); |
92 | 92 | }, |
93 | 93 | [ |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | if (!$this->options['disable_token_endpoint']) { |
101 | 101 | $service->post( |
102 | 102 | $this->options['route_prefix'].'/token', |
103 | - function (Request $request, UserInfoInterface $userInfo = null) { |
|
103 | + function(Request $request, UserInfoInterface $userInfo = null) { |
|
104 | 104 | return $this->server->postToken($request, $userInfo); |
105 | 105 | }, |
106 | 106 | [ |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | if (!$this->options['disable_introspect_endpoint']) { |
116 | 116 | $service->post( |
117 | 117 | $this->options['route_prefix'].'/introspect', |
118 | - function (Request $request, UserInfoInterface $userInfo) { |
|
118 | + function(Request $request, UserInfoInterface $userInfo) { |
|
119 | 119 | return $this->server->postIntrospect($request, $userInfo); |
120 | 120 | }, |
121 | 121 | [ |