Sign In

Token Function

Array
(
    [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
        (
            [data:protected] => Array
                (
                    [date] => Mon, 02 Oct 2023 18:58:27 GMT
                    [content-type] => application/json; charset=utf-8
                    [server] => nginx
                    [x-frame-options] => SAMEORIGIN
                    [x-xss-protection] => 0
                    [x-content-type-options] => nosniff
                    [x-download-options] => noopen
                    [x-permitted-cross-domain-policies] => none
                    [referrer-policy] => strict-origin-when-cross-origin
                    [cache-control] => no-store
                    [pragma] => no-cache
                    [www-authenticate] => Bearer realm="Doorkeeper", error="invalid_request", error_description="Missing required parameter: grant_type."
                    [set-cookie] => _production_companycam_session=y4Cuij%2FveNraoIWH4hfQzcB32giXu2ZrpeTebLmMpqOTYmujXxODZFQZelS%2B09wzx2Qw6MgiQYjNtG4UC58rD85fkv3qrXYT6l1bZBCzVEUXRd2WPzz%2F5KJyEPJmyNJVMkbxYYoxo4ukSR17nimHAP12cuAGITY83k3ERXVIQAYiEgsOl8HPF%2FPzwBH5dR1fsa4Tm%2Ftp2jmd1cs%2BhUdj8NB9REXxz6GMR9X%2FdOsb4gqTfQ0Y%2FJxO50TIsWzBteqazYJG0PVXdvyvKrzJ--uxaH%2FUTTt2De12N5--fy9iefiZxC1L997tniUMyw%3D%3D; domain=.companycam.com; path=/; expires=Mon, 16 Oct 2023 18:58:27 GMT; secure; HttpOnly; SameSite=Lax
                    [x-request-id] => 55bb5c80-938d-4853-89b6-c4289537f902
                    [x-runtime] => 0.012336
                    [strict-transport-security] => max-age=63072000; includeSubDomains
                    [vary] => Origin
                    [x-rack-cors] => miss; no-origin
                )

        )

    [body] => {"error":"invalid_request","error_description":"Missing required parameter: grant_type."}
    [response] => Array
        (
            [code] => 400
            [message] => Bad Request
        )

    [cookies] => Array
        (
            [0] => WP_Http_Cookie Object
                (
                    [name] => _production_companycam_session
                    [value] => y4Cuij/veNraoIWH4hfQzcB32giXu2ZrpeTebLmMpqOTYmujXxODZFQZelS+09wzx2Qw6MgiQYjNtG4UC58rD85fkv3qrXYT6l1bZBCzVEUXRd2WPzz/5KJyEPJmyNJVMkbxYYoxo4ukSR17nimHAP12cuAGITY83k3ERXVIQAYiEgsOl8HPF/PzwBH5dR1fsa4Tm/tp2jmd1cs+hUdj8NB9REXxz6GMR9X/dOsb4gqTfQ0Y/JxO50TIsWzBteqazYJG0PVXdvyvKrzJ--uxaH/UTTt2De12N5--fy9iefiZxC1L997tniUMyw==
                    [expires] => 1697482707
                    [path] => /
                    [domain] => companycam.com
                    [port] => 
                    [host_only] => 
                )

        )

    [filename] => 
    [http_response] => WP_HTTP_Requests_Response Object
        (
            [response:protected] => WpOrg\Requests\Response Object
                (
                    [body] => {"error":"invalid_request","error_description":"Missing required parameter: grant_type."}
                    [raw] => HTTP/1.1 400 Bad Request
Date: Mon, 02 Oct 2023 18:58:27 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: close
Server: nginx
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Cache-Control: no-store
Pragma: no-cache
WWW-Authenticate: Bearer realm="Doorkeeper", error="invalid_request", error_description="Missing required parameter: grant_type."
Set-Cookie: _production_companycam_session=y4Cuij%2FveNraoIWH4hfQzcB32giXu2ZrpeTebLmMpqOTYmujXxODZFQZelS%2B09wzx2Qw6MgiQYjNtG4UC58rD85fkv3qrXYT6l1bZBCzVEUXRd2WPzz%2F5KJyEPJmyNJVMkbxYYoxo4ukSR17nimHAP12cuAGITY83k3ERXVIQAYiEgsOl8HPF%2FPzwBH5dR1fsa4Tm%2Ftp2jmd1cs%2BhUdj8NB9REXxz6GMR9X%2FdOsb4gqTfQ0Y%2FJxO50TIsWzBteqazYJG0PVXdvyvKrzJ--uxaH%2FUTTt2De12N5--fy9iefiZxC1L997tniUMyw%3D%3D; domain=.companycam.com; path=/; expires=Mon, 16 Oct 2023 18:58:27 GMT; secure; HttpOnly; SameSite=Lax
X-Request-Id: 55bb5c80-938d-4853-89b6-c4289537f902
X-Runtime: 0.012336
Strict-Transport-Security: max-age=63072000; includeSubDomains
Vary: Origin
X-Rack-CORS: miss; no-origin

{"error":"invalid_request","error_description":"Missing required parameter: grant_type."}
                    [headers] => WpOrg\Requests\Response\Headers Object
                        (
                            [data:protected] => Array
                                (
                                    [date] => Array
                                        (
                                            [0] => Mon, 02 Oct 2023 18:58:27 GMT
                                        )

                                    [content-type] => Array
                                        (
                                            [0] => application/json; charset=utf-8
                                        )

                                    [server] => Array
                                        (
                                            [0] => nginx
                                        )

                                    [x-frame-options] => Array
                                        (
                                            [0] => SAMEORIGIN
                                        )

                                    [x-xss-protection] => Array
                                        (
                                            [0] => 0
                                        )

                                    [x-content-type-options] => Array
                                        (
                                            [0] => nosniff
                                        )

                                    [x-download-options] => Array
                                        (
                                            [0] => noopen
                                        )

                                    [x-permitted-cross-domain-policies] => Array
                                        (
                                            [0] => none
                                        )

                                    [referrer-policy] => Array
                                        (
                                            [0] => strict-origin-when-cross-origin
                                        )

                                    [cache-control] => Array
                                        (
                                            [0] => no-store
                                        )

                                    [pragma] => Array
                                        (
                                            [0] => no-cache
                                        )

                                    [www-authenticate] => Array
                                        (
                                            [0] => Bearer realm="Doorkeeper", error="invalid_request", error_description="Missing required parameter: grant_type."
                                        )

                                    [set-cookie] => Array
                                        (
                                            [0] => _production_companycam_session=y4Cuij%2FveNraoIWH4hfQzcB32giXu2ZrpeTebLmMpqOTYmujXxODZFQZelS%2B09wzx2Qw6MgiQYjNtG4UC58rD85fkv3qrXYT6l1bZBCzVEUXRd2WPzz%2F5KJyEPJmyNJVMkbxYYoxo4ukSR17nimHAP12cuAGITY83k3ERXVIQAYiEgsOl8HPF%2FPzwBH5dR1fsa4Tm%2Ftp2jmd1cs%2BhUdj8NB9REXxz6GMR9X%2FdOsb4gqTfQ0Y%2FJxO50TIsWzBteqazYJG0PVXdvyvKrzJ--uxaH%2FUTTt2De12N5--fy9iefiZxC1L997tniUMyw%3D%3D; domain=.companycam.com; path=/; expires=Mon, 16 Oct 2023 18:58:27 GMT; secure; HttpOnly; SameSite=Lax
                                        )

                                    [x-request-id] => Array
                                        (
                                            [0] => 55bb5c80-938d-4853-89b6-c4289537f902
                                        )

                                    [x-runtime] => Array
                                        (
                                            [0] => 0.012336
                                        )

                                    [strict-transport-security] => Array
                                        (
                                            [0] => max-age=63072000; includeSubDomains
                                        )

                                    [vary] => Array
                                        (
                                            [0] => Origin
                                        )

                                    [x-rack-cors] => Array
                                        (
                                            [0] => miss; no-origin
                                        )

                                )

                        )

                    [status_code] => 400
                    [protocol_version] => 1.1
                    [success] => 
                    [redirects] => 0
                    [url] => https://app.companycam.com/oauth/token
                    [history] => Array
                        (
                        )

                    [cookies] => WpOrg\Requests\Cookie\Jar Object
                        (
                            [cookies:protected] => Array
                                (
                                    [_production_companycam_session] => WpOrg\Requests\Cookie Object
                                        (
                                            [name] => _production_companycam_session
                                            [value] => y4Cuij%2FveNraoIWH4hfQzcB32giXu2ZrpeTebLmMpqOTYmujXxODZFQZelS%2B09wzx2Qw6MgiQYjNtG4UC58rD85fkv3qrXYT6l1bZBCzVEUXRd2WPzz%2F5KJyEPJmyNJVMkbxYYoxo4ukSR17nimHAP12cuAGITY83k3ERXVIQAYiEgsOl8HPF%2FPzwBH5dR1fsa4Tm%2Ftp2jmd1cs%2BhUdj8NB9REXxz6GMR9X%2FdOsb4gqTfQ0Y%2FJxO50TIsWzBteqazYJG0PVXdvyvKrzJ--uxaH%2FUTTt2De12N5--fy9iefiZxC1L997tniUMyw%3D%3D
                                            [attributes] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
                                                (
                                                    [data:protected] => Array
                                                        (
                                                            [domain] => companycam.com
                                                            [path] => /
                                                            [expires] => 1697482707
                                                            [secure] => 1
                                                            [httponly] => 1
                                                            [samesite] => Lax
                                                        )

                                                )

                                            [flags] => Array
                                                (
                                                    [creation] => 1696273107
                                                    [last-access] => 1696273107
                                                    [persistent] => 
                                                    [host-only] => 
                                                )

                                            [reference_time] => 1696273107
                                        )

                                )

                        )

                )

            [filename:protected] => 
            [data] => 
            [headers] => 
            [status] => 
        )

)