-
Notifications
You must be signed in to change notification settings - Fork 45
Feature/ait 131 session management #3016
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: AIT-129-AIT-Docs-release-branch
Are you sure you want to change the base?
Feature/ait 131 session management #3016
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
8c010c8 to
5014fd3
Compare
c124c9d to
5259a2b
Compare
a863e09 to
2f792d4
Compare
5259a2b to
bf0b24f
Compare
bf0b24f to
e93fbeb
Compare
GregHolmes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I've added some comments here. Some of them are for one section, but should be considered throughout the PR. Let me know what you think.
src/pages/docs/ai-transport/features/sessions-identity/identifying-users-and-agents.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/identifying-users-and-agents.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/identifying-users-and-agents.mdx
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/identifying-users-and-agents.mdx
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/online-status.mdx
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/online-status.mdx
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/online-status.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/index.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/resuming-sessions.mdx
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/identifying-users-and-agents.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/identifying-users-and-agents.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/identifying-users-and-agents.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/identifying-users-and-agents.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/identifying-users-and-agents.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/online-status.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/online-status.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/index.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/resuming-sessions.mdx
Outdated
Show resolved
Hide resolved
src/pages/docs/ai-transport/features/sessions-identity/resuming-sessions.mdx
Outdated
Show resolved
Hide resolved
ace2aba to
1517dd1
Compare
400eb09 to
f8056cb
Compare
Adds an overview page for a Sessions & Identity section which describes the channel-oriented session model and its benefits over the traditional connection-oriented model. Describes how identity relates to session management and how this works in the context of channel-oriented sessions. Shows how to use identified clients to assign a trusted identity to users and obtain this identity from the agent side. Shows how to use Ably capabilities to control which operations authenticated users can perform on which channels. Shows how to use authenticated user claims to associated a role or other attribute with a user. Updates the docs to describe how to handle authentication, capabilities, identity and roles/attributes for agents separately from end users. Describes how to use presence to mark users and agents as online/offline. Includes description of synthetic leaves in the event of abrupt disconnection. Describe how to subscribe to presence to see who is online, and take action when a user is offline across all devices. Add docs for resuming user and agent sessions, linking to hydration patterns for different token streaming approaches for user resumes and describing agent resume behaviour with message catch up.
86093bf to
a5cabbc
Compare
paddybyers
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Description
This PR adds a Sessions & Identity section to the AI Transport docs:
clientIdfor both users and agentspresence.enter()from single or multiple devicesChecklist