1 | <?php |
||
11 | abstract class AbstractProvider extends BaseProvider |
||
12 | { |
||
13 | use ConfigTrait; |
||
14 | |||
15 | /** |
||
16 | * Indicates if the session state should be utilized. |
||
17 | * |
||
18 | * @var bool |
||
19 | */ |
||
20 | protected $stateless = true; |
||
21 | |||
22 | /** |
||
23 | * @var array |
||
24 | */ |
||
25 | protected $credentialsResponseBody; |
||
26 | |||
27 | public static function serviceContainerKey($providerName) |
||
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | public function user() |
||
60 | |||
61 | /** |
||
62 | * Redirect the user to the authentication page for the provider. |
||
63 | * |
||
64 | * @return RedirectResponse |
||
65 | */ |
||
66 | public function redirect() |
||
79 | |||
80 | /** |
||
81 | * Get the token credentials for the request. |
||
82 | * |
||
83 | * @return \League\OAuth1\Client\Credentials\TokenCredentials |
||
84 | */ |
||
85 | protected function getToken() |
||
101 | |||
102 | /** |
||
103 | * Indicates that the provider should operate as stateless. |
||
104 | * |
||
105 | * @return $this |
||
106 | */ |
||
107 | public function stateless() |
||
113 | |||
114 | /** |
||
115 | * Determine if the provider is operating as stateless. |
||
116 | * |
||
117 | * @return bool |
||
118 | */ |
||
119 | protected function isStateless() |
||
127 | |||
128 | /** |
||
129 | * Set the scopes of the requested access. |
||
130 | * |
||
131 | * @param array $scopes |
||
132 | * |
||
133 | * @return $this |
||
134 | */ |
||
135 | public function scopes(array $scopes) |
||
141 | |||
142 | /** |
||
143 | * Set the custom parameters of the request. |
||
144 | * |
||
145 | * @param array $parameters |
||
146 | * |
||
147 | * @return $this |
||
148 | */ |
||
149 | public function with(array $parameters) |
||
155 | |||
156 | /** |
||
157 | * @param Config $config |
||
158 | * |
||
159 | * @return $this |
||
160 | */ |
||
161 | public function setConfig(Config $config) |
||
167 | } |
||
168 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.