Sign In

Token Function

Array
(
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
        (
            [data:protected] => Array
                (
                    [date] => Sun, 02 Oct 2022 23:40:13 GMT
                    [content-type] => application/json; charset=utf-8
                    [server] => nginx/1.21.1
                    [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=7hNiAECLTrih53IvuIHEiF83OJSuNozis7zZCg5cWbKU8HcVnTGEkc%2FKLWe5SIwPQHmONxnSkylnWYpNEFpXeH%2F17aV6t39h1F8YUVz0WobJVvLh7nWuL%2Ff42nf%2F%2F%2F2BtElFsF3HR2ztfgVKpjMldULGe2smjpspTsbmHvFL%2B4qLnci4W6M%2FRvWiEEE%2FQR9Tq3gkk0C5rlIVXU%2FFjLwAKD88VRQL0QiaQNem%2Bvb%2Be46hGMiJQZgQ%2Bj%2FkcurxcCXmiTYNRRcyiVd0SxY6--gDDhzxdMNuLoXtWq--1kVTUYKrzpvLDp55XI1X3A%3D%3D; domain=.companycam.com; path=/; expires=Sun, 16 Oct 2022 23:40:13 GMT; secure; HttpOnly; SameSite=Lax
                    [x-request-id] => 1a689b8f-d5ea-4dd2-8483-69f1ebc45768
                    [x-runtime] => 0.010739
                    [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] => 7hNiAECLTrih53IvuIHEiF83OJSuNozis7zZCg5cWbKU8HcVnTGEkc/KLWe5SIwPQHmONxnSkylnWYpNEFpXeH/17aV6t39h1F8YUVz0WobJVvLh7nWuL/f42nf///2BtElFsF3HR2ztfgVKpjMldULGe2smjpspTsbmHvFL+4qLnci4W6M/RvWiEEE/QR9Tq3gkk0C5rlIVXU/FjLwAKD88VRQL0QiaQNem+vb+e46hGMiJQZgQ+j/kcurxcCXmiTYNRRcyiVd0SxY6--gDDhzxdMNuLoXtWq--1kVTUYKrzpvLDp55XI1X3A==
                    [expires] => 1665963613
                    [path] => /
                    [domain] => companycam.com
                    [port] => 
                    [host_only] => 
                )

        )

    [filename] => 
    [http_response] => WP_HTTP_Requests_Response Object
        (
            [response:protected] => Requests_Response Object
                (
                    [body] => {"error":"invalid_request","error_description":"Missing required parameter: grant_type."}
                    [raw] => HTTP/1.1 400 Bad Request
Date: Sun, 02 Oct 2022 23:40:13 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: close
Server: nginx/1.21.1
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=7hNiAECLTrih53IvuIHEiF83OJSuNozis7zZCg5cWbKU8HcVnTGEkc%2FKLWe5SIwPQHmONxnSkylnWYpNEFpXeH%2F17aV6t39h1F8YUVz0WobJVvLh7nWuL%2Ff42nf%2F%2F%2F2BtElFsF3HR2ztfgVKpjMldULGe2smjpspTsbmHvFL%2B4qLnci4W6M%2FRvWiEEE%2FQR9Tq3gkk0C5rlIVXU%2FFjLwAKD88VRQL0QiaQNem%2Bvb%2Be46hGMiJQZgQ%2Bj%2FkcurxcCXmiTYNRRcyiVd0SxY6--gDDhzxdMNuLoXtWq--1kVTUYKrzpvLDp55XI1X3A%3D%3D; domain=.companycam.com; path=/; expires=Sun, 16 Oct 2022 23:40:13 GMT; secure; HttpOnly; SameSite=Lax
X-Request-Id: 1a689b8f-d5ea-4dd2-8483-69f1ebc45768
X-Runtime: 0.010739
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] => Requests_Response_Headers Object
                        (
                            [data:protected] => Array
                                (
                                    [date] => Array
                                        (
                                            [0] => Sun, 02 Oct 2022 23:40:13 GMT
                                        )

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

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

                                    [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=7hNiAECLTrih53IvuIHEiF83OJSuNozis7zZCg5cWbKU8HcVnTGEkc%2FKLWe5SIwPQHmONxnSkylnWYpNEFpXeH%2F17aV6t39h1F8YUVz0WobJVvLh7nWuL%2Ff42nf%2F%2F%2F2BtElFsF3HR2ztfgVKpjMldULGe2smjpspTsbmHvFL%2B4qLnci4W6M%2FRvWiEEE%2FQR9Tq3gkk0C5rlIVXU%2FFjLwAKD88VRQL0QiaQNem%2Bvb%2Be46hGMiJQZgQ%2Bj%2FkcurxcCXmiTYNRRcyiVd0SxY6--gDDhzxdMNuLoXtWq--1kVTUYKrzpvLDp55XI1X3A%3D%3D; domain=.companycam.com; path=/; expires=Sun, 16 Oct 2022 23:40:13 GMT; secure; HttpOnly; SameSite=Lax
                                        )

                                    [x-request-id] => Array
                                        (
                                            [0] => 1a689b8f-d5ea-4dd2-8483-69f1ebc45768
                                        )

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

                                    [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] => Requests_Cookie_Jar Object
                        (
                            [cookies:protected] => Array
                                (
                                    [_production_companycam_session] => Requests_Cookie Object
                                        (
                                            [name] => _production_companycam_session
                                            [value] => 7hNiAECLTrih53IvuIHEiF83OJSuNozis7zZCg5cWbKU8HcVnTGEkc%2FKLWe5SIwPQHmONxnSkylnWYpNEFpXeH%2F17aV6t39h1F8YUVz0WobJVvLh7nWuL%2Ff42nf%2F%2F%2F2BtElFsF3HR2ztfgVKpjMldULGe2smjpspTsbmHvFL%2B4qLnci4W6M%2FRvWiEEE%2FQR9Tq3gkk0C5rlIVXU%2FFjLwAKD88VRQL0QiaQNem%2Bvb%2Be46hGMiJQZgQ%2Bj%2FkcurxcCXmiTYNRRcyiVd0SxY6--gDDhzxdMNuLoXtWq--1kVTUYKrzpvLDp55XI1X3A%3D%3D
                                            [attributes] => Requests_Utility_CaseInsensitiveDictionary Object
                                                (
                                                    [data:protected] => Array
                                                        (
                                                            [domain] => companycam.com
                                                            [path] => /
                                                            [expires] => 1665963613
                                                            [secure] => 1
                                                            [httponly] => 1
                                                            [samesite] => Lax
                                                        )

                                                )

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

                                            [reference_time] => 1664754013
                                        )

                                )

                        )

                )

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

)