Sign In

Token Function

Array
(
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
        (
            [data:protected] => Array
                (
                    [date] => Wed, 01 Feb 2023 20:08:11 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=NgdTT5p%2BVJfD5dsSHNy8w2Nibs2RCpvBE2rag9P7ivvSXd%2FN9BXZoU2Ff%2FQbwDwtqKeo%2BH%2Bv6AEl4r8Dd%2BSBNa7ly6rWpBh5gNsqEd8j0n5cx3cwiObnC1mT9rpzQlmwNlW%2B0XnUSc9LxSGGzF%2FlbyGql%2Blwft9fGIWmkfjYA5wrA6g1mAaJ%2Fv41FCpPaZSaay%2B1mXlk9%2B5Ek4oUnZYWYMAZNBB6q1jtIPtfg4bT3Iac%2BwR9wtRWFVz1lK7nV%2FVqyevjh%2B0%2BU6S6UeSn--mo2cEnw7X1PCSkkI--Tu0rCnfnDklKKzTlOPtL%2Bw%3D%3D; domain=.companycam.com; path=/; expires=Wed, 15 Feb 2023 20:08:11 GMT; secure; HttpOnly; SameSite=Lax
                    [x-request-id] => 9d08513b-5c04-4175-a77c-dcef92d1041c
                    [x-runtime] => 0.015013
                    [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] => NgdTT5p+VJfD5dsSHNy8w2Nibs2RCpvBE2rag9P7ivvSXd/N9BXZoU2Ff/QbwDwtqKeo+H+v6AEl4r8Dd+SBNa7ly6rWpBh5gNsqEd8j0n5cx3cwiObnC1mT9rpzQlmwNlW+0XnUSc9LxSGGzF/lbyGql+lwft9fGIWmkfjYA5wrA6g1mAaJ/v41FCpPaZSaay+1mXlk9+5Ek4oUnZYWYMAZNBB6q1jtIPtfg4bT3Iac+wR9wtRWFVz1lK7nV/Vqyevjh+0+U6S6UeSn--mo2cEnw7X1PCSkkI--Tu0rCnfnDklKKzTlOPtL+w==
                    [expires] => 1676491691
                    [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: Wed, 01 Feb 2023 20:08:11 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=NgdTT5p%2BVJfD5dsSHNy8w2Nibs2RCpvBE2rag9P7ivvSXd%2FN9BXZoU2Ff%2FQbwDwtqKeo%2BH%2Bv6AEl4r8Dd%2BSBNa7ly6rWpBh5gNsqEd8j0n5cx3cwiObnC1mT9rpzQlmwNlW%2B0XnUSc9LxSGGzF%2FlbyGql%2Blwft9fGIWmkfjYA5wrA6g1mAaJ%2Fv41FCpPaZSaay%2B1mXlk9%2B5Ek4oUnZYWYMAZNBB6q1jtIPtfg4bT3Iac%2BwR9wtRWFVz1lK7nV%2FVqyevjh%2B0%2BU6S6UeSn--mo2cEnw7X1PCSkkI--Tu0rCnfnDklKKzTlOPtL%2Bw%3D%3D; domain=.companycam.com; path=/; expires=Wed, 15 Feb 2023 20:08:11 GMT; secure; HttpOnly; SameSite=Lax
X-Request-Id: 9d08513b-5c04-4175-a77c-dcef92d1041c
X-Runtime: 0.015013
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] => Wed, 01 Feb 2023 20:08:11 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=NgdTT5p%2BVJfD5dsSHNy8w2Nibs2RCpvBE2rag9P7ivvSXd%2FN9BXZoU2Ff%2FQbwDwtqKeo%2BH%2Bv6AEl4r8Dd%2BSBNa7ly6rWpBh5gNsqEd8j0n5cx3cwiObnC1mT9rpzQlmwNlW%2B0XnUSc9LxSGGzF%2FlbyGql%2Blwft9fGIWmkfjYA5wrA6g1mAaJ%2Fv41FCpPaZSaay%2B1mXlk9%2B5Ek4oUnZYWYMAZNBB6q1jtIPtfg4bT3Iac%2BwR9wtRWFVz1lK7nV%2FVqyevjh%2B0%2BU6S6UeSn--mo2cEnw7X1PCSkkI--Tu0rCnfnDklKKzTlOPtL%2Bw%3D%3D; domain=.companycam.com; path=/; expires=Wed, 15 Feb 2023 20:08:11 GMT; secure; HttpOnly; SameSite=Lax
                                        )

                                    [x-request-id] => Array
                                        (
                                            [0] => 9d08513b-5c04-4175-a77c-dcef92d1041c
                                        )

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

                                    [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] => NgdTT5p%2BVJfD5dsSHNy8w2Nibs2RCpvBE2rag9P7ivvSXd%2FN9BXZoU2Ff%2FQbwDwtqKeo%2BH%2Bv6AEl4r8Dd%2BSBNa7ly6rWpBh5gNsqEd8j0n5cx3cwiObnC1mT9rpzQlmwNlW%2B0XnUSc9LxSGGzF%2FlbyGql%2Blwft9fGIWmkfjYA5wrA6g1mAaJ%2Fv41FCpPaZSaay%2B1mXlk9%2B5Ek4oUnZYWYMAZNBB6q1jtIPtfg4bT3Iac%2BwR9wtRWFVz1lK7nV%2FVqyevjh%2B0%2BU6S6UeSn--mo2cEnw7X1PCSkkI--Tu0rCnfnDklKKzTlOPtL%2Bw%3D%3D
                                            [attributes] => Requests_Utility_CaseInsensitiveDictionary Object
                                                (
                                                    [data:protected] => Array
                                                        (
                                                            [domain] => companycam.com
                                                            [path] => /
                                                            [expires] => 1676491691
                                                            [secure] => 1
                                                            [httponly] => 1
                                                            [samesite] => Lax
                                                        )

                                                )

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

                                            [reference_time] => 1675282091
                                        )

                                )

                        )

                )

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

)