You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,12 @@ foreach (Log::get() AS $message) {
153
153
Log::clean();
154
154
```
155
155
156
+
## Authentication Helper
157
+
A simple authentication helper interface along with a default implementation is provided:
158
+
159
+
*[TgUtils\Auth\CredentialsProvider](https://github.com/technicalguru/php-utils/blob/src/TgUtils/Auth/CredentialsProvider.php) - Interface to provide username and password to other objects
160
+
*[TgUtils\Auth\DefaultCredentialsProvider](https://github.com/technicalguru/php-utils/blob/src/TgUtils/Auth/DefaultCredentialsProvider.php) - Simple default implementation of the interface
161
+
156
162
## Other Utils
157
163
There are some daily tasks that need to be done in applications. The `Utils` class addresses a few of them:
0 commit comments