Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manuelgil/vscode-codeigniter4-shield-snippets
CodeIgniter 4 Shield - snippets & autocomplete for VSCode editor
https://github.com/manuelgil/vscode-codeigniter4-shield-snippets
codeigniter4 codeigniter4-auth snippets vscode vscode-extension
Last synced: about 1 month ago
JSON representation
CodeIgniter 4 Shield - snippets & autocomplete for VSCode editor
- Host: GitHub
- URL: https://github.com/manuelgil/vscode-codeigniter4-shield-snippets
- Owner: ManuelGil
- License: mit
- Created: 2023-12-01T18:29:01.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-12-01T19:51:25.000Z (12 months ago)
- Last Synced: 2024-10-14T00:20:13.756Z (about 1 month ago)
- Topics: codeigniter4, codeigniter4-auth, snippets, vscode, vscode-extension
- Homepage: https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-shield-snippets
- Size: 60.5 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
![icon](https://raw.githubusercontent.com/ManuelGil/vscode-codeigniter4-shield-snippets/main/icon.png)
# CodeIgniter 4 Shield Snippets for VSCode
[![Latest Release](https://img.shields.io/visual-studio-marketplace/v/imgildev.vscode-codeigniter4-shield-snippets?style=flat&label=VS%20Marketplace&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-shield-snippets)
[![GitHub license](https://img.shields.io/github/license/ManuelGil/vscode-codeigniter4-shield-snippets)]()CodeIgniter 4 Shield - snippets & autocomplete for VSCode editor.
## Requirements
- CodeIgniter 4.3.0 or later
- VSCode 1.46.0 or later## Usage
| Snippet | Purpose |
| --- | --- |
| ci:auth:setAuthenticator | auth()->setAuthenticator() |
| ci:auth:getAuthenticator | auth()->getAuthenticator() |
| ci:auth:user | auth()->user() |
| ci:auth:id | auth()->id() |
| ci:auth:authenticate | auth()->authenticate() |
| ci:auth:routes | auth()->routes() |
| ci:auth:getProvider | auth()->getProvider() |
| ci:auth:attempt | auth()->attempt() |
| ci:auth:check | auth()->check() |
| ci:auth:checkAction | auth()->checkAction() |
| ci:auth:forget | auth()->forget() |
| ci:auth:getUser | auth()->getUser() |
| ci:auth:loggedIn | auth()->loggedIn() |
| ci:auth:login | auth()->login() |
| ci:auth:loginById | auth()->loginById() |
| ci:auth:logout | auth()->logout() |
| ci:auth:recordActiveDate | auth()->recordActiveDate() |
| ci:auth:remember | auth()->remember() |
| ci:auth:generateAccessToken | generateAccessToken() |
| ci:auth:revokeAccessToken | revokeAccessToken() |
| ci:auth:revokeAccessTokenBySecret | revokeAccessTokenBySecret() |
| ci:auth:revokeAllAccessTokens | revokeAllAccessTokens() |
| ci:auth:accessTokens | accessTokens() |
| ci:auth:getAccessToken | getAccessToken() |
| ci:auth:getAccessTokenById | getAccessTokenById() |
| ci:auth:tokenCan | tokenCan() |
| ci:auth:tokenCant | tokenCant() |
| ci:auth:currentAccessToken | currentAccessToken() |
| ci:auth:setAccessToken | setAccessToken() |
| ci:auth:generateHmacToken | generateHmacToken() |
| ci:auth:revokeHmacToken | revokeHmacToken() |
| ci:auth:revokeAllHmacTokens | revokeAllHmacTokens() |
| ci:auth:hmacTokens | hmacTokens() |
| ci:auth:getHmacToken | getHmacToken() |
| ci:auth:getHmacTokenById | getHmacTokenById() |
| ci:auth:hmacTokenCan | hmacTokenCan() |
| ci:auth:hmacTokenCant | hmacTokenCant() |
| ci:auth:currentHmacToken | currentHmacToken() |
| ci:auth:setHmacToken | setHmacToken() |
| ci:auth:addGroup | addGroup() |
| ci:auth:removeGroup | removeGroup() |
| ci:auth:syncGroups | syncGroups() |
| ci:auth:getGroups | getGroups() |
| ci:auth:getPermissions | getPermissions() |
| ci:auth:addPermission | addPermission() |
| ci:auth:removePermission | removePermission() |
| ci:auth:syncPermissions | syncPermissions() |
| ci:auth:hasPermission | hasPermission() |
| ci:auth:can | can() |
| ci:auth:inGroup | inGroup() |
| ci:auth:isActivated | $user->isActivated() |
| ci:auth:isNotActivated | $user->isNotActivated() |
| ci:auth:activate | $user->activate() |
| ci:auth:deactivate | $user->deactivate() |
| ci:auth:isBanned | $user->isBanned() |
| ci:auth:ban | $user->ban() |
| ci:auth:unBan | $user->unBan() |
| ci:auth:getBanMessage | $user->getBanMessage() |
| ci:auth:requiresPasswordReset | $user->requiresPasswordReset() |
| ci:auth:forcePasswordReset | $user->forcePasswordReset() |
| ci:auth:undoForcePasswordReset | $user->undoForcePasswordReset() |## Other Repositories
- [CodeIgniter 4 Snippets for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-shield-snippets)
- [CodeIgniter 4 Spark for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-shield-spark)
- [CodeIgniter 4 Essential Extension Pack for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-shield-pack)
- [NestJS Snippets for VSCode Editor](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-snippets-extension)
- [Moodle Pack](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-moodle-snippets)
- [Mustache Template Engine - Snippets & Autocomplete](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-mustache-snippets)## Community
- CodeIgniter Hispano [CiHispano](https://www.cihispano.org/)
## Changelog
See [CHANGELOG.md](./CHANGELOG.md)
## Authors
- **Manuel Gil** - _Owner_ - [ManuelGil](https://github.com/ManuelGil)
See also the list of [contributors](https://github.com/ManuelGil/vscode-codeigniter4-shield-snippets/contributors) who participated in this project.
## License
CodeIgniter 4 Shield Snippets for VSCode is licensed under the MIT License - see the [MIT License](https://opensource.org/licenses/MIT) for details.