Commit Graph

45 Commits (master)

Author SHA1 Message Date
Rémi Bardon 9732b0f9d8 mod_tokenauth: Fix expiry lasting one second too much 11 months ago
Matthew Wild ad3ab533ed mod_tokenauth: Ignore invalid grants in storage that have no id 2 years ago
Kim Alvefur 5c773be087 mod_tokenauth: Include more details in debug logs 2 years ago
Kim Alvefur deaa31ddc0 mod_tokenauth: Fix saving grants after clearing expired tokens 2 years ago
Kim Alvefur f4c203502d mod_tokenauth: Set name/description on cleanup job 2 years ago
Kim Alvefur 5425a43ba6 mod_tokenauth: Save grant after removing expired tokens 2 years ago
Kim Alvefur d9043249de mod_tokenauth: Periodically clear out expired tokens and grants 2 years ago
Kim Alvefur 0cd9aba8e2 mod_tokenauth: Delete grants without tokens after period 2 years ago
Kim Alvefur 9d47a1a9ef mod_tokenauth: Clear expired tokens on grant retrieval 2 years ago
Kim Alvefur 4df58bc22f mod_tokenauth: Delete grants in the wrong formats on retrieval 2 years ago
Kim Alvefur d2cfe2fed7 mod_tokenauth: Fix revoking a single token without revoking whole grant 2 years ago
Kim Alvefur 1987a7411f plugins: Switch to :get_option_period() for time range options 2 years ago
Kim Alvefur e80cd078fd mod_tokenauth: Support selection of _no_ role at all 3 years ago
Kim Alvefur 98d5a50eb6 mod_tokenauth: Return error instead of session for token without role 3 years ago
Kim Alvefur a68169b93e mod_tokenauth: Fix parsing binary part of tokens 3 years ago
Kim Alvefur 816d0819f2 mod_tokenauth: Only check if expiry of expiring tokens 3 years ago
Matthew Wild fb35ec60a3 mod_tokenauth: Add API method to revoke a grant by id 3 years ago
Matthew Wild 24fa8c5d60 mod_tokenauth: Add API to inspect individual grants or all of a user's grants 3 years ago
Matthew Wild 2ed84fde94 mod_tokenauth: Move grant validation to a reusable function 3 years ago
Jonas Schäfer 124b4fa302 mod_tokenauth: fix traceback if password has never been changed 3 years ago
Matthew Wild ef5dfa900f mod_tokenauth: Fire events on grant creation and revocation 3 years ago
Kim Alvefur 41c23d5616 mod_tokenauth: Fix storage API mistake in revocation 3 years ago
Matthew Wild 9247a37b83 mod_tokenauth: Fix traceback when checking expiry of tokens with no expiry 3 years ago
Matthew Wild f4c1f3b353 mod_tokenauth: Refactor API to separate tokens and grants 3 years ago
Matthew Wild 8743ea29d5 mod_tokenauth: Support for creating sub-tokens 3 years ago
Matthew Wild 295c27aa99 mod_tokenauth: return error if storage of new token fails 3 years ago
Matthew Wild 51fea18a87 mod_tokenauth: Track last access time (last time a token was used) 3 years ago
Kim Alvefur 98922d54b1 plugins: Prefix module imports with prosody namespace 3 years ago
Kim Alvefur 14f896bf2d mod_tokenauth: Fix traceback in get_token_session() 3 years ago
Matthew Wild fc80e83b42 mod_tokenauth: Switch to new token format (invalidates existing tokens!) 3 years ago
Matthew Wild 5019bacff6 mod_tokenauth: Log error when token validation fails 3 years ago
Kim Alvefur 566a991f84 util.sasl.oauthbearer: Return username from callback instead using authzid (BC) 3 years ago
Kim Alvefur 7b7cad2b66 mod_tokenauth: Fix misplaced closing parenthesis 3 years ago
Matthew Wild 9e02d322d8 mod_tokenauth: Gracefully handle missing tokens 3 years ago
Matthew Wild b435f6d52a mod_tokenauth: Add SASL handler backend that can accept and verify tokens 3 years ago
Matthew Wild f3d152eb1b mod_tokenauth: Add some sanity checking of the new optional parameters 3 years ago
Matthew Wild a58a6d2317 mod_tokenauth: Add 'purpose' constraint 3 years ago
Matthew Wild 32c38bc249 mod_tokenauth: Allow attaching an arbitrary data table to a token 3 years ago
Matthew Wild 12fc0febf1 mod_tokenauth: Remove expired tokens from storage 3 years ago
Matthew Wild 36afd999b1 mod_tokenauth: Invalidate tokens issued before most recent password change 3 years ago
Matthew Wild f5768f63c9 mod_authz_internal, and more: New iteration of role API 3 years ago
Matthew Wild a0f2f9ee19 mod_tokenauth: New API that better fits how modules are using token auth 3 years ago
Matthew Wild 40bb67c03b mod_tokenauth: Track creation time of tokens 6 years ago
Kim Alvefur 92c65ed9af mod_tokenauth: Handle tokens issued to bare hosts (eg components) 6 years ago
Matthew Wild f6a365c970 mod_authtokens: Rename to mod_tokenauth for consistency with mod_saslauth 6 years ago
Matthew Wild bd69308bf1 mod_authtokens: New module for managing auth tokens 6 years ago