Skip to content

Commit e7a5d68

Browse files
committed
Credentials.
1 parent 8218dd4 commit e7a5d68

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ $authenticatedResponse = $client->authenticate(
141141
```php
142142
<?php
143143

144+
// Create a set of Hawk credentials
145+
$credentials = new Dflydev\Hawk\Credentials\Credentials(
146+
'afe89a3x', // shared key
147+
'sha256', // default: sha256
148+
'12345' // identifier, default: null
149+
);
150+
144151
// Create a Hawk client
145152
$client = Dflydev\Hawk\Client\ClientBuilder::create()
146153
->build();

0 commit comments

Comments
 (0)