(ownerID, workspaceID uuid.UUID)
| 3079 | } |
| 3080 | |
| 3081 | func WorkspaceSessionTokenName(ownerID, workspaceID uuid.UUID) string { |
| 3082 | return fmt.Sprintf("%s_%s_session_token", ownerID, workspaceID) |
| 3083 | } |
| 3084 | |
| 3085 | func (s *server) regenerateSessionToken(ctx context.Context, user database.User, workspace database.Workspace) (string, error) { |
| 3086 | // NOTE(Cian): Once a workspace is claimed, there's no reason for the session token to be valid any longer. |
no outgoing calls