Skip to content

Commit

Permalink
update: credentials name
Browse files Browse the repository at this point in the history
  • Loading branch information
jhowbhz committed Jun 22, 2022
1 parent 037eef6 commit 889af79
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion class/RequestDialogFlow.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function __construct() {
$root_directory = $_SERVER['DOCUMENT_ROOT'];

$credentialObject = [
'credentials' => $root_directory.DIRECTORY_SEPARATOR.'/apigratis-uueh-aa0a417a6c4b.json',
'credentials' => $root_directory.DIRECTORY_SEPARATOR.'/credentials.json',
'transportConfig' => [
'rest' => [
'httpHandler' => function (RequestInterface $request, array $options = []) use ($guzzleClient) {
Expand Down
12 changes: 12 additions & 0 deletions credentials.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"type": "service_account",
"project_id": "apigratis-uueh",
"private_key_id": "aa0a417a6c4b7973c9c16cd650bc3e38ed851362",
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCx4EZHHo2w/fKz\nO9Z4VoKI/7Ks5UodmksZVAK1S5qqHO73R3HvQJfrxYij+bXMuEkfNOidBrlZe01+\nrx6aoNV/hBYYzsScrc2HJslLMAig+m42WDP7wdxbsYU2wUVa+KlQNLfpqzCLejZ0\nEh0Gjizr4Kk+kn/7TTbKs6RuVuO1aCmtiEDG+B13iV7Uhe6LZlKivH67Fe3Y6JCS\nIEST3puqI329VOE4je75YV9+iSitB3jPv0RvpCGxtmrVWCNYg118gYgWk4Qfrsw+\nGHbSciDreTLkg9Vv/3rlvjGfIN6lLx2mgpVKEJwdGWTfefsFt4GYVshxmL/0BI9Z\nu8QKa+jHAgMBAAECggEAK4/TZkNzS+9FauOyqJH3Mfn9Fh6pQgqxbaiHaUL0w8iG\nNYUHwCI/knwz9ISJI3PWZJAej6Y/6kwqNGZKxm+xGaONjdHFkOF3viufjIxc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y1XrDeColVr3LUtga2nI7I9wTpP6VjTyuwFYx0P1xiv\nklOxg+YE0LG728TLUyS4oA==\n-----END PRIVATE KEY-----\n",
"client_email": "[email protected]",
"client_id": "109399749205914445914",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/dialogflow%40apigratis-uueh.iam.gserviceaccount.com"
}

0 comments on commit 889af79

Please sign in to comment.