alpha
Login
or
Join now
oyster.cafe
/
tangled-core
forked from
tangled.org/core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Monorepo for Tangled
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
tangled-core
/
appview
/
oauth
/
at
sl/wnrvrwyvrlzo
4 files
oppiliappan
orm: extract orm package from appview
6mo ago
a53d124e
consts.go
orm: extract orm package from appview includes query and migration helpers Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
handler.go
orm: extract orm package from appview includes query and migration helpers Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
oauth.go
appview/oauth: allow customizing client timeouts in xrpc reqs Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
store.go
appview/oauth: invalidate sessions if inactive for too long if sessions are inactive for too long, tokens will not be refreshed, and calling authorized xrpc methods will error out with invalid_grant. this changeset does two things: - tracks the last time a session was active using a new redis pair: `oauth:session_meta:<did>:<session>`, this is updated every time `SaveSession` is called - checks for session inactivity every time `GetSession` is called, and deletes the session if so this way, `GetSession` will never return a session with expired tokens. Signed-off-by: oppiliappan <me@oppi.li>
8 months ago