Skip to content

Latest commit

 

History

History
114 lines (96 loc) · 6.38 KB

File metadata and controls

114 lines (96 loc) · 6.38 KB

icon

CodeIgniter 4 Shield Snippets for VSCode

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Downloads Visual Studio Marketplace Rating GitHub Repo stars GitHub license

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()

Connect with me

GitHub followers X (formerly Twitter) Follow

Other Extensions

Changelog

See CHANGELOG.md

Authors

See also the list of contributors who participated in this project.

License

CodeIgniter 4 Shield Snippets for VSCode is licensed under the MIT License - see the MIT License for details.